vehicle behavior / traffic light simulation based on phaser 🚦🚗
Note: This is a little playground of mine to play around with the Phaser game engine. It is not really considered to be (or become) a fully functional game.
You can find the latest version running on my github pages
SPACE
keyIn case you want to run the stuff yourself locally
# install dependencies
npm install
# start dev server
npm start
# download a dumpy (lower left corner lng,lat -> top right lng,lat)
curl "https://api.openstreetmap.org/api/0.6/map?bbox=9.2055000,48.9407000,9.2643,48.9582" > marbach.osm
# turn import into a JSON file to load into the game (adapt filename in code)
node map-import.js > map.json
MIT © Andreas Offenhaeuser