Open source physics-based sandbox game. https://principia-web.se
  • C++ 69.6%
  • C 24.5%
  • Java 5.4%
  • GLSL 0.1%
  • CMake 0.1%
Find a file
ROllerozxa 6fb9160601 Rework main entrypoint to use SDL's callbacks instead
Means no special workaround needed on Emscripten to manage the main loop, among other things...
2026-06-19 16:35:33 +02:00
.github Hopefully fix Linux CI 2026-06-18 19:30:43 +02:00
android Fix SDL3 Android build 2026-06-18 00:28:38 +02:00
cmake Fix up CI builds to build with SDL3 2026-06-18 00:04:03 +02:00
data Update SDL_image to latest in upstream 2026-06-17 20:10:28 +02:00
data-src Don't set executable bit on level files 2024-03-11 23:32:27 +01:00
fastlane/metadata/android/en-US Add fastlane changelog for upcoming version 2026-06-06 13:03:35 +02:00
lib Use filename extensions for determining image format rather than magic 2026-06-19 00:13:04 +02:00
packaging Use SDL_SetWindowFillDocument on Emscripten to fill browser window 2026-06-18 00:05:25 +02:00
src Rework main entrypoint to use SDL's callbacks instead 2026-06-19 16:35:33 +02:00
utils Fix building utils 2026-06-19 00:31:59 +02:00
.gitattributes Move in-tree libraries to lib/, move main codebase into root of src/ 2025-03-05 20:23:30 +01:00
.gitignore Clean out some old notes in doc, move some Doxygen stuff 2025-03-04 23:02:41 +01:00
.gitmodules Rename Android project folder to just android 2025-03-04 23:17:47 +01:00
AUTHORS.md [ci skip] meta file fixups, merge build instructions with wiki 2024-04-26 00:02:12 +02:00
CMakeLists.txt Turn some stray C source files in the main src directory into C++ 2026-06-18 21:58:57 +02:00
Doxyfile Move in-tree libraries to lib/, move main codebase into root of src/ 2025-03-05 20:23:30 +01:00
LICENSE.md First public version, compilation on Windows (mingw64) verified 2022-08-06 14:06:22 +02:00
README.md [ci skip] Update Mastodon links 2025-07-01 16:06:57 +02:00
THANKS.md [ci skip] meta file fixups, merge build instructions with wiki 2024-04-26 00:02:12 +02:00

Principia Open Source Project

Principia

Principia is a sandbox physics game originally released in November 2013. It is the successor to the 2011 Android hit game "Apparatus". In August of 2022 Principia was released as open source, and is now being developed as an open source project by the Principia community.

Principia runs on anything with a recent enough version of Windows, Linux or Android. Experimental ports to Haiku OS and macOS are also available, and work to port Principia to other platforms are very welcome.

Binary builds

Release builds builds of Principia for Windows, Android and Linux are available on the download page.

There are also nightly build artifacts that get automatically built by GitHub Actions CI on each commit and are available for download, see Nightly Builds on the wiki.

Getting involved

Feel free to fork this project and send in your pull requests. This is a community project and the community decides how the project evolves.

For a brief overview on how to get started with contributing to the game, see the Contributing to the Game page on the wiki.

Also be sure to follow @principia on Mastodon for more updates about the project.

Building from source

See Compiling Principia on the wiki for building from source on supported platforms.

(You can also view the plaintext Markdown document here)

License

See LICENSE.md