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

generate streets dynamically #8

Open anoff opened 7 years ago

anoff commented 7 years ago

as the code already allows to generate a map out of given coordinates it would be nice if the coordinates would be created randomly on page load

anoff commented 7 years ago

turns out that adding the joints dynamically is easy but the hard part is to identify connections (roads) between the joints that do not overlap. needs to have some more logic than just pulling random joints.

anoff commented 6 years ago

going to add maps based on OSM instead.. 🙄