☆ nubbs ☆
Spawning objects at random X co-ordinates and in fixed intervals
Hi, I am making a game inside Monogame, using c#. I need my objects in the game to spawn in random X co-ordinates. I know how to spawn more than one in a specific state, but I cannot figure out how to spawn them randomly. I've tried a few methods; having a random number generator decide which block to spawn, setting the x and y co-ordinates to random number, which both returned error messages. I'm hoping I can get some help with this? Thanks! I'll attach some screenshots when I have them.
47 replies