Unity 2D - Programming enemies for a 2D top down car game (c#)
Hello !
I want to learn how to program an enemy car for my 2D game. Far as I'm concerned the best method is to have a scripted entry from beneath the road, and then follow the player at a slower speed and attempt to shoot at them. An alternative enemy would be one that tries to collide with them for damage.
My game is very barebones at the moment, I currently have a scrolling background of a road and the player's car which can move and shoot. I imagine adding collision would be better to do after adding the enemies.
If I'm missing any information, let me know.
Thank you.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612100551im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to use the results of a dice roll? 2 Answers
OnGUI will not show up? 1 Answer
My audio doesn't play, I'm through my options... 1 Answer
Need help with c# 1 Answer