Sharing & Exporting

Pyxen gives you two ways to get your game out into the world: Instant Share for quick sharing, and Export for full control: a web build, a Windows build, or the project itself.

Instant Share

In the narrowest iPad window, Share is in the toolbar’s ⋯ menu. Choose Share in the toolbar (or File › Share…): the sheet opens on Instant Share. Choose Share there and Pyxen builds your game, uploads it, and gives you a playable link on play.pyxen.com. The link is copied to your clipboard; Open plays it in your browser, and Share Link… sends it by Messages, Mail, AirDrop or another app.

On Windows, Share works the same way: Share Link… opens Windows’ share panel, to send the link by Mail, Nearby Sharing or another app.

This is the fastest way to share what you’ve made.

Export

Choose File › Export… (Shift+Cmd+E) and pick what to make:

On Windows, File › Export has For the Web… (Ctrl+Shift+E) and For Windows…: each opens this sheet on its build. The project itself is the .pyxen you saved: File › Show in File Explorer finds it.

While you’re trying Pyxen, web builds carry the “Made with Pyxen” watermark. The .pyxen doesn’t.

What a web build holds

The ZIP holds:

It is a self-contained package: put its files on a web server and open the page.

How it works

The web export uses the same C++ engine as Pyxen in your browser and on Mac, Windows and iPad, compiled to WebAssembly via Emscripten. Your code runs on the same runtime, Pyxen Script, a Python dialect made for games (see the scripting reference). The renderer uses WebGL instead of Metal or Direct3D, but the behavior is identical.

This means your game plays the same on the web as it does in Pyxen, wherever you make it — same frame rate, same collision, same timing.

Sharing your exported game

Once exported, you can put your game anywhere a web page goes:

Limitations

The web export is faithful to the native app experience, with a few differences: