Sunday, 24 April 2016

Unity 3D Traffic Game Prototype

Donuts games has a 2D traffic rush game before, and recently noticed it now has a 3D version called "Traffic Rush 2" as well.

Created a 3D traffic game prototype based on the game and again, with demo video running on iPad Mini through Unity Remote 4.

Took me a while to get the swipe control working correctly, and as the blocks/cars should only move in one specific direction, the transformed position after swipe need some adjustment to make sure only the x/z element of position changed.

Player taps on block(car) to stop its movement, swipe to resume movement or make it move faster. Blocks will be destroyed if reached border. When collides with another block, stopped movement and shows particle effect.


Further improvements:
1) After swipe, increase the speed
2) Show trailing smoke/dust after block
3) Add surrounding buildings and lines on the road
4) reduce the distance between where the blocks were instantiated to make it more challenging
5) After a block/car been stopped, start a counter so after X seconds later it flashes the light and starts moving automatically


No comments:

Post a Comment