itch.io is community of indie game creators and players

Enemies

Within Motor Racing’s World Championship, the driver, who is the player, will be driving against AI drivers. The AI drivers will be interpreted as the ‘enemies’ for this game. They will be known as ‘Comp’ which has a dual meaning of ‘Competition’ or ‘Computer’. At this stage, their sprite will be a copy of the driver’s sprite with a colour edit. A sprite renderer and rigidbody2D are basic components to our Comps with extra scripting involved. Currently the scripts have not been cleared of compiler errors inspired by Pretty Fly Games (2021).  Comps will move around the track on their own accord using AI pursuing methods. Similar to the driver’s deductions, every wall they collide with, points will be deducted. If in the circumstance, a Comp will collide with another comp or driver, both parties involved in this incident must restart at the previous checkpoint. Currently this is not yet implemented due to the troubles from scripting errors but this will be a goal for later in the development process.

Screenshot: Driver (blue) with Comps (enemies: green and purple)

Pretty Fly Games, 2021., ‘Local multiplayer input - How to 2D Arcade Style Top Down Car Controller Unity tutorial Part 7’, YouTube – Pretty Fly Games,

Leave a comment