GitHunt
JA

jasonmzx/cppkart

3D Racing Game Engine, Built with OpenGL, SDL & Bullet Physics

CPP Kart | (hopefully make it a real engine soon...)

Setup:

Setup for Debian-Like Linux: (Debian, Ubuntu)

  1. Essential installs for C/C++ & CMake:

    sudo apt install build-essential cmake

  2. SDL Development Library Install:

    sudo apt install libsdl2-dev

  3. Assimp Loader & Utils Install: (Model Loader)

    sudo apt install assimp-utils libassimp-dev libassimp5

  4. Install Bullet Physics from VCPKG (As Apt's latest version of bullet is not bullet3, and 2.7 has some issues lol)

Install VCPKG, then Bullet3

git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install bullet3

*OpenGL Distribution comes natively with Kubuntu & Debian-Bookworm, if you don't have it, please install... *

Try: sudo apt install libgl-dev mesa-utils ?

CMake & Build Executable:

  1. Preliminary, for initial build:

    mkdir build && cd build

  2. Run CMake, then Make for building of executable:

    cmake ..

    make

  3. Run it:
    ./cppkart



Tip: in main directory (cppkart) you can just run ./DC_full_rebuild.sh and it auto-deletes and re-C Makes and Makes the project.


Some Useful Docs I keep laying arround...

Dear ImGUI Example


Dear ImGUI | Getting Started


I followed for SDL2 and OpenGL3+ source code : example_sdl2_opengl3/main.cpp


In the spirit of open source, any Asset I use, I'll link the Downloads, and credit the Artists for their Awesome Work on the Model ! ๐Ÿ๐Ÿ”ฅ

1997 Dale Aristocrat (PS1-Style Model) BY Aike

sketchfab.com Link

Icescape 1 Alien Moon Skybox BY Luis Vidal

sketchfab.com LINK

Languages

C++88.4%C11.4%CMake0.1%GLSL0.1%Shell0.0%

Contributors

Created August 29, 2023
Updated February 26, 2026
jasonmzx/cppkart | GitHunt