Day 01: Traffic Simulator - Sprites & Right Turns

It's 2019 and all cars on the road are self-driving but they haven't quite figured out collisions yet: Enter You, the player, who is the new intersection manager for the city. Minimise collisions and get everyone to their destination ASAP. 

Thus this game models the flow of traffic. If we can only get everyone to stay in their lane.

Davy & Steven did an amazing job building the engine and figuring out the logic of the game. Who knew that, like the real world, there's a difference between left turns (which hug the road) and right turns (which have to cross over a lane)... 

Also, for simplicity sake, it is set in an American city. Round-abouts are way too complicated for me (an actual American) to learn to drive on, let alone our imaginary self-driving cars. However, everyone drives on the left side of the road in this game because it's the future. Stuff happens.

I spent most of today figuring out spritesheets (thanks kenney) and then making roads with sidewalks appear. I am especially proud of figuring out how to set random colours for our the cars, pictured below.


I'm considering calling it "Keep Driving and Nobody Dies". We'll see

(log in to comment)

Comments

I love the concept. Anyone could have come up with a traffic flow game, but combining it with the idea of flawed self-driving cars really sells it.