Goal:
With our TIE-Fighter in place for the start of our game, we need to create a timer that will control when the TIE-Fighter will spawn a new clone.
We will do this by placing a wait block with a random time, as well as choosing a random x coordinate at the top of the screen where the TIE-Fighter will actually spawn from.
Steps:
- From Control, place wait block inside of the forever block.
- From Operators, place a pick random block inside of the wait block.
- Set the left side to 1.5 and the right side to 3.
- From Motion, place a set x to block.
- From Operators, place a pick random block.
- Set the left side to -240 and the right side to 240.
- From Control, place a create clone of myself block.