Adaptation of an Algorithms and Data Structures' course project, made in Godot, with C.
godot_headers- contains header files that enables the connection with the engine;simple- contains the game GUI source code and assets made in Godot. Note: to run the project you need the engine executable (availlable here), and the respectives dynamic library files. See compiling below;bin- the C-source of this project must be compiled as a dylib (.dll/.so) and saved into this folder;assets- contains data, audio, image textures, etc., used in the project. All thirds resources are listed inLICENSE.mdin their respectives folders;src- contains the source code of the game GUI (godot-scripts and scenes);
src- contains the C-source code of the dylib;- The
simple.cfile is responsible for doing the connection with the C-source and Godot using the GdNative API (accessible viagodot_headersfiles). Look up gdnative docs for more information; - The folder
Skylinerscontains a modified version of the original source code (availlable here). The most noticeble change is thatmain.cwas changed tog_main.cso it could be used as a dylib; - Inside the
srcfolder some shell scripts were also included; they have some commands used to compille the libraries.
- The
To build the project you need the Godot Editor executable. More info in Godot Docs.
The C-source must be compiled as a dynamic libray (.dll on windows, or .so on linux) and moved to
simple/bin so Godot can read them. The game itself can be runned and compiled in the engine editor.
Good Game!