matthewmain / 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.

Home Page:https://codepen.io/matthewmain/live/YJwoVy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 http://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.

https://codepen.io/matthewmain/live/YJwoVy


Languages

Language:JavaScript 96.2%Language:HTML 2.0%Language:CSS 1.8%