Random spawn points from left to right
fau7521
Member Posts: 2
hello
im really excited on having the final touches to my game only to notice something that makes my game appear ridiculous.
basically, i have to spawn actors one on the left of the screen and one on the right, the left spawner spawns enemy A while the right spawn enemy B. i have a rule that is "random(38,340)" and i understand that because both spawners have the same rule they collide with each other and i dont want that.
what im trying to achieve is that i want when the left spawner spawns the random actor on lets say (45,270) i want the right spawner not to spawn in the exact location (45,270) at the same time. any suggestions?
Comments
What are 45,270 ? Are they X and Y positions or a random range ?
yes exactly
Excellent !