Flea ||  A Platformer!
@Stage\n\nwhen flag clicked\nswitch backdrop to (pic  v)\nwait (3) seconds\nswitch backdrop to (intro v)\nwait (1) seconds\nplay sound [Video Game 2 v] until done\nwait (1) seconds\nnext backdrop\n\nwhen I receive [music change v]\nstop all sounds\nstart sound [TheFatRat+-+Time+Lapse v]\nstart sound [TheFatRat+-+Time+Lapse v]\nstart sound [TheFatRat+-+Time+Lapse v]\n\nwhen I receive [music change shelf v]\nstop all sounds\nstart sound [TheFatRat & Phaera - Sunlight v]\nstart sound [TheFatRat & Phaera - Sunlight v]\nstart sound [TheFatRat & Phaera - Sunlight v]\n\nwhen I receive [new music 3 v]\nstop all sounds\nstart sound [Sonic The Hedgehog 2 Chemical Plant Zone Remix v]\nstart sound [Sonic The Hedgehog 2 Chemical Plant Zone Remix v]\nstart sound [Sonic The Hedgehog 2 Chemical Plant Zone Remix v]\n\n@Intro Logo\n\nwhen backdrop switches to [intro v]\nhide\nset size to (100) %\nwait (1) seconds\ngo to x: (36) y: (28)\nshow\nglide (0.5) secs to x: (152) y: (79)\nglide (0.5) secs to x: (41) y: (116)\nglide (0.5) secs to x: (-69) y: (96)\nglide (0.5) secs to x: (-67) y: (34)\nglide (0.5) secs to x: (-24) y: (13)\nglide (1) secs to x: (33) y: (36)\nchange size by (10)\nwait (3) seconds\nhide\n\n@Play sign\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [play screen v]\nshow\ngo to x: (36) y: (28)\nplay sound [Dance Magic v] until done\n\nwhen this sprite clicked\nswitch backdrop to (world screen v)\nhide\n\nwhen backdrop switches to [world screen v]\nstop all sounds\nplay sound [Dance Around v] until done\n\n@World 1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [world screen v]\nshow\ngo to x: (11) y: (0)\n\nwhen this sprite clicked\nbroadcast (World1 v)\nswitch backdrop to (b1 v)\nhide\n\nwhen I receive [new level 2 v]\nhide\n\nwhen I receive [new level 3 v]\nhide\n\n@World 2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [world screen v]\nshow\ngo to x: (-60) y: (-40)\n\nwhen backdrop switches to [b1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (New level 2 v)\nswitch backdrop to (b1 v)\nhide\n\n@World 3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [world screen v]\nshow\ngo to x: (67) y: (-38)\n\nwhen backdrop switches to [b1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (New Level 3 v)\nswitch backdrop to (b1 v)\nhide\n\n@player\n\nwhen flag clicked\nswitch costume to (player1 v)\nset [deaths v] to [0]\nhide variable [deaths v]\nhide variable [level v]\nhide\n\nwhen backdrop switches to [b1 v]\nshow\ngo to x: (-116) y: (-135)\n\nwhen I receive [reset v]\ngo to x: (-116) y: (-135)\n\nwhen backdrop switches to [b1 v]\nstop all sounds\n\nwhen I receive [menu v]\nhide\nhide variable [level v]\nhide variable [deaths v]\n\nwhen backdrop switches to [b1 v]\nshow variable [level v]\nshow variable [deaths v]\nset [level v] to [1]\n\nwhen I receive [new level v]\ngo to x: (-116) y: (-135)\n\nwhen backdrop switches to [b1 v]\nforever\n    if <touching (spike v)?> then\n        go to x: (-116) y: (-135)\n        change [deaths v] by (1)\n    end\n    if <touching (eraser trampoline! v)?> then\n        set [fall v] to [13]\n    end\n    if <touching (portal v)?> then\n        broadcast (New Level v)\n        go to x: (-116) y: (-135)\n        change [level v] by (1)\n    end\n    if <<touching (orb v)?> and <<key (up arrow v) pressed?> or <<key (left arrow v) pressed?> or <<key (right arrow v) pressed?> or <key (space v) pressed?>>>>> then\n        set [fall v] to [11]\n    end\n    if <touching (fruit fly v)?> then\n        go to x: (-116) y: (-135)\n    end\nend\n\nwhen I receive [skip v]\ngo to x: (-116) y: (-136)\nchange [level v] by (1)\n\nwhen [c v] key pressed\nnext costume\n\nwhen backdrop switches to [b1 v]\ngo to x: (-116) y: (-135)\nset [fall v] to [0]\nset rotation style [left-right v]\nforever\n    change y by (Fall)\n    if <touching (ground v)?> then\n        change y by ((0) - (Fall))\n        if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n            set [fall v] to [11]\n            start sound [Jump v]\n        else\n            set [fall v] to [0]\n        end\n    else\n        change [fall v] by (-1)\n    end\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n        if <touching (ground v)?> then\n            move (-10) steps\n        end\n    end\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n        if <touching (ground v)?> then\n            move (-10) steps\n        end\n    end\nend\n\nif <touching (_edge_ v)?> then\n    go to x: (-116) y: (-135)\nend\n\nwhen I receive [new level 2 v]\nset [deaths v] to [0]\nset [level v] to [1]\ngo to x: (-116) y: (-135)\nshow\n\nwhen I receive [new level 3 v]\ngo to x: (-116) y: (-135)\n\nwhen I receive [new level 3 v]\nset [deaths v] to [0]\nset [level v] to [1]\n\n@Ground\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [new level v]\nnext costume\n\nwhen I receive [skip v]\nnext costume\n\nwhen I receive [new level 2 v]\nshow\nswitch costume to (g12 v)\ngo to x: (36) y: (28)\n\nwhen I receive [world1 v]\nswitch costume to (g1 v)\nshow\ngo to x: (36) y: (28)\n\nwhen backdrop switches to [b1 v]\nif <(costume [number v]) = [12]> then\n    broadcast (Music Change v)\nend\n\nwhen backdrop switches to [b1 v]\nif <(costume [number v]) = [1]> then\n    broadcast (Music change shelf v)\nend\n\nwhen I receive [new level 2 v]\nswitch costume to (g11 v)\nnext costume\n\nwhen backdrop switches to [b1 v]\nif <(costume [number v]) = [13]> then\n    broadcast (Hammer change v)\nend\n\nwhen backdrop switches to [b1 v]\nforever\n    if <(costume [number v]) = [13]> then\n        broadcast (Background thing change v)\n    end\nend\n\nwhen backdrop switches to [b1 v]\nforever\n    if <(costume [number v]) = [14]> then\n        broadcast (Background thing hide v)\n    end\nend\n\nwhen backdrop switches to [b1 v]\nforever\n    if <(costume [number v]) = [18]> then\n        broadcast (Goodbye fly v)\n    end\nend\n\nwhen backdrop switches to [b1 v]\nforever\n    if <(costume [number v]) = [19]> then\n        broadcast (Pipe line v)\n    end\nend\n\nwhen backdrop switches to [b1 v]\nforever\n    if <(costume [number v]) = [20]> then\n        broadcast (Hide pipe line v)\n    end\nend\n\nwhen I receive [new level 3 v]\nbroadcast (New Music 3 v)\nshow\nswitch costume to (g22 v)\nnext costume\n\n@Reset\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [b1 v]\nshow\ngo to x: (-64) y: (-99)\n\nwhen this sprite clicked\nbroadcast (RESET v)\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [new level 2 v]\nswitch costume to (reset1 v)\nshow\ngo to x: (-64) y: (-99)\n\nwhen I receive [new level 3 v]\nswitch costume to (reset1 v)\nshow\ngo to x: (-64) y: (-99)\n\n@Menu Button\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [b1 v]\nshow\ngo to x: (-63) y: (-137)\n\nwhen this sprite clicked\nbroadcast (Menu v)\nhide\nswitch backdrop to (world screen v)\nstop all sounds\n\nwhen I receive [new level 2 v]\nshow\ngo to x: (-63) y: (-137)\n\nwhen I receive [new level 3 v]\nshow\ngo to x: (-63) y: (-137)\n\n@Skip\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [b1 v]\nshow\ngo to x: (45) y: (-136)\n\nwhen this sprite clicked\nbroadcast (Skip v)\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [skip button hide v]\nhide\n\nwhen I receive [new level 2 v]\nshow\ngo to x: (45) y: (-136)\n\nwhen I receive [new level 3 v]\nshow\ngo to x: (45) y: (-136)\n\n@Spike\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [new level v]\nnext costume\n\nwhen I receive [skip v]\nnext costume\n\nwhen backdrop switches to [b1 v]\nforever\n    if <(costume [number v]) = [11]> then\n        broadcast (Skip Button hide v)\n    end\nend\n\nwhen I receive [new level 2 v]\nswitch costume to (spike12 v)\nshow\ngo to x: (36) y: (28)\n\nwhen I receive [world1 v]\nswitch costume to (spike1 v)\nshow\ngo to x: (36) y: (28)\n\nwhen I receive [new level 2 v]\nswitch costume to (spike11 v)\nnext costume\n\nwhen I receive [new level 3 v]\nshow\nswitch costume to (spike22 v)\nnext costume\n\nwhen backdrop switches to [b1 v]\nforever\n    if <(costume [number v]) = [22]> then\n        broadcast (Skip Button hide v)\n    end\nend\n\nwhen backdrop switches to [b1 v]\nforever\n    if <(costume [number v]) = [28]> then\n        broadcast (Skip Button hide v)\n    end\nend\n\n@Eraser Trampoline!\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [new level v]\nnext costume\n\nwhen I receive [skip v]\nnext costume\n\nwhen I receive [new level 2 v]\nswitch costume to (e12 v)\nshow\ngo to x: (36) y: (28)\n\nwhen I receive [world1 v]\nswitch costume to (e1 v)\nshow\ngo to x: (36) y: (28)\n\nwhen I receive [new level 2 v]\nswitch costume to (e11 v)\nnext costume\n\nwhen I receive [new level 3 v]\nshow\nswitch costume to (e22 v)\nnext costume\n\n@Portal\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [new level v]\nnext costume\n\nwhen I receive [skip v]\nnext costume\n\nwhen I receive [new level 2 v]\nswitch costume to (portal12 v)\nshow\ngo to x: (36) y: (28)\n\nwhen I receive [world1 v]\nswitch costume to (portal v)\ngo to x: (36) y: (28)\nshow\n\nwhen I receive [new level 2 v]\nswitch costume to (portal11 v)\nnext costume\n\nwhen I receive [new level 3 v]\nswitch costume to (portal23 v)\nshow\ngo to x: (36) y: (28)\n\n@ORB\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [new level v]\nnext costume\n\nwhen I receive [skip v]\nnext costume\n\nwhen I receive [new level 2 v]\nswitch costume to (orb12 v)\nshow\ngo to x: (36) y: (28)\n\nwhen I receive [world1 v]\nswitch costume to (orb1 v)\nshow\n\nwhen I receive [new level 2 v]\nswitch costume to (orb11 v)\nnext costume\n\nwhen I receive [new level 3 v]\nshow\nswitch costume to (orb22 v)\nnext costume\n\n@Fruit Fly\n\nwhen flag clicked\nhide\n\nwhen I receive [new level 2 v]\nshow\nforever\n    glide (1.5) secs to (random position v)\nend\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [goodbye fly v]\nhide\n\n@Background stuff\n\nwhen flag clicked\nhide\n\nwhen I receive [new level 2 v]\nhide\n\nwhen I receive [menu v]\n\nhide\n\nwhen I receive [skip v]\nnext costume\n\nwhen backdrop switches to [world screen v]\ngo to x: (72) y: (-3)\nset [ghost v] effect to (75)\n\nwhen I receive [background thing change v]\nshow\nswitch costume to (bstuff2 v)\n\nwhen I receive [background thing hide v]\nhide\n\nwhen I receive [pipe line v]\n\nshow\nswitch costume to (bstuff3 v)\nclear graphic effects\nset [ghost v] effect to (30)\n\nwhen I receive [hide pipe line v]\nhide\n\n
MY NEXT GAME- Aqua lands || A Platformer!\nTHE GAME IS FINISHED!\nUse arrow keys to move! \nPlay on full screen\n[c] Switch costume!\nNON MOBILE FRIENDLY!\nYou might get stuck in the wall but just click the restart button.\nComment if you like it!\nPlease follow me: @HenryWolfe, @Pancham106 and @dmganc!