Hey guys, I’m currently working on coding a version of the game Space Race (I explained more about my plan for the game here) and I need to find a way to have a randomized amount of clones of one object move left and right across the screen at random speeds and at different y positions.
Incase that doesn’t make sense, here’s a quick sketch:
This stars will all be at random positions on both sides of the screen, shooting back and forth.
I’m having trouble coding this because I can’t find a way to use clones to have the stars be in random position, and then all move back and forth with random speeds. If anyone has any ideas how to do this, please let me know!