draw a platformer ||contest entry|| #trending #games #music
@Stage\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [Vexento - Pixel Party v] until done\nend\n\nwhen I receive [end v]\nstop all sounds\nplay sound [Minecraft - Piano 3 v] until done\n\n@pen\n\nwhen I receive [play v]\nset pen size to (15)\nerase all\nwait (0.02) seconds\nforever\n    if <not <(level) = [21]>> then\n        pen up\n        if <mouse down?> then\n            if <touching (protect player v)?> then\n                pen up\n            else\n                pen down\n            end\n        end\n        go to x: (mouse x) y: (mouse y)\n    else\n        pen up\n    end\nend\n\nwhen flag clicked\nbroadcast (play v)\n\nwhen I receive [new level v]\nerase all\n\nwhen flag clicked\nforever\n    set pen color to (#654d4d)\nend\n\n@text\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to [front v] layer\n\nwhen I receive [new level v]\nnext costume\n\nwhen I receive [end v]\nhide\n\n@Player\n\nwhen flag clicked\nbroadcast (play v)\n\nwhen I receive [play v]\nset volume to (80) %\nhide\nshow\ngo to x: (-207) y: (70)\nforever\n    set [x v] to [0]\n    set [y v] to [0]\n    forever\n        change [y v] by (-1)\n        set [x v] to ((x) * (0.9))\n        if <key (right arrow v) pressed?> then\n            change [x v] by (1)\n        end\n        if <key (left arrow v) pressed?> then\n            change [x v] by (-1)\n        end\n        change x by (x)\n        if <<touching (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (1)\n        end\n        if <<touching (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (1)\n        end\n        if <<touching (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (1)\n        end\n        if <<touching (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (1)\n        end\n        if <<touching (platforms v)?> or <touching color (#654d4d)?>> then\n            change y by (-4)\n            change x by ((x) * (-1))\n            if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n                set [y v] to [8]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-4]\n                else\n                    set [x v] to [4]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n        change y by (y)\n        if <<touching (platforms v)?> or <<touching color (#00b543)?> or <touching color (#654d4d)?>>> then\n            change y by ((y) - ((y) * (2)))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<key (up arrow v) pressed?> and <<touching (platforms v)?> or <touching color (#654d4d)?>>> then\n            broadcast (jump v)\n            change [y v] by (14)\n        end\n        change y by (1)\n        if <<not <<(level) = [5]> or <(level) = [13]>>> or <(level) = [16]>> then\n            if <(y position) < [-179]> then\n                broadcast (play v)\n            end\n        else\n            if <(y position) < [-179]> then\n                change [level v] by (1)\n                broadcast (new level v)\n            end\n        end\n        if <touching (dangers v)?> then\n            broadcast (play v)\n        end\n        if <touching (bounce v)?> then\n            change [y v] by (32)\n        end\n        if <(level) = [8]> then\n            if <(y position) > [175]> then\n                change [level v] by (1)\n                broadcast (new level v)\n            end\n        end\n        if <(level) = [16]> then\n            if <(x position) < [-230]> then\n                change [level v] by (1)\n                broadcast (new level v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [end v] to [0]\nshow variable [time v]\nset [time v] to [0]\nhide\n\nwhen flag clicked\nforever\n    if <touching (lava v)?> then\n        go to x: (-207) y: (70)\n        erase all\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (line v)?> then\n        go to x: (-207) y: (70)\n        erase all\n    end\nend\n\nwhen I receive [reset v]\ngo to x: (-207) y: (70)\n\nwhen flag clicked\nforever\n    if <touching (line 2 v)?> then\n        broadcast (new level v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (line 2 for line 1 v)?> then\n        go to x: (-207) y: (70)\n        erase all\n    end\nend\n\nwhen I receive [end v]\nhide variable [time v]\nhide\n\nwhen I receive [end v]\nset [end v] to [1]\n\nwhen flag clicked\nforever\n    if <touching (line 3 v)?> then\n        go to x: (-207) y: (70)\n        erase all\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (line start v)?> then\n        broadcast (new level v)\n    end\nend\n\nwhen I receive [new level v]\ngo to x: (-207) y: (70)\n\n@platforms\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nswitch costume to (1 v)\n\nwhen I receive [new level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [4]> then\n        broadcast (lava v)\n    else\n        broadcast (hide lava v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (line 2 v)\n    else\n        broadcast (hide line 2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\n        broadcast (show line 2 1 v)\n    else\n        broadcast (hide line 2 1 v)\n    end\nend\n\nwhen flag clicked\nwait until <(costume [number v]) = [13]>\nif <(costume [number v]) = [13]> then\n    broadcast (end v)\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (show lin 3 v)\n    else\n        broadcast (hide line 3 v)\n    end\nend\n\n@lava\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [lava v]\nshow\n\nwhen I receive [hide lava v]\nhide\n\nwhen I receive [end v]\nhide\n\n@reset button\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (2) y: (-2)\nshow\n\nwhen this sprite clicked\nbroadcast (reset v)\nerase all\n\nwhen I receive [end v]\nhide\n\n@end\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (17) y: (-18)\nhide\nswitch costume to (end v)\n\nwhen I receive [not end v]\nhide\n\nwhen I receive [end v]\nshow\nwait (2) seconds\nglide (10) secs to x: (17) y: (371)\nbroadcast (end 2 v)\nglide (10) secs to x: (7) y: (693)\nhide\n\nwhen I receive [end v]\n\nbroadcast (real end v)\n\n@end2\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (4) y: (-364)\nswitch costume to (end2 v)\nhide\n\nwhen I receive [end 2 v]\nshow\nglide (21) secs to x: (4) y: (343)\n\nwhen I receive [not end v]\nhide\n\ngo to x: (17) y: (-298)\n\n@thumpnail\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n@time\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\n\n@world record\n\nwhen flag clicked\nshow variable [wr v]\n\nwhen I receive [end v]\nwait (1) seconds\nhide variable [wr v]\n\nwhen I receive [end v]\nforever\n    if <(time) < (WR)> then\n        set [wr v] to (time)\n    end\nend\n\n@line\n\nwhen I receive [reset v]\nshow\n\nwhen I receive [hide line v]\nhide\n\nwhen flag clicked\ngo to x: (45) y: (-176)\nshow\n\nwhen I receive [end v]\nhide\n\nwhen I receive [line 2 v]\nhide\n\n@line 2 for line 1\n\nwhen I receive [show line 2 1 v]\nshow\n\nwhen I receive [hide line 2 1 v]\nhide\n\nwhen flag clicked\ngo to x: (-29) y: (-179)\n\nwhen I receive [end v]\nhide\n\n@line 3\n\nwhen I receive [show lin 3 v]\nshow\n\nwhen I receive [hide line 3 v]\nhide\n\nwhen flag clicked\ngo to x: (-29) y: (-179)\nshow\n\nwhen I receive [end v]\nhide\n\n@line 2\n\nwhen I receive [line 2 v]\nshow\n\nwhen I receive [hide line 2 v]\nhide\n\nwhen flag clicked\ngo to x: (-4) y: (-175)\nhide\n\nwhen I receive [end v]\nhide\n\n@line start\n\nwhen I receive [line 2 v]\nhide\n\nwhen I receive [hide line 2 1 v]\nshow\n\nhide\n\nwhen flag clicked\ngo to x: (262) y: (37)\nshow\n\nwhen I receive [end v]\nhide\n\n
draw a platformer by @-mrme-\n----------------------------------------------------------------------------\n⚠PEOPLE USE ARROW KEYS⚠\n\ndraw a platformer 2 https://scratch.mit.edu/projects/829857026/\n\ndraw a platformer 3\nhttps://scratch.mit.edu/projects/869149733/\n\ndraw your way to the finish line!\n\ni'm so happy to have made a new project :)\n\ncan you beat my score 20 (did not make it WR because it seams a bit unfair because i made the project and i want the WR to be only you guys)\n----------------------------------------------------------------------------\n                              how to play\narrow keys to move\nmouse down to draw\ndon't use touch to draw\n----------------------------------------------------------------------------\n2 time record holder @KevLeCodeur (the god of this game)\n----------------------------------------------------------------------------\n@Nerdimations and @-AshGames loved!\n\nif you liked it plz love and fave :)\n1000 loves ill make part 2 :p\n\nif you add this to 15 studios then comment fan club then you will be invited to my fan club!\n\n                             (brag warning)\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\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\n\n\n\n\n(sorry for bragging) \n50,000 views in 7 days :O\ntop loved\nthanks for 200 loves in a day\n1st page on music 1st page on games\n1000 loves in 5 days\n5829 most viewed project on scratch :)