How do I put a game from another engine on the web?
Each engine below exports a game for the web as one HTML file or a folder of files, which goes on a web server or on itch.io, and then on Foundplay as a free listing. For Twine, Ren'Py, RPG Maker MZ, Flutter, KAPLAY and Bevy, this guide gives the export command or menu from the engine's own docs, the files it writes and where those docs say to put them. Test the hosted page, not a file opened from your disk.
Checked November 23, 2026 against the Twine reference, the Twine Cookbook on itch.io, Ren'Py's web docs, RPG Maker MZ's Output Formats help, Flutter's web build docs, Flutter's web deploy docs, KAPLAY's install guide, KAPLAY's publishing guide, Bevy's examples README, Bevy's example HTML loader and itch.io's HTML5 upload docs. Written by Foundplay, a game discovery platform for free browser games. Foundplay also sells Boost, a paid promotion for games, and this guide says where it fits. The advice before that part works without it. All guides
Twine: Publish to File
In the Story Library, select the story and choose Publish to File from the Build tab, or choose the same command in the Story Map. The Twine reference says that creates one HTML file that opens in a web browser, and that you can publish it anywhere an HTML file can be published.
For itch.io, the Twine Cookbook says to set the kind of project to HTML and tick This file will be played in the browser. A single HTML file can be uploaded by itself; if the story uses other files such as images, name the HTML file index.html and upload them together.
Ren'Py: Build Web Application
In the Ren'Py launcher, the Web section, which Ren'Py's docs mark as beta, has Build Web Application. It writes a web.zip with the whole game and a folder of the same files. The docs say the game has to be hosted by a web server, not opened from the folder.
- For itch.io and similar sites, upload
web.zip. For your own site, upload every file from the web folder. - Ren'Py's docs say networking and threads aren't supported on the web, and that the web version needs a recent browser with many modern web features. Test a build before you promise a web version.
RPG Maker MZ: deploy for web browsers
RPG Maker MZ's help says deployment exports a package for Windows, macOS or web browsers. Choose web browsers, and tick Exclude Unused Files to leave unused images, audio and effects out of the folder. The help says the game runs in a browser once you upload the exported project folder to a web server.
It lists what players need: a browser with HTML5 Canvas, the Web Audio API and WebGL, and on phone browsers iOS 12 or higher or Android 8 or higher.
Flutter: flutter build web
Run flutter build web. Flutter's docs say it fills the project's build/web folder with the built files, including an assets folder that has to be served with them, and that flutter build web --wasm builds with WebAssembly instead.
Flutter's docs suggest checking the build with a local web server, for example python -m http.server 8000, and then uploading the folder to a hosting service. They name Firebase Hosting, GitHub Pages and Google Cloud Hosting among the possibilities, and say there are many others.
KAPLAY: create, run and zip
KAPLAY calls itself a JavaScript and TypeScript game library for making games for the web. Its install guide starts a project with npx create-kaplay myGame and runs it with npm run dev in the new folder.
Its publishing guide says to keep your public and build folders as one folder, so that a ZIP of it holds all your assets and code together. On itch.io you upload that ZIP, or a single index.html if the game is one file. The guide covers Newgrounds too.
Bevy: build for wasm32
Bevy is a game engine in Rust that lists the web among its platforms. Its examples README builds an example for the web in three steps: add the target with rustup target add wasm32-unknown-unknown, build with cargo build --release --example <name> --target wasm32-unknown-unknown, then run wasm-bindgen --out-name wasm_example --out-dir examples/wasm/target --target web target/wasm32-unknown-unknown/release/examples/<name>.wasm (installed with cargo install wasm-bindgen-cli). The generated JavaScript bindings and Wasm file are only part of the web build, not its HTML loader.
The example keeps its HTML loader at examples/wasm/index.html, which imports ./target/wasm_example.js. Include that loader, the generated JavaScript and Wasm bindings, and the actual asset files at the relative paths the game requests. The README serves the complete parent webroot with python3 -m http.server --directory examples/wasm, not just the bindgen output directory. Test that complete webroot, then upload or ZIP its contents with index.html at the top. For your own project, use a loader that matches your generated bindings and asset paths.
The README adds that the webgpu feature overrides webgl2, and that a WebGPU build won't run in browsers without WebGPU, so keep WebGL 2 if you want the widest reach.
Upload it and list it
- itch.io's docs say a web game is a ZIP with
index.htmlin it, or a single self-contained HTML file, and limit a ZIP to 1,000 files and 500MB once extracted. Its server is case-sensitive, so keep file names exactly as the engine wrote them. - Your own site works too: upload the folder over https, with
index.htmlat the top. The upload comparison lists free hosts with the limits from their own docs. - Open the hosted page in a private window and on a phone, then list the play link for free on Foundplay.
How Foundplay can help
Foundplay is a game discovery platform for free browser games. It doesn't host games: every listing sends players to the creator's own site.
The free listing
Listing a game is free. Paste the link where people play it at /submit, check the details and publish. The game goes live right away, and Play sends players to your own site.
Paste the address of your hosted game or your itch.io page. Foundplay fills in the title, description and cover from the page, and Play sends players there. Say in the form whether the game works on phones.
Boost, the paid option
Foundplay sells Boost, so it has a reason to want you to buy it. The free listing works without it.
The plan called Boost ($10 for 30 plays in 5 days) shows whether strangers press Play on your cover and how the web build runs on their devices. Check your own analytics for who stayed, since Foundplay counts the click on Play.
The Boost plan costs $10 for 30 plays in 5 days, which works out to 33¢ a play. Where it shows: Your genre's game pages, the top of matching searches and surprise me picks.
A play is a counted click on Play from a sponsored spot, the same way public play counts work: once per game per network a day. Every sponsored spot is labelled Sponsored, and the share of plays not delivered by the end of the plan's days is refunded automatically. Foundplay can't see what players do after the click. Fan games and copies of commercial games can't be boosted. A game has to be listed before it can be boosted. List it first, or start a Boost and add your play link there, and Foundplay lists the game for free as part of the same flow.
For scale, Foundplay's own visit counter shows an average of 3,000+ visitors a day over the last three full days, and 3,500+ games are listed. It updates every few minutes.
More free ways to find players are in the full guide.
Questions
- How do I publish a Twine story to the web?
- Choose Publish to File from the Build tab. The Twine reference says that creates an HTML file you can publish anywhere an HTML file can go, and the Twine Cookbook says itch.io takes it as an HTML project played in the browser.
- Can I put a Ren'Py game on itch.io?
- Yes. Ren'Py's docs say to use Build Web Application in the launcher's Web section, marked beta, and upload the
web.zipit writes. Networking and threads aren't supported in the web version. - How do I build a Flutter game for the web?
- Run
flutter build web, or add--wasmfor a WebAssembly build. Flutter's docs say the files land inbuild/web, with anassetsfolder that has to be served with them. - Does an RPG Maker MZ game run in a browser?
- Yes. RPG Maker MZ's help says to deploy for web browsers and upload the exported project folder to a web server. Players need a browser with WebGL, and on phones iOS 12 or Android 8 or higher.
- Do I need a web server to test a web export?
- Ren'Py's docs and RPG Maker MZ's help say the game needs a web server, Flutter's docs suggest one such as
python -m http.server 8000, and Bevy's examples serve the folder the same way. A file opened from your disk is not the same test.