Technical requirements
Before starting integration, ensure your app meets Jest’s technical requirements.
Web build
Since Jest is a web-based platform, all published apps and games must be playable in a web browser. The steps for creating a web build depend on your app’s technology stack, but most game engines support exporting to WebGL or WebGPU. Refer to your engine’s documentation for engine-specific instructions.
Mobile-friendly
Mobile phones are the primary devices used to play games and apps on Jest. Your app must be optimized for mobile, including support for touch input, a responsive layout that adapts to different screen sizes, and performance suitable for a range of mobile hardware.
If you add vibration or haptic feedback, see the Haptics guide.
Screen size and aspect ratio
Your app runs in a frame whose size changes with the device, the browser, and whether the user installed Jest as an app. Don't target a fixed resolution or aspect ratio.
- Fill the whole frame. Size your canvas to the full width and height of the window, and lay it out again when the window resizes. Never letterbox with black bars.
- Design at 9:16 (1080×1920) for portrait.
- Keep all UI inside a safe zone that works from 3:4 (wide) to 9:21 (tall).
- Let background art extend past the safe zone so any extra space shows more of your scene.
- Anchor UI to the edges of the frame (top bar to the top, action buttons to the bottom), not to the background art.
- Preview your app on popular devices with the Simulator's device picker. Check the tallest (Galaxy Z Flip 7) and widest (Galaxy Z Fold 7, iPhone SE) phones, in both the browser and Installed app, then check on a real iPhone and Android phone.
Optimal loading times
Web-based games do not have an explicit installation phase, so the first run includes downloading all required assets and starting the app. To reduce user churn, minimize your game’s initial load time.
Minimize build size
- Use high compression settings for assets where possible (for example,
.webpor.avifimages and mono audio for sound effects). - Use appropriate dimensions for all assets.
Optimize loading sequence
Load only the assets required for the initial scene to make the app interactive as quickly as possible.
For example, in a match-three game that starts in the main menu, load only main-menu assets on startup. Once the main menu is shown, asynchronously load assets required for gameplay.
Load assets from relative paths
Each build uploaded to Jest is hosted on a CDN subdomain and within a subdirectory. All asset paths must be relative to index.html, for example assets/myImage.jpg. Do not use absolute paths such as /assets/myImage.jpg.
Do not rely on URL parameters or location
To pass custom data into your app, use the entry payload mechanism. entryPayload is a JSON-encoded parameter set on the app page.
Arbitrary URL parameters are not available on the Jest platform, except for marketing-related UTM tags. Additionally, the URL exposed via window.location is not guaranteed to be consistent and should not be relied on.