Skip to content

Contributing

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

Contributing

Contributions are very welcome — bug reports, feature ideas, documentation, sample scenes, packages or code.

Workflow

  1. Fork the repository.
  2. Create a feature branch: git checkout -b feature/my-feature
  3. Commit your changes: git commit -m "Add my feature"
  4. Push the branch: git push origin feature/my-feature
  5. Open a Pull Request.

Reporting bugs

Please include:

  • your OS and version
  • Python version (python --version)
  • GPU and driver version
  • Heaven3D version (python Heaven3D.py --version)
  • the console output or traceback, and the steps to reproduce

Logs of sessions started from the Hub are in <project>/.heaven3d_logs/.

Working on the code

  • The engine is one file, Heaven3D.py. Architecture maps its sections.
  • Heaven3D_runtime.py is the runtime counterpart used by exported games; changes that affect gameplay usually need to land in both.
  • Keep optional dependencies optional: Numba paths must stay bit-identical to the pure-Python fallback.
  • New gameplay features are often best shipped as a package — see Writing Packages.
  • Run the relevant Testing suites before opening a PR.

Building the standalone editions

# on Linux, with curl, msitools, mingw-w64, binutils, uv and python3.12
python3.12 tools/standalone/build_standalone.py --out dist

This downloads the official python.org Windows Python and a conda-forge Linux Python, installs the engine's libraries into each, compiles the logo-stamped Windows launchers (launcher.c + launcher.rc) and writes dist/Heaven3D-<version>-Windows.zip and dist/Heaven3D-<version>-Linux.zip.

Writing documentation

  • Tutorials for the Hub's Learn page live in tutorials/ — see Tutorials.
  • Package guides live in docs/.
  • This wiki can be edited by collaborators on GitHub.

Support development

Heaven3D is free and open source. If it has helped you, you can support development with a Bitcoin donation — the address is in the README.

License

By contributing you agree that your contributions are licensed under the Apache License 2.0, like the rest of Heaven3D.

Clone this wiki locally