Hacking sim game?
Go to file
2025-09-16 20:49:00 +01:00
assets/shaders [Add] Ground plane. 2025-09-14 21:26:54 +01:00
libbettola [Add] Initial terrain generation. 2025-09-16 20:49:00 +01:00
src [Add] Initial terrain generation. 2025-09-16 20:49:00 +01:00
srv [Add] Initial terrain generation. 2025-09-16 20:49:00 +01:00
.gitignore [Add] Design doc to .gitignore. 2025-09-15 19:41:21 +01:00
CMakeLists.txt [Refac] Separate rendering, game and application. 2025-09-14 16:09:44 +01:00
Makefile refactor(math): Replace GLM with custom math lib. 2025-09-13 02:25:13 +01:00
README.org Initial commit of 2D RPG Engine. @dacav come help. 2025-09-11 23:07:38 +01:00

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