Skip to content

A 3D vehicle derby video game rendered in three.js and run on a physi.js physics engine. UV maps designed in Adobe Illustrator; meshes created in Blender and imported as glTF.

Notifications You must be signed in to change notification settings

matthewmain/bus_derby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BUS DERBY

A 3D vehicle derby video game rendered in three.js and run on a physi.js physics engine. UV maps designed in Adobe Illustrator; meshes created in Blender and imported as glTF.


screenshot


Running Locally

Physijs runs a web worker, which, if run locally, violates the cross-origin policies of some browsers (including Chrome).

To play Bus Derby without hosting it, you'll likely need to run a local server instead of simply opening index.html. There are a number of ways to run a local server, but one quick way is to use http-server. To do this, first install it with npm:

$ npm install http-server -g

Then just CD into the bus_derby directory and run:

$ http-server .

You'll now have a local server running at https://127.0.0.1:8080.

About

A 3D vehicle derby video game rendered in three.js and run on a physi.js physics engine. UV maps designed in Adobe Illustrator; meshes created in Blender and imported as glTF.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published