0% found this document useful (0 votes)
6 views2 pages

Cake Adventure: Scratch Game Code

Melinda Pon created a three-level cake adventure game in Scratch with a character named Tera who moves through mazes using arrow keys to touch cakes and advance to the next level. The code makes Tera move in the direction of the arrow keys and changes the backdrop when she touches a cake. The game has three levels and uses input from arrow keys and outputs different backdrops and sprite visibility based on level.

Uploaded by

api-269541610
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Cake Adventure: Scratch Game Code

Melinda Pon created a three-level cake adventure game in Scratch with a character named Tera who moves through mazes using arrow keys to touch cakes and advance to the next level. The code makes Tera move in the direction of the arrow keys and changes the backdrop when she touches a cake. The game has three levels and uses input from arrow keys and outputs different backdrops and sprite visibility based on level.

Uploaded by

api-269541610
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MelindaPon

Period3,CSP
1/25/16

IndividualProgrammingReflection:CakeAdventure

ProgramCode:

ThisisthecodethatIusedformyfirstsprite,[Link]
[Link]
whenthespritetouchesthecakeandwhenthespritetouchesthecake,itwouldmove
ontothenextlevel.


[Link]
touchesthecake,[Link]
purposearetohidetheotherspritesandshowthespritethatisneededforitsintended
level.

IusedScratch,[Link]
[Link]
characterwhosepurposeistogettothecakeandtouchit,thenitwouldmoveontothe
[Link]
arrowkeys,left,right,up,[Link]
mazeisthat,therightarrowwouldmoveTeraright,thedownarrowwouldmakeher
movedown,theleftarrowwouldmovehertotheleft,andtheuparrowwouldmoveher
[Link],ifTeraistouchingthecake,thebackgroundwouldswitchtothenext
backdropwhichisthenextlevel.

Linktogame:
[Link]

You might also like