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.

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

Export

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

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 the iPad and Mac app, 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, 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 put your game anywhere a web page goes:

Limitations

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