Platformer, a Platformer
@Stage\n\nwhen I receive [start game. v]\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nshow variable [level : v]\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [go to level 18 v]\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [finished v]\nhide variable [level : v]\nswitch backdrop to (backdrop4 v)\n\n@Player\n\ndefine platform physics (jump height) (gravity) (friction) (movement speed) (wall jump vm) (wall jump hm)\nchange y by (y vel)\nif <touching (ground v)?> then\n    repeat ([abs v] of (y vel) )\n        if <touching (ground v)?> then\n            change y by ((-1) * (([abs v] of (y vel) ) / (y vel)))\n        end\n    end\n    if <<<key (up arrow v) pressed?> or <<key (space v) pressed?> or <key (w v) pressed?>>> and <not <(y vel) > [0]>>> then\n        set [y vel v] to (jump height)\n    else\n        set [y vel v] to [0]\n    end\nelse\n    change [y vel v] by (gravity)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x vel v] by (movement speed)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x vel v] by ((-1) * (movement speed))\nend\nchange x by (x vel)\nif <touching (ground v)?> then\n    set [old y v] to (y position)\n    repeat (([abs v] of (x vel) ) + (1))\n        if <touching (ground v)?> then\n            change y by (1)\n        end\n    end\n    if <touching (ground v)?> then\n        set y to (old y)\n        repeat ([ceiling v] of ([abs v] of (x vel) ) )\n            if <touching (ground v)?> then\n                change x by ((-1) * (([abs v] of (x vel) ) / (x vel)))\n            end\n        end\n        if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <key (space v) pressed?>>> then\n            if <(x vel) < [0]> then\n                set [x vel v] to [0]\n                if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n                    set [x vel v] to (wall jump hm)\n                    set [y vel v] to (wall jump vm)\n                end\n            else\n                set [x vel v] to [0]\n                if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n                    set [x vel v] to ((-1) * (wall jump hm))\n                    set [y vel v] to (wall jump vm)\n                end\n            end\n        end\n    end\nend\nset [x vel v] to ((x vel) * (friction))\n\nwhen I receive [go to level 2 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 2 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 3 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 3 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 3 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 4 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 4 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 4 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (level 4 : part 2 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 4 : part 2 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (level 4: part 3 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 4: part 3 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 5 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 5 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 6 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 5 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [finished v]\nhide\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen I receive [go to level 6 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 6 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 7 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 7 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 7 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 8 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 8 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 8 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 9 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 9 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 10 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 10 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 11 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 11 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 12 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 11 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 10 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 9 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 12 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 13 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 12 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 13 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 14 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 13 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 14 v]\nset [key got v] to [0]\nwait (1) seconds\nforever\n    if <touching (key v)?> then\n        set [key got v] to [1]\n    end\n    if <<(Key got) = [1]> and <touching (base v)?>> then\n        broadcast (go to level 15 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nbroadcast (go to level 14: key v)\n\nwhen I receive [go to level 14 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 15 v]\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 15 v]\nswitch costume to (costume2 v)\nset [key got v] to [0]\nwait (1) seconds\nforever\n    if <touching (key v)?> then\n        set [key got v] to [1]\n    end\n    if <<(Key got) = [1]> and <touching (base v)?>> then\n        broadcast (go to level 16 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 15: key v]\n\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (finished v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 16 v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nrepeat (10)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nshow\nset [y vel v] to [0]\nset [x vel v] to [0]\nforever\n    platform physics (12) (-1) (0.9) (1) (8) (8)\nend\n\nbroadcast (go to level 15: key v)\n\nwhen I receive [mute v]\nforever\n    stop all sounds\nend\n\nwhen I receive [start game. v]\nforever\n    if <touching (red-ness v)?> then\n        go to x: (-192) y: (-73)\n    end\nend\n\nwhen I receive [start game. v]\nforever\n    if <touching (_edge_ v)?> then\n        go to x: (-192) y: (-73)\n    end\nend\n\nwhen I receive [start game. v]\nset size to (100) %\nforever\n    if <key (m v) pressed?> then\n        switch costume to (costume3 v)\n        wait (1) seconds\n        switch costume to (costume2 v)\n        set size to (50) %\n        change [pitch v] effect by (40)\n        set [pitch v] effect to (100)\n    end\nend\n\nwhen I receive [start game. v]\nrepeat until <(Level :) = [16]>\n    set volume to (100000000) %\n    play sound [Grieg - In the Hall of the Mountain King v] until done\nend\n\nwhen I receive [start game. v]\nset [key got v] to [0]\nforever\n    if <touching (portal : 1 v)?> then\n        go to (portal : 2 v)\n    end\nend\n\nwhen I receive [start game. v]\nshow variable [level : v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 2 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [start game. v]\nset [level : v] to [1]\ngo to x: (-192) y: (-73)\nswitch costume to (costume2 v)\nshow\nset [y vel v] to [0]\nset [x vel v] to [0]\nforever\n    platform physics (12) (-1) (0.9) (1) (8) (8)\nend\n\nwhen I receive [start game. v]\nswitch costume to (costume2 v)\nforever\n    if <touching (key v)?> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n    end\nend\n\nwhen I receive [go to level 16 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 17 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 17 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (go to level 18 v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go to level 17 v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen flag clicked\nhide variable [level : v]\nforever\n    if <touching (jump-pad v)?> then\n        platform physics (24) (-1) (0.9) (1) (8) (8)\n    end\nend\n\ngo to (base v)\n\nwhen I receive [go to level 18 v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (-73)\nstop [this script v]\n\nwhen I receive [go to level 18 v]\nwait (1) seconds\nforever\n    if <touching (base v)?> then\n        broadcast (finished v)\n        change [level : v] by (1)\n        stop [this script v]\n    end\nend\n\n@Ground\n\nwhen I receive [go to level 2 v]\nswitch costume to (costume2 v)\n\nwhen I receive [go to level 3 v]\nswitch costume to (costume3 v)\n\nwhen I receive [go to level 4 v]\nswitch costume to (costume4 v)\n\nwhen I receive [go to level 5 v]\nswitch costume to (costume1 v)\n\nwhen I receive [go to level 6 v]\nswitch costume to (costume5 v)\n\nwhen I receive [finished v]\nhide\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen I receive [go to level 7 v]\nswitch costume to (costume6 v)\n\nwhen I receive [go to level 8 v]\nswitch costume to (costume7 v)\n\nwhen I receive [go to level 9 v]\nswitch costume to (costume8 v)\n\nwhen I receive [go to level 10 v]\nswitch costume to (costume9 v)\n\nwhen I receive [go to level 11 v]\nswitch costume to (costume10 v)\n\nwhen I receive [go to level 12 v]\nswitch costume to (costume11 v)\n\nwhen I receive [go to level 13 v]\nswitch costume to (costume12 v)\n\nwhen I receive [go to level 14 v]\nswitch costume to (costume13 v)\n\nwhen I receive [go to level 15 v]\nswitch costume to (costume14 v)\n\nwhen I receive [start game. v]\ngo to x: (2) y: (14)\nswitch costume to (costume1 v)\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [go to level 16 v]\nswitch costume to (costume15 v)\n\nwhen I receive [go to level 17 v]\nswitch costume to (costume16 v)\n\nwhen I receive [go to level 18 v]\nswitch costume to (costume1 v)\n\n@Comment\n\nwhen I receive [go to level 2 v]\nswitch costume to (costume2 v)\n\nwhen I receive [go to level 3 v]\nswitch costume to (costume3 v)\n\nwhen I receive [go to level 4 v]\nswitch costume to (costume4 v)\n\nwhen I receive [level 4 : part 2 v]\nswitch costume to (costume5 v)\n\nwhen I receive [level 4: part 3 v]\nswitch costume to (costume6 v)\n\nwhen I receive [go to level 5 v]\nswitch costume to (costume7 v)\n\nwhen I receive [finished v]\nhide\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen I receive [go to level 6 v]\nswitch costume to (costume8 v)\n\nwhen I receive [go to level 7 v]\nswitch costume to (costume9 v)\n\nwhen I receive [go to level 8 v]\nswitch costume to (costume11 v)\n\nwhen I receive [go to level 9 v]\nswitch costume to (costume12 v)\n\nwhen I receive [go to level 10 v]\nswitch costume to (costume13 v)\n\nwhen I receive [go to level 11 v]\nswitch costume to (costume14 v)\n\nwhen I receive [go to level 12 v]\nswitch costume to (costume15 v)\n\nwhen I receive [go to level 13 v]\nswitch costume to (costume16 v)\n\nwhen I receive [go to level 14 v]\nswitch costume to (costume17 v)\n\nforever\n    stop all sounds\nend\n\nwhen I receive [go to level 15 v]\nswitch costume to (costume18 v)\n\nwhen I receive [start game. v]\nhide variable [death count v]\nshow\ngo to x: (5) y: (33)\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [go to level 16 v]\nswitch costume to (costume19 v)\n\nwhen I receive [go to level 17 v]\nswitch costume to (costume20 v)\n\nwhen I receive [go to level 18 v]\nswitch costume to (costume21 v)\n\n@Base\n\nwhen I receive [level 4 : part 2 v]\ngo to x: (7) y: (0)\n\nwhen I receive [level 4: part 3 v]\ngo to x: (182) y: (121)\n\nwhen I receive [go to level 5 v]\ngo to x: (197) y: (-152)\n\nwhen I receive [finished v]\nhide\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen I receive [go to level 6 v]\ngo to x: (-205) y: (-18)\n\nwhen I receive [go to level 7 v]\ngo to x: (171) y: (128)\n\nwhen I receive [go to level 8 v]\ngo to x: (171) y: (135)\n\nwhen I receive [go to level 9 v]\ngo to x: (197) y: (-152)\n\nwhen I receive [go to level 11 v]\ngo to x: (197) y: (-148)\n\nwhen I receive [go to level 12 v]\ngo to x: (197) y: (-152)\n\nwhen I receive [go to level 13 v]\ngo to x: (215) y: (175)\n\nwhen I receive [go to level 14 v]\nswitch costume to (costume2 v)\ngo to x: (197) y: (-152)\n\nwhen I receive [go to level 15 v]\nswitch costume to (costume2 v)\ngo to x: (234) y: (-8)\n\nwhen I receive [start game. v]\nswitch costume to (costume1 v)\nshow\ngo to x: (197) y: (-152)\nwait (0.001) seconds\ngo to x: (197) y: (-152)\n\nwhen I receive [start game. v]\nwait (1) seconds\nforever\n    if <(Level :) = [4]> then\n        change y by (5)\n        stop [this script v]\n    end\nend\n\nwhen I receive [start game. v]\nwait (1) seconds\nforever\n    if <(Level :) = [5]> then\n        go to x: (197) y: (-152)\n        stop [this script v]\n    end\nend\n\nwhen I receive [start game. v]\nwait (1) seconds\nforever\n    if <(Level :) = [2]> then\n        change y by (5)\n        stop [this script v]\n    end\nend\n\nwhen I receive [start game. v]\nwait (1) seconds\nforever\n    if <(Level :) = [3]> then\n        go to x: (197) y: (-152)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [go to level 16 v]\nswitch costume to (costume1 v)\ngo to x: (39) y: (-37)\n\nwhen I receive [go to level 17 v]\nswitch costume to (costume1 v)\ngo to x: (203) y: (-147)\n\nwhen I receive [go to level 18 v]\ngo to x: (197) y: (-152)\n\n@Red-ness\n\nwhen I receive [go to level 5 v]\nshow\npoint in direction (90)\nrepeat until <(Level :) = [6]>\n    repeat (15)\n        change y by (4)\n    end\n    repeat (15)\n        change y by (4)\n    end\n    repeat (15)\n        change y by (-4)\n    end\n    repeat (15)\n        change y by (-4)\n    end\nend\nhide\nrepeat (10)\n    stop [this script v]\nend\nstop [this script v]\n\nwhen I receive [finished v]\nhide\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen I receive [go to level 6 v]\nhide\nstop [other scripts in sprite v]\ngo to x: (-40) y: (-100)\nswitch costume to (costume2 v)\ngo to [front v] layer\nshow\n\nwhen I receive [go to level 7 v]\nswitch costume to (costume1 v)\ngo to x: (-40) y: (-90)\nshow\nrepeat until <(Level :) = [8]>\n    repeat (20)\n        change y by (4)\n    end\n    repeat (20)\n        change y by (4)\n    end\n    repeat (20)\n        change y by (-4)\n    end\n    repeat (20)\n        change y by (-4)\n    end\nend\nhide\nrepeat (10)\n    stop [this script v]\nend\nstop [this script v]\n\nwhen I receive [go to level 8 v]\nhide\nstop [other scripts in sprite v]\ngo to x: (0) y: (-100)\nswitch costume to (costume3 v)\ngo to [front v] layer\nshow\n\nwhen I receive [go to level 9 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [go to level 10 v]\ngo to x: (0) y: (-15)\nset size to (250) %\nswitch costume to (costume4 v)\nshow\nforever\n    turn right (-4) degrees\nend\n\nwhen I receive [go to level 11 v]\npoint in direction (90)\nset size to (100) %\nhide\nstop [other scripts in sprite v]\ngo to x: (0) y: (-84)\nswitch costume to (costume5 v)\ngo to [front v] layer\nshow\n\nwhen I receive [go to level 12 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [go to level 13 v]\nhide\nstop [other scripts in sprite v]\ngo to x: (26) y: (-68)\nswitch costume to (costume6 v)\nshow\n\nwhen I receive [go to level 13 v]\ngo to x: (1) y: (-81)\nswitch costume to (costume6 v)\nshow\n\nwhen I receive [go to level 14 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [go to level 15 v]\ngo to x: (18) y: (-83)\nstop [other scripts in sprite v]\nswitch costume to (costume7 v)\nshow\n\nwhen I receive [start game. v]\nset size to (100) %\npoint in direction (90)\nhide\nswitch costume to (costume1 v)\ngo to x: (18) y: (-147)\n\nwhen flag clicked\nhide\n\nwhen I receive [go to level 16 v]\nswitch costume to (costume8 v)\nshow\n\nwhen I receive [go to level 17 v]\nswitch costume to (costume9 v)\nshow\n\nwhen I receive [go to level 18 v]\nhide\nstop [other scripts in sprite v]\n\n@Thumbnail\n\nshow\nhide variable [level : v]\nbroadcast (hide for thumbnail v)\n\nwhen flag clicked\nhide\n\nbroadcast (go to level 16 v)\n\n@Portal : 1\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen I receive [go to level 9 v]\ngo to x: (-8) y: (-113)\nshow\n\nwhen I receive [finished v]\nhide\n\nwhen I receive [go to level 10 v]\nhide\n\nwhen I receive [go to level 11 v]\ngo to x: (-226) y: (71)\nshow\n\nwhen I receive [go to level 12 v]\nhide\n\nforever\n    stop all sounds\nend\n\nwhen I receive [go to level 15 v]\ngo to x: (42) y: (-116)\nshow\n\nwhen I receive [go to level 16 v]\nhide\n\n@Portal : 2\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen I receive [go to level 9 v]\ngo to x: (84) y: (119)\nshow\n\nwhen I receive [finished v]\nhide\n\nwhen I receive [go to level 10 v]\nhide\n\nwhen I receive [go to level 11 v]\ngo to x: (189) y: (132)\nshow\n\nwhen I receive [go to level 12 v]\nhide\n\nwhen I receive [go to level 15 v]\ngo to x: (135) y: (-109)\nshow\n\nwhen I receive [go to level 16 v]\nhide\n\n@Key\n\nwhen flag clicked\nhide\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen I receive [go to level 14 v]\ngo to x: (-38) y: (-19)\nshow\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        wait (0.1) seconds\n        hide\n    end\nend\n\nwhen I receive [go to level 15 v]\ngo to x: (-228) y: (15)\nshow\n\n@Sound\n\nwhen I receive [hide for thumbnail v]\nhide\n\nif <(Sound: 1, Mute, 0, No Mute) = [1]> then\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        switch costume to (unmute v)\n        set [sound: 1, mute, 0, no mute v] to [0]\n        broadcast (UNMUTE v)\n    else\n        set size to (115) %\n    end\nend\n\nwhen I receive [start game. v]\ngo to x: (221) y: (157)\nswitch costume to (unmute v)\nset [sound: 1, mute, 0, no mute v] to [0]\nset size to (100) %\nshow\nforever\n    if <(Sound: 1, Mute, 0, No Mute) = [0]> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            switch costume to (mute v)\n            set [sound: 1, mute, 0, no mute v] to [1]\n            broadcast (MUTE v)\n            wait (1) seconds\n        else\n            set size to (115) %\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\n@Snow\n\nwhen I receive [finished v]\nhide\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen flag clicked\n\nhide\nforever\n    wait (0.3) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen I start as a clone\ngo to x: (pick random (-240) to (240)) y: (170)\nshow\nrepeat until <<touching (snow2 v)?> or <touching (ground v)?>>\n    change y by (-2)\nend\nwait (12) seconds\nhide\n\nwhen I start as a clone\nforever\n    if <not <<touching (ground v)?> or <touching (snow2 v)?>>> then\n        change y by (-2)\n    end\nend\n\n@Words\n\nwhen flag clicked\nwait (0.01) seconds\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\nwhen I receive [text in v]\nrepeat (100)\n    change [ghost v] effect by (-2)\nend\nbroadcast (Start Game. v)\n\nwhen I receive [start game. v]\nhide\n\nwhen I receive [hide for thumbnail v]\nhide\n\n@GIF\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [turn v] to [0]\nset size to (1) %\nrepeat (100)\n    change [turn v] by (1)\n    turn right (turn) degrees\n    change size by (1)\nend\npoint in direction (90)\nbroadcast (TEXT IN v)\n\nwhen I receive [start game. v]\nhide\n\nwhen I receive [hide for thumbnail v]\nhide\n\n@Jump-pad\n\nwhen I receive [hide for thumbnail v]\nhide\n\nwhen I receive [finished v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [go to level 17 v]\ngo to x: (42) y: (10)\nshow\n\nwhen I receive [go to level 18 v]\nhide\n\n
Platformer, a Platformer\n---------------------------------------------------------------\nWelcome to another one of those platformers! This one is no different, but play it anyway!\n\nTry not to touch the edge or the red stuff as you try to touch the base at the end of the each level. Good luck!\n---------------------------------------------------------------\nCredits : @Fireboss8400, @Da_Dragonz, @treetrampler, @Dachumps1, @DemonKing2020, @DaGAammer, @DVXL and especially thanks to @codertheoriginal who gave me the actual platformer script, who got it from @PullJosh.\n\n\n-------------------------------------------------------------------------\nMusic : Hall of the Mountain King \n\n\n#games #platformer  