✧ | Chocolate Platformer

Instructions: Hai! This is my first platformer! I'm so proud of how it looks! Be sure to love and fave and maybe even a follow for more platformers!\nArrow keys to move!\nS key to skip a level!\n------------------------------LEVEL HELP----------------------------------\nLevel One - Walk across the table\nLevel Two - Jump over the bowl\nLevel Three - Don't touch the water\nLevel Four - Jump on the cup and over the puddle\nLevel 5 - Find out for yourself! ;) \nLevel 6 - Jump onto the spoon for a boost to get to the other side\nLevel 7 - Jump onto the spoon for a boost onto the cup, and over the puddle\nLevel 8 - Jump onto the bowl, which is on the shelf, and over the water\nLevel 9 - Get away from the ketchup rain\nLevel 10 - JUMP!\nEnd - Nice work! You made it back to the fridge!\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (logobackdrop v)\n\nwhen [s v] key pressed\nswitch backdrop to (next backdrop v)\n\nwhen flag clicked\nplay sound [level2 v] until done\n\nwhen I receive [start v]\nswitch backdrop to (level 1 v)\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    show\n    go to [front v] layer\n    wait (1) seconds\n    set [ghost v] effect to (300)\n    go to x: (0) y: (0)\nend\n\n@Goal\n\nwhen I receive [chocolate v]\nbroadcast (Next Backdrop v)\nforever\n    show\n    next backdrop\nend\n\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Chocolate\n\nwhen backdrop switches to [level 1 v]\nset [gravity v] to [5]\nforever\n    change [y vel v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [x vel v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x vel v] by (-1)\n    end\n    set [x vel v] to ((X vel) * (0.9))\n    change x by (X vel)\n    if <touching color (#995900)?> then\n        change y by (1.5)\n        if <touching color (#995900)?> then\n            change y by (1.5)\n            if <touching color (#995900)?> then\n                change y by (1.5)\n                if <touching color (#995900)?> then\n                    change y by (1.5)\n                    if <touching color (#995900)?> then\n                        change y by (1.5)\n                        if <touching color (#995900)?> then\n                            change x by ((X vel) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Y vel)\n    if <touching color (#995900)?> then\n        change y by ((Y vel) * (-1))\n        set [y vel v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#995900)?> then\n        if <key (up arrow v) pressed?> then\n            set [y vel v] to [10]\n        end\n    end\n    if <touching color (#cccccc)?> then\n        set [y vel v] to [10]\n    end\n    if <touching color (#0cd0d0)?> then\n        go to x: (-183) y: (-115)\n    end\nend\n\nwhen backdrop switches to [end v]\ngo to x: (-22) y: (-65)\nstop [other scripts in sprite v]\n\nwhen backdrop switches to [level 8 v]\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-181) y: (-71)\n    end\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        if <touching (goal v)?> then\n            wait (0) seconds\n            show\n            next backdrop\n            go to x: (-183) y: (-115)\n            wait until <not <touching (goal v)?>>\n        end\n    end\nend\n\nwhen backdrop switches to [level 1 v]\nswitch costume to (costume2 v)\ngo to x: (-85) y: (-44)\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Mouse Effects\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [backward v] (11) layers\nforever\n    create clone of (_myself_ v)\n    wait (0.05) seconds\nend\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (11) layers\nshow\ngo to (mouse-pointer v)\nmove (5) steps\nset size to (35) %\nswitch costume to (pick random (1) to (2))\npoint in direction (pick random (0) to (360))\nrepeat (50)\n    move (1) steps\n    change size by (-1)\nend\ndelete this clone\n\n@Logo\n\nwhen flag clicked\nset size to (100) %\nhide\nwait (0.0001) seconds\nshow\nset [ghost v] effect to (100)\nrepeat (50)\n    wait (0.01) seconds\n    change [ghost v] effect by (-2)\nend\nwait (1) seconds\nrepeat (50)\n    wait (0.01) seconds\n    change [ghost v] effect by (2)\nend\nbroadcast (start v)\n\n