A simple turn-based puzzle game based on the 2016 video game 'Lara Croft Go' (https://store.steampowered.com/app/540840/Lara_Croft_GO/)
This was a weekend project to make a game using an entity-component system (entt) that has since evolved into porting the renderer to raylib.
The project was forked from CityBuilderGame (https://github.com/PhiGei2000/CityBuilderGame) and still takes inspiration.
- GUI
- Turn-based movement
- Example levels (currently the first 5 from Lara Croft Go)
- Level switches
- Traps / Falling
- Fog
- Cell shaing (https://bedroomcoders.co.uk/posts/223)
- Enemies (saws)
- Enemies (snakes)
- Weapons (spears)
- Weapons (pistols)
- Directional Lighting
- Level dressing
- Character animations
- Collectables
- Volumetric shadows
Requirements:
- CMake 3.22.1 and above
- C++ 20
- OpenGL 4.5
Packages (only on Linux):
1. Clone the repository
git clone --recursive https://github.com/x1nixmzeng/CityBuilderGame.git
the --recursive
option is only needed on windows to download the libraries from github.
2. Change your current directory to the downloaded project
cd ./CityBuilderGame
3. Run CMake to build the project
cmake --build ./build
After that keep sure you link or copy the res directory to the build directory
cp -r ./res ./build/
or to create a symbolic link
cd ./build && ln -s ../res res
3. Run build script (Linux)
bash ./build.sh
4. Start the game
./cityBuilderGame
Button(s) | Description |
---|---|
LEFT/RIGHT/UP/DOWN | Move |
SPACE | Interact |
ESC | Pause menu |
(Hold) C | Free camera |
WASD | Move free camera |
1 | Toggle the light |
9 | Toggle wireframe |
F1 | Toggle debug panel |
F2 | Toggle control panel |
F3 | Toggle thumbnail generation |
Feel free to report issues and questions to the issues section.
This code is licensed under the GNU GLP license