Hacking sim game?
Physics and collision system to make players interact with the generated terraine without falling through the world like lemmings. It uses a shared bilinear interpolation function for terrain height for smooth and consistant height queries on the client and server. |
||
|---|---|---|
| assets/shaders | ||
| libbettola | ||
| src | ||
| srv | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Makefile | ||
| README.org | ||
Bettola Game
A 2D RPG game and engine created with C++, SDL3, and OpenGL.
Dependencies
The following dependencies are requird:
- A C++ compiler (e.g., clang, g++)
- CMake (3.16 or newer)
- SDL3 development libraries
- GLEW development libraries
Installation (Debian)
You can install all required dependencies with the following command:
sudo apt update
sudo apt install build-essential clang cmake libsdl3-dev libglew-dev
Build Instructions
This project uses a top-level Makefile to simplify the CMake workflow. All build artifacts will be placed in the bin/ directory.
Run the following from the root of the project directory.
-
Build the project: The executable will be located in
bin/bettola.make -
Build and run the project:
make run -
Clean the project: This removes the
bin/directory.make clean