Project 196: Dodgy Road

9. Additional Paths

Now that we have a handle of Path 1, let's finish up Path 2 and Path 3.
Starting point file for this challenge

Your goal

Steps

1. Setting Up Path 2 and 3

First let's duplicate the code for Path 1 twice using the right click of our mouse. Then change the other if statements to check if "path = 2" or "path = 3"

 For the 2nd Path we will just move the enemy to a new starting position "go to x: 240  y: 80", and use the same movement as "path =1".  

2. Positioning Path 3.

Lastly we'll move the enemy in the "path = 3" block to x:240 y: 0 by adjusting the "go to x:__ y: ___" block.  

3. Path 3's Condition Group Exercise

This is a group exercise. Think about what our x position would be at the left side of the screen.

4. Path 3's finished Code

Here is the adjusted condition and movement speed.