2D Street Racing game
I decided to make a short 2D Street Racing styled game similar to some of the minigames I made before.
In this mini-game, You must race down the freeway avoiding as many cars as you can, otherwise, if you crash, you will start over.
WHAT I LEARNED
How to offset Textures by code, meaning the road texture scrolls or offsets down without psychically moving in world space.
Game objects can move by referencing their own transforms which explains their smoother movement with delta-time.
The difference between 2D collision of kinematic and dynamic which seems to act differently with collision.
WHAT I COULD HAVE DONE BETTER
I could add actual cars to race with laps.
I could have added the mechanics for the player to accelerate forward rather than the player's car automatically accelerating forward.
The player can only move left or right and does not go backwards.
The sound could sync with the player's car's movements more instead of being scripted knowing when to play a different sound by timing with a coroutine.
Overall It was a nice exercise programming, I am happy I learned a few more tricks up my sleeve. #cars#programming#racingcar#racing#indiegaming#indiegamedev#indiegames#SoleDevoloper#MechanicTest#unity3d#gamedevelopment#gamedev#indiegames#AustralianGameDevoloper#indiedev
Comments