Files
gdnative-demos/cpp/dodge_the_creeps/README.md
2022-03-24 17:15:29 -05:00

2.0 KiB

Dodge the Creeps with GDNative C++

This is a simple game where your character must move and avoid the enemies for as long as possible, made in GDNative C++.

This is a finished version of the game featured in the "Your first 2D game" tutorial in the documentation. For more details, consider following the tutorial in the documentation.

Language: GDNative C++

Renderer: GLES 3 (particles are not available in GLES 2)

Note: There is a GDScript version available here.

Note: There is a C# version available here.

Compiling

You can use SCons to compile the library:

scons platform=PLATFORM

Where PLATFORM is: windows, linux, or osx.

This creates the file libdodgethecreeps in the respective subfolders in the project/gdnative directory.

Dependencies:

  • You need godot-cpp, this is now a Git submodule of this repo.
  • clang, gcc, or any decent C compiler that's C++14 compatible.

Screenshots

GIF from the documentation

Copying

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

Images are from "Abstract Platformer". Created in 2016 by kenney.nl, CC0 1.0 Universal. Source: https://www.kenney.nl/assets/abstract-platformer

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.