Hacking sim game?
Server now generates and sends an expanded 34x34 heightmap for each chunk, which includes a 1-vertex border containing height information from all adjacent chunks. Client ChunkMesh class updated to consume this extra data, allowing it to calcualte perfectly accurate normal vectors for all vertices, including those at the very edge of a chunk. |
||
|---|---|---|
| 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