☆ nubbs ☆
Spawning objects at random X co-ordinates and in fixed intervals
i do know how to do one, i have multiple in my game already, i tried just now throwing the drawing into a for loop up to 1000, but that glitched it out so i took them out. I was thinking having a random number combine with like a current spawn vector so that when it passes through a loop, it goes up by say 2000 and then the objects draw again but that doesnt seem to work
47 replies
Spawning objects at random X co-ordinates and in fixed intervals
so for the shared.next should i instantiate that in the class i want to use it in, or like you said a static one in like a globals class for example? i want the random number to change for every spawn if that makes sense, so i tried putting it in a for loop
47 replies