Make two scripts for your hero, one using the block turn and another using the block point in drection. For example:
Try to explain what happens when you press key 1 and what happens when you press key 2. If you can see the difference, the question below will seem like a breeze
Question: See the image below. Each time key 5 is pressed:
- In the left script, the cat will always point to 12 and 5 (ie at 30 degrees)
- In the right script, the cat will go 5 minutes later (ie another 30 degrees down) than it was
TODO: Program your hero so that the player can use the keyboard or mouse to move him anywhere in the maze (up, down, right and left of where he is) and do whatever he wants (talk, change costume). Use the motion blocks correctly turn or point in direction and any other block needed. Don't forget, every script starts with a control.