Godot HTML5 Export
Prepare a single-threaded Godot 4.3+ Web export, package it as a ZIP for RetiPie, and use the Godot SDK wrapper for lifecycle, analytics, and leaderboards.
The RetiPie Godot addon calls the RetiPie runtime (window.retipie) from GDScript on Web exports. It's published in RetiPie/retipie-sdk.
Requirements
- Godot 4.3 or newer. Version 1.0.0 was tested with Godot 4.3 and 4.7.2.
- A Web export with Thread Support turned off.
- Game assets bundled with the exported files.
- No third-party ad or tracking scripts inside the exported game.
Godot 4.0–4.2 can't export without threads. Threaded exports need Web Workers and SharedArrayBuffer, and the game runtime blocks both, so these exports don't start on RetiPie.
Export flow
- Open Project → Export and add or select the Web preset.
- Turn off Variant → Thread Support.
- Export the project with the file name
index.html, and confirm the folder contains it and the runtime files. - Package the export as a ZIP with
index.htmlat the root, or inside one shared root folder. - Upload the ZIP through RetiPie Slice.
- Try the game in the Slice preview before you submit it for review.
SDK wrapper
Download retipie-godot-1.0.0.zip from Releases, copy its addons/retipie folder into your project so it's at res://addons/retipie/, then enable Project → Project Settings → Plugins → RetiPie SDK. This adds the RetiPie autoload.
The Godot addon exposes a RetiPie autoload singleton that calls the RetiPie runtime on Web exports. It is a wrapper over the same runtime surface documented in SDK Overview.
Use the wrapper for lifecycle, analytics, and leaderboards instead of reaching directly into browser JavaScript throughout your game code.
Godot Web exports compile to WebAssembly, which RetiPie supports. Keep the export self-contained — external resources and dynamically loaded scripts are blocked at runtime. See Game Requirements for the practical constraints.
Screen Size and Fit
Make your HTML5 game fill every phone's game area, see the two sizes RetiPie checks at upload, what Fit to screen does, and engine settings to use.
Unity WebGL Export
Prepare a Unity WebGL build for RetiPie with working Player Settings, package it as a ZIP, and call the Unity SDK from C# for lifecycle and leaderboards.