Skip to content

Exporting Games

S.U.P.E edited this page Nov 6, 2026 · 1 revision

Exporting Games

Heaven3D turns a project into a stand-alone game for Windows, Linux and macOS. Every build carries its own Python and libraries, so your players install nothing — they unzip and double-click.

From the Hub

  1. Press Export on your project (or ⋯ → Export game…).
  2. Type the game's name. It becomes the window title and the program's name.
  3. Turn on Windows, Linux and/or macOS.
  4. Pick the window size and where the build should be saved.
  5. Optional: Choose image… under Game icon and pick a .png, .jpg or .bmp. It becomes the .exe icon, the Mac app icon, the window and taskbar icon and the Linux menu icon. Use Heaven3D logo switches back.
  6. Press Export and wait about a minute.

The editor toolbar's Export button does the same: it saves the project and builds every available platform into the Heaven3D Builds folder.

What you get

My Game-Windows/                     My Game-Linux/
├── My Game.exe   ← double-click     ├── My Game   ← ./My Game
├── game/         your project       ├── game/
├── engine/       Heaven3D + Python  ├── engine/
└── saves/        player saves       ├── saves/
                                     └── icon.png + install-shortcut.sh

My Game-macOS/
└── My Game.app   ← double-click (game, engine and Python are inside the app)

…plus a ready-to-share .zip of each folder.

  • Windows: double-click My Game.exe.
  • Linux: double-click My Game or run ./My Game; install-shortcut.sh adds it to the app menu.
  • macOS: double-click My Game.app or drag it to Applications. Players unlock it once with right-click → Open → Open (the README.txt next to the app explains this).

Every game starts with a short Heaven3D splash, and players can press Esc for the pause menu (Resume, Sound volume, Exit).

Which edition exports what

Exporting needs a standalone edition, because it carries the game players in runtime/.

You run… Can export
Windows or Linux edition Windows and Linux
macOS edition macOS
macOS edition + Export-Players add-on in runtime/players macOS, Windows and Linux

A game built with the Intel macOS edition runs on every Mac (through Rosetta 2 on Apple Silicon); one built with the Apple Silicon edition runs on Apple Silicon Macs.

From the command line

python Heaven3D.py --export-game "path/to/My Game" --targets windows,linux,macos --out builds --icon my_logo.png
Option Default
--export-game PATH (required) the project folder
--targets current platform comma-separated: windows, linux, macos
--out DIR (required) output folder
--name NAME project name game name
--width / --height 1600 / 900 window size
--icon FILE Heaven3D logo .png, .jpg or .bmp
--no-zip skip the .zip files

What goes into the build

  • the project folder (scene, assets/, scripts/, project packages)
  • the engine and a matching Python with all libraries
  • an empty saves/ folder

Only packages inside the project's packages/ folder are included — use Add to project for every package your game needs. See Packages.

Before you release

  • Play the project from the Hub (▶ Play) — that's exactly what players get.
  • Test the .zip on a second computer.
  • Make sure every model, texture and sound lives inside the project (saving does this for you — see Portable Projects and Save Games).

Clone this wiki locally