anoff / phaser-microlight

traffic light / vehicle behavior simulation based on phaser
https://anoff.github.io/phaser-microlight/
MIT License
4 stars 0 forks source link

phaser-microlight

vehicle behavior / traffic light simulation based on phaser 🚦🚗

screenshot

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

Features

Ideas

Getting started

In case you want to run the stuff yourself locally

# install dependencies
npm install
# start dev server
npm start

Getting OSM street data

# 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

Credits

License

MIT © Andreas Offenhaeuser