ScratchData LogoScratchData
Back to PVYashK's profile

Pac-Man

PVPVYashK•Created July 12, 2021
Pac-Man
1
1
18 views
View on Scratch

Instructions

Use the arrow keys to move around, collect coins and avoid the ghosts. The game starts after the music finishes, which takes 5 seconds, so don't say this game doesn't work because once you pressed the green flag nothing happened.

Description

This isn't exactly Pac-Man, but this is the closest I could get. Usually there are 4 ghosts but that would make it too easy. There are also lots of coins in the real game, and they don't just reappear too. This is a recreation of another Pac-Man game I tried to make, but that failed. One of the biggest things I couldn't work around was the ghosts. I coded them to move in random directions, and not towards the player. So when they hit a wall, it may take some time to go back, since they move randomly.

Project Details

Project ID552680906
CreatedJuly 12, 2021
Last ModifiedJuly 11, 2023
SharedJuly 13, 2021
Visibilityvisible
CommentsAllowed