Vehicle simulation game
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Macoy Madson 5b6d890a48 Procedural audio, shifting now working 1 year ago
Content Fix missing texture from fresh build 1 year ago
Dependencies Moved dependencies into their own folder 1 year ago
assets Forgot to add Front wheel blend 1 year ago
audio Procedural audio, shifting now working 1 year ago
audioAssets Added (bad) audio, debug display, window resize support 1 year ago
data/fonts Added (bad) audio, debug display, window resize support 1 year ago
references Stubbed in drivetrain model and added reference 1 year ago
src Procedural audio, shifting now working 1 year ago
.clang-format Added skeleton build 2 years ago
.dir-locals.el Fixed segfault, added debug build 2 years ago
.gitignore Added collision handler, objectives 1 year ago
.gitmodules Moved dependencies into their own folder 1 year ago
Build.sh Added true debug build, got rendering working 2 years ago
BuildAssets.sh Asset pipeline change, Wheels now work 1 year ago
BuildBullet.sh Fix release build requiring pybullet too 1 year ago
BuildBullet_Debug.sh Use single precision Bullet3 instead 1 year ago
BuildDependencies.sh Use single precision Bullet3 instead 1 year ago
BuildDependencies_Debug.sh Use single precision Bullet3 instead 1 year ago
Build_Debug.sh Added true debug build, got rendering working 2 years ago
CleanAll.sh Moved dependencies into their own folder 1 year ago
ExportBlenderAssets.py Videos section, draw objective state always 1 year ago
Jamfile Procedural geometry test 1 year ago
Jamrules Use single precision Bullet3 instead 1 year ago
LICENSE Initial commit 2 years ago
ReadMe.org Videos section, draw objective state always 1 year ago

ReadMe.org

Spargus Vehicle Prototype

This is a 3D vehicle game prototype inspired by the gameplay and feel of the dune buggies in Jak 3.

Videos

Progress videos, newest to oldest:

I created a reference video so I could emulate the Jak 3 behavior. It gives you an idea what the inspiration and goal behavior is

Setup

Clone and init submodules for dependencies:

git clone --recurse-submodules https://github.com/makuto/spargus-vehicle-prototype

Jam is used to build the project. Install Jam:

sudo apt install jam

Build dependencies:

cd spargus-vehicle-prototype
./BuildDependencies.sh

Build Spargus:

./Build.sh

For Debug:

./Build_Debug.sh

spargus_vehicle_prototype should be run in the root directory of the repository.

SFML Setup

SFML is used for graphics, window, and input. I used my old base2.0 library to wrap SFML if I ever want to switch to SDL (I should dump base2.0 eventually…)

Running BuildDependencies.sh will build base2.0. You will need to have installed SFML 2 already. (TODO: Add instructions on how to do this)

Bullet3 Setup

Spargus Vehicle Prototype uses Bullet3 for physics.

Build bullet3:

cd spargus-vehicle-prototype
./BuildDependencies.sh

Optional: Test the examples:

./bullet3/build_cmake/examples/ExampleBrowser/App_ExampleBrowser

Asset pipeline

Create the asset in your desired modeling program

Run BuildAssets.sh

This prepares assets for Horde3D.

By hand: Export Collada and Wavefront Obj

Collada is used by Horde3D to display the mesh, while the Obj is used to create the collision mesh. The meshes can differ if desired (e.g. for a low-poly collision mesh). On export, ensure Triangulate Mesh and Apply Modifiers are checked.