Skip to content

Part of a project to evaluate the Rust bindings for the Godot Engine (gdext)

License

Notifications You must be signed in to change notification settings

franziskusz/dodge-gds

Repository files navigation

DodgeGDS (gdext evaluation project)

This is part of a project to evaluate the godot-rust bindings gdext.

It is derived from the game featured in the "Your first 2D game" tutorial in the godot documentation.

Language: GDScript

Renderer: Vulkan Mobile

The evaluation project consists of four Repositories:

Setup

If the prebuild executables should not work for you, you can build the project from source with the following steps:

  1. Download Godot 4.2
  2. Clone this repository by opening a shell and entering:
    • git clone git@github.com:franziskusz/dodge-gds.git (requires having a ssh key setup)
    • or git clone https://github.com/franziskusz/dodge-gds.git
  3. Change to the just cloned repository directory with cd dodge-gds (Unix)
  4. Open the dodge-the-creeps/godot/project.godot file by double clicking it.
  5. With entering command b or clicking the triangle on the top right you can run the project within the editor in debug mode
  6. In the menu select Project -> Export... to export
  7. Select Add.. at the top/center to add a Preset for your Operating System (This might require an additional autmatic download)
  8. Select Export Project at the bottom and chose a name and target directory, deselect Export With Debug and click on Save

Notes

  • I am new to Godot and Rust. This whole project is also a learning experience for me. If the way some things are implemented gives you headaches, I apologize. I am open for any kind of criticism.
  • The additional calculation workload is based on godot-rust-benchmark
  • This applications writes performance logs to timestamped .csv files within the /app_userdata/DodgeGDS/stats directory. See godot file paths for details. This directory will never get cleared automatically!

Screenshots

main_menu run

Copying

art/background, art/crab, art/creep1, art/creep2, art/creep3 Copyright © 2024 franziskusz, CC BY-NC 4.0: Attribution-NonCommercial

art/House In a Forest Loop.ogg Copyright © 2012 HorrorPen, CC-BY 3.0: Attribution. Source: https://opengameart.org/content/loop-house-in-a-forest

Font is "Xolonium". Copyright © 2011-2016 Severin Meyer sev.ch@web.de, with Reserved Font Name Xolonium, SIL open font license version 1.1. Details are in fonts/LICENSE.txt.