2 PacMan
Description
INSTRUCTIONS
Use arrow keys to move
HOW THIS CODE WORKS
I made this program so others could make their own pacman and other maze games and artistic expressions. The way this program works is that whenever you push an arrow key, pacman points in the direction you push (if "left arrow key" pressed point "left"). Then pacman moves forward as long as his whiskers (a purple dot in front of his mouth) are touching the color green. You can see this in the pacman sprite "if (purple touching green)". If pacman touches red, the maze switches.
MORE IDEAS
To change it just draw any maze/path you want to using the same color green I used (in the scratch paint editor that's the 4th square down in the green column). Then change the pacman costume.
|
g_arais | 27 Mar 2013 14:44:07 | Bingo 2.0 |
---|