Skip to content

SC-SGS/RocketGame

Repository files navigation

RocketGame

header A space-themed collect-a-thon game developed at the Ferienakademie 2025 for Course 5: "Let's Play! Simulated Physics for Games". Made with Godot 4.5 in collaboration with TUM, FAU and Universität Stuttgart.

Note

This is a copy of the repository, which was originally hosted on a private GitLab instance. For the last version before the end of the Ferienakademie, check out commit c9ec0ec.

Folder Structure

docker/         : Dockerfiles for compiling C++ bindings and final game
godot_game/     : overarching game folder
 - doc_classes/ : own GDExtension C++ class documentation
 - project/     : Godot project folder
 - src/         : own GDExtension C++ source code
 - godot-cpp/   : submodule, checked out to 4.5

Building

You can either build the game manually or use the existing Docker containers.

IMPORTANT: You must first initialize the godot-cpp submodule using git submodule update --init.

Building with Docker

  1. Build the C++ bindings: docker compose run build-cpp-{linux,windows,web}-{debug,release}
  2. Build the executable: docker compose run build-{linux,windows,web}-{debug,release}

Building manually

  1. Build the C++ bindings: cd godot_game && scons platform={linux,windows,web} target=template_{debug,release}
  2. Build the executable: cd godot_game/project && mkdir -p build && rm -rf build/* && godot --headless --verbose --export-{release,debug} {Linux, Windows Desktop, Web} build/rocketgame[.debug].{x86_64, exe, html}

Executable Location

The executable can be found under godot_game/project/build/.

  • Run sh godot_game/project/build/rocketgame.debug.sh for the debug version.
  • Run ./godot_game/project/build/rocketgame.debug.x86_64 for the release version.

Editing with Godot

Open godot_game/project/project.godot in the Godot editor.

Warning

This game was made using Godot 4.5. It may be incompatible with future versions.

Caveats

  • When opening the game in the Godot editor, you must have debug libraries compiled. This is why, when compiling the release C++ bindings in Docker, both the debug and release libraries are compiled.
  • If Godot crashes when opening / compiling the project for the first file with a p_index error, just open Godot / run the command again, unchanged.

About

Space collect-a-thon game developed at Ferienakademie 2025.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors