ScratchData LogoScratchData
Back to SarkyKeshy's profile

Pacman v3.1 - COMPLETE

SASarkyKeshy•Created November 14, 2013
Pacman v3.1 - COMPLETE
33
35
1640 views
View on Scratch

Instructions

Basic Pacman style game. Arrow Keys to move. Only four levels atm, but they repeat 4 times with the ghosts getting faster. Ghosts randomly move and can kill you. Three lives. Have not bothered with sound :-)

Description

v3.3 Zeroised high scores in the hope that this will fix the issue. Still have to fix the cloud high scores. For some reason they do not seem to hold their data very well. v3.2 Fixed if you were empowered when ended the level stayed that way til ate new pill on new level. Fixed CloudData update "i hope" v3.1 Cloud Data USERNAME used for high scores Modified so that the dots to pick up are sprite clones rather than stamped on the background. Previously to erase the dots I tamed a whit square on top of them, but I meant that I could not have a funky background. With the sprites this is not a problem. Clones are deleted as they are eaten. Ghosts added though can't kill you yet and when they first start can travel through a wall. Must locate and eliminate that bug. Also now has four different levels. Instead of using colour collision detection to determine if the main character has hit the walls it uses a grid system. This works because the maze is constructed from a series of equal size tiles NOT just hand drawn. Basically it checks: 1. if the player is in the centre of the current tile. If so then it is allowed to change direction. 2. What tile am I currently on this is used to check what possible directions are valid. This creates a nice smooth movement that does not allow the player to come anywhere near the walls. To add additional levels copy the "When I Receive Level01" broadcast section and change it to the new levels message. Then modify the "When I Receive NextLevel" chunk to include the new level. Both these chunks are in Sprite1. The numbers in the MapColumn function are the costumes to use from sprite1 from the top to the bottom of the current column, and the 1st column is on the far left the last is on the far right.

Project Details

Project ID14289043
CreatedNovember 14, 2013
Last ModifiedNovember 18, 2014
SharedNovember 17, 2013
Visibilityvisible
CommentsAllowed