Sharing & Exporting
Pyxen gives you two ways to get your game out into the world: Instant Share for quick sharing, and Web Export for full control.
Instant Share
Tap Share in the export sheet and Pyxen builds your game, uploads it, and gives you a playable link on play.pyxen.com. A QR code is displayed and the link is copied to your clipboard automatically.
- No account needed — just tap and share
- Anyone with the link can play your game in their browser
- Links expire after 7 days
- No tracking, no analytics — just your game
This is the fastest way to share what you’ve made.
Web Export
For full control over hosting, Pyxen can also export your game as a standalone web archive. The exported game runs in any modern browser — no plugins, no app required.
What you get
When you export a project, Pyxen produces a folder containing:
- An HTML file
- A WebAssembly binary (
pyxen.wasm) - A JavaScript loader (
pyxen.js) - Your game’s code and assets
This is a self-contained package. Open the HTML file and the game runs.
How it works
The web export uses the same C++ engine as the iPad and Mac app, compiled to WebAssembly via Emscripten. Your Python code runs in the same embedded MicroPython runtime. The renderer uses WebGL instead of Metal, but the behavior is identical.
This means your game plays the same on the web as it does on iPad or Mac — same frame rate, same collision, same timing.
Sharing your exported game
Once exported, you can host your game anywhere:
- itch.io — upload the folder as an HTML game. itch.io handles hosting and embedding.
- Self-hosting — put the files on any web server or static hosting (Netlify, GitHub Pages, etc.)
- Direct sharing — zip the folder and send it. The recipient just opens the HTML file.
Limitations
The web export is faithful to the native app experience, with a few differences:
- Touch input is not available in browsers (mouse and keyboard work)
- Gamepad support depends on the browser’s Gamepad API
- Audio may require a user interaction before it can start (this is a browser restriction, not a Pyxen limitation)
- Performance depends on the user’s browser and device