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


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

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