Cbit Game Engine is a project aimed at learning more about computer graphics and creating a game from scratch. This engine leverages several libraries to provide a robust framework for game development.
Screenshot on 2025-06-29- Cross-platform support
- Uses SDL2 for window management and input handling
- Supports OpenGL for rendering
- JSON support for configuration and data management
- imgui for GUI development
To get started with Cbit Game Engine, clone the repository and follow the instructions below to set up your development environment.
git clone --recursive https://github.com/nurakmaljalil91/Cbit-Game-EngineNote: if you are using linux (Debian-like) use this command:
sudo apt update && sudo apt install -y \ build-essential cmake ninja-build \ libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev \ libgl1-mesa-dev libglu1-mesa-dev \ libspdlog-dev libsimdjson-dev \ libx11-dev libxrandr-dev libxi-dev libxxf86vm-dev libxinerama-dev libxcursor-dev \ pkg-config git
- SDL 2 Version 2.0.10
- SDL 2 Image 2.0.5
- SDL 2 TTF version 2.0.15
- jsoncpp
- OpenGL
- GLEW (The OpenGL Extension Wrangler Library)
- SOIL (Simple OpenGL Image Loader)
- Dear ImGui
- STB Image
-lmingw32-lopengl32 -lSDL2-luser32 -lgdi32-lwinm -limm32-lole32 -loleaut32 -lversion-lsetupapi -lhid
- Game Programming in C++
- ECS from BirchEngine
- SFML RPG from HeadTurna
- That Game Guy
- SDL 2 Tutorial
- Learn OpenGL
- The Cherno
Build for debug mode:
cmake -DCMAKE_BUILD_TYPE=Debug "-DCMAKE_MAKE_PROGRAM=C:/Users/User/AppData/Local/Programs/CLion Nova/bin/ninja/win/x64/ninja.exe" -G Ninja -S C:\Users\User\Developments\Cbit-Game-Engine -B build-debug
cd build-debug
ninjaBuild for release mode:
cmake -DCMAKE_BUILD_TYPE=Release "-DCMAKE_MAKE_PROGRAM=C:/Users/User/AppData/Local/Programs/CLion Nova/bin/ninja/win/x64/ninja.exe" DENABLE_EDITOR:BOOL=OFF -G Ninja -S C:\Users\User\Developments\Cbit-Game-Engine -B build-release
cd build-release
ninja- Nur Akmal bin Jalil
This project is licensed under the MIT License – see the LICENSE file for details.