ScratchData LogoScratchData
Back to firewolfxl5's profile

PacMan

FIfirewolfxl5•Created February 22, 2019
PacMan
0
0
25 views
View on Scratch

Instructions

Use arrow keys to move

Description

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. Old scratch project someone made, I forgot who though.

Project Details

Project ID288615467
CreatedFebruary 22, 2019
Last ModifiedMarch 11, 2022
SharedFebruary 22, 2019
Visibilityvisible
CommentsAllowed