The Test (mobile friendly platformer) #All #Games 
@Stage\n\n@Character\n\ndefine Restart\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (0)\n\ndefine Physics\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n    change [x v] by (2)\n    switch costume to (costume3 v)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n    change [x v] by (-2)\n    switch costume to (costume2 v)\nend\nchange x by (X)\nif <touching (level v)?> then\n    change x by ((X) * (-1))\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        if <(X) > [0]> then\n            set [x v] to [-10]\n            set [y v] to [10]\n        else\n            set [y v] to [10]\n            set [x v] to [10]\n        end\n    else\n        set [x v] to [0]\n    end\nelse\n    set [x v] to ((X) * (0.8))\nend\nchange y by (Y)\nif <touching (level v)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        if <(Jumping?) = (Y)> then\n            set [y v] to [12]\n            set [jumping? v] to [n]\n        end\n    end\nelse\n    change [y v] by (-1.79)\n    set [jumping? v] to [Y]\nend\nif <(x position) > [225]> then\n    change [level v] by (1)\n    change [lava v] by (1)\n    Restart\nend\nif <touching (lava v)?> then\n    Restart\nend\n\nwhen flag clicked\nRestart\nshow\nset [level v] to [1]\nforever\n    Physics\nend\n\ndefine Slope detection\nset [slope v] to [0]\nrepeat until <<(Slope) = [8]> or <not <touching (level v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <touching (level v)?> then\n    change y by (-8)\nend\n\nwhen flag clicked\nforever\n    hide variable [jumping? v]\n    hide variable [level v]\n    hide variable [slope v]\n    hide variable [x v]\n    hide variable [y v]\n    hide variable [lava v]\n    hide variable [cheat code v]\nend\n\nwhen flag clicked\nif <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n    set [y v] to [0]\n    repeat (3)\n        change [y v] by (3)\n    end\n    repeat (0)\n        change [y v] by (-3)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        change [y v] by (15)\n        wait (0.45) seconds\n    end\nend\n\nwhen I receive [cheat code v]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        change [x v] by (6)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        change [x v] by (-6)\n    end\nend\n\nwhen I receive [jumping cheat code v]\nforever\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        set [y v] to [0]\n        repeat (4)\n            change [y v] by (4)\n        end\n        repeat (0)\n            change [y v] by (-4)\n        end\n    end\nend\n\nwhen I receive [superhero v]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (costume4 v)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (costume5 v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume3 v)\n\nwhen I receive [batman/ninja/villian v]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (costume6 v)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (costume7 v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [garena-band-profile_the-script-hall-of-fame-ft-will-i-am-mp3-3-56-mb v] until done\nend\n\nwhen I receive [among us costume v]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (costume8 v)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (costume9 v)\n    end\nend\n\n@Level\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\nforever\n    switch costume to (Level)\nend\n\n@Lava\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset [lava v] to [1]\nshow\nforever\n    switch costume to (Lava)\nend\n\n@Sprite1\n\nwhen this sprite clicked\nask [What’s the cheat code?] and wait\nforever\n    if <<(answer) = [RSTFROGFQS]> or <<(answer) = [HRTYUTEHFE]> or <<(answer) = [GFDSRJKLHP]> or <<(answer) = [KLJHBNMCVA]> or <(answer) = [BHGFXDSEWQ]>>>>> then\n        broadcast (Cheat code v)\n    end\n    if <<(answer) = [WHFGITHFDT]> or <<(answer) = [TERWASBVXZ]> or <<(answer) = [KLMONBVCRT]> or <<(answer) = [JKLHGFDCVB]> or <(answer) = [PKLHGYUINA]>>>>> then\n        broadcast (Jumping cheat code v)\n    end\n    if <(answer) = [STRYFGHWFG]> then\n        broadcast (Superhero v)\n    end\n    if <(answer) = [SUVILIONET]> then\n        broadcast (Batman/ninja/Villian v)\n    end\n    if <(answer) = [AMONGUSGUY]> then\n        broadcast (Among us costume v)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\n
For mobile:Press on the right side to go right and left to go left.    For computer:Arrow keys and WASD\nIf you have cheat codes DO NOT tell them in the comments if you want to ruin someone’s day then......\nHow to get the among us skin?\nGo here: https://scratch.mit.edu/studios/27858735\nAnd read the instructions there\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nWhat else are you looking for?\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nScroll up\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThere is nothing down there\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nOk fine here is a Batman/ninja/villian code:SUVILIONE*\nBut guess the last digit\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nWell hello again.....\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nOk that’s enough now\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nBye..........