Skip to content

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

Notifications You must be signed in to change notification settings

jasonmzx/cppkart

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages