Random enemy spawning


#1

I want to have enemies that spawn off screen on the roght and left. A random spqwn that spawns more and more enemies as time goes on. How could I achieve this?


#2

Let me tell you briefly about the platform game. For example, let x coordinate be constant and y coordinate variable. You can create the y coordinate of the enemy randomly with a specific time interval. It is in your hands to improve it.

ooldSH.md.jpg
ool79U.md.jpg
ool0zo.md.jpg