ScratchData LogoScratchData
Back to Somos13's profile

Scratch Emulator PLATFORMER ENGINE

SOSomos13•Created March 24, 2023
Scratch Emulator PLATFORMER ENGINE
2
0
37 views
View on Scratch

Instructions

Arrow keys to move, space to jump. The code: {"objName":"Stage", "children": [{"objName":"project" ,"variables":[ {"name": "Speed X" , "value": "0" , "isPersistent":false} , {"name": "Speed Y" , "value": "-19" , "isPersistent":false} ] ,"scripts":[ [ 96 , -65 , [ ["whenGreenFlag" ] , ["doForever" ,[ ["doIf" , ["keyPressed:" , "right arrow" ] ,[ ["doUntil" , ["not" , ["keyPressed:" , "right arrow" ] ] ,[ ["changeVar:by:" , "Speed X" , "1" ] , ["wait:elapsed:from:" , "0.005" ] ] ] , ["setVar:to:" , "Speed X" , "0" ] ] ] , ["doIf" , ["keyPressed:" , "left arrow" ] ,[ ["doUntil" , ["not" , ["keyPressed:" , "left arrow" ] ] ,[ ["changeVar:by:" , "Speed X" , "-1" ] , ["wait:elapsed:from:" , "0.005" ] ] ] , ["setVar:to:" , "Speed X" , "0" ] ] ] , ["doIf" , ["keyPressed:" , "space" ] ,[ ["setVar:to:" , "Speed Y" , "15" ] ] ] ] ] ]] , [ 315 , 217 , [ ["whenGreenFlag" ] , ["setVar:to:" , "Speed X" , "0" ] , ["setVar:to:" , "Speed Y" , "0" ] , ["doForever" ,[ ["changeXposBy:" , ["readVariable" , "Speed X" ] ] , ["changeYposBy:" , ["readVariable" , "Speed Y" ] ] , ["bounceOffEdge" ] ] ] ]] , [ 168 , 284 , [ ["whenGreenFlag" ] , ["doForever" ,[ ["changeVar:by:" , "Speed Y" , "-1" ] , ["wait:elapsed:from:" , "0.0005" ] ] ] ]] ] }],"info":{} }

Description

Thanks to Griffpatch for his scratch emulator.

Project Details

Project ID825289097
CreatedMarch 24, 2023
Last ModifiedMarch 25, 2023
SharedMarch 24, 2023
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root