Project 196: Dodgy Road

6. Make a Clone of our Enemy appear based on frequency

Set up a forever loop that makes clones of the enemy sprites appear after frequency seconds.
Starting point file for this challenge

Your goal

Steps

1. Wait 1 second inside a forever loop.

Inside your enemy sprite, put together a "When green flag clicked"  a "forever loop" and a "wait 1 second" block.  

2. Change to waiting frequency seconds and cloning.

At the bottom of control add a "create a clone of myself" block.
Add the "frequency" variable to the "wait 1 second" block, then a "hide" statement to the original to remove it from the screen.

3. Put Clones on Path 1

Now that we have clones spawning after a set amount of time, lets tell them what path what path we want to put them on.  Grab a "set ____ to 0" block from the variables tab and place it above the "create clone of myself tab" , Set the variable to "path" and lastly change  the value from 0 to 1.

4. Spawn Clones with Path 1.

Let's grab a "when I start as clone" and "if then" block from Control, then in Operators, we will use the "blank equals 50" block and change it to "path equals 1". 

5. Placing the clone and making it appear

Then we will grab a "go to x:__ y:__ " block in motion.  Change x to -240 and y to -100.  Don't forget to add a "show" block to this chunk of code.