Evolution the Platformer
@Stage\n\nwhen I receive [fart v]\nnext backdrop\n\nwhen I receive [asd v]\n\n@cube\n\nwhen flag clicked\ngo to x: (-200) y: (0)\npoint in direction (90)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.88))\n    change x by (x)\n    if <touching (levels v)?> then\n        fast\n        if <touching (levels v)?> then\n            change y by (-6)\n            xcoll\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [y v] to [10.5]\n                if <([abs v] of (y) ) = (y)> then\n                    set [y v] to [8]\n                else\n                    set [y v] to [8]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (y)\n    if <touching (levels v)?> then\n        ycoll\n    end\nend\n\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(y) < [0]>> then\n    set [y v] to [13]\nelse\n    set [y v] to [0]\nend\nif <key (r v) pressed?> then\n    go to x: (-179) y: (-123)\nend\n\ndefine fast\nrepeat (6)\n    if <touching (levels v)?> then\n        change y by (1)\n    end\nend\n\ndefine ycoll\nrepeat until <not <touching (levels v)?>>\n    if <(y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\ndefine xcoll\nrepeat until <not <touching (levels v)?>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\nwhen flag clicked\nswitch costume to (cube 2 v)\n\nwhen flag clicked\nforever\n    wait (0.3) seconds\n    if <touching (sprite1 v)?> then\n        broadcast (Level v)\n    end\nend\n\nif <(x position) > [230]> then\n    next backdrop\nend\n\nwhen I receive [fart v]\ngo to x: (-179) y: (-123)\nif <touching (sprite1 v)?> then\n    go to x: (-179) y: (-123)\nend\n\nwhen backdrop switches to [backdrop3 v]\nswitch costume to (cube 3 v)\n\nwhen flag clicked\nforever\n    if <touching (sprite2 v)?> then\n        broadcast (HARDER v)\n    end\nend\n\nwhen I receive [harder v]\ngo to x: (-185) y: (-151)\n\nwhen backdrop switches to [backdrop1 v]\nforever\n    wait (1) seconds\n    change [my variable v] by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite4 v)?> then\n        broadcast (asd v)\n        glide (0.5) secs to x: (-171) y: (98)\n        glide (0.5) secs to x: (-184) y: (187)\n        glide (0.5) secs to x: (-143) y: (155)\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (costume2 v)\n\nswitch costume to (costume2 v)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (75)\nshow\nwait (0.1) seconds\ndelete this clone\n\nwhen flag clicked\n\ngo to x: (-179) y: (-152)\n\nwhen flag clicked\nforever\n    set volume to (75) %\n    play sound [Dance Funky v] until done\n    if <key (space v) pressed?> then\n        set volume to (0) %\n        if <key (p v) pressed?> then\n            set volume to (75) %\n        end\n    end\nend\n\nwhen flag clicked\nif <(☁ world record) = [0]> then\n    set [☁ world record v] to [30]\nend\n\nwhen backdrop switches to [costume5 v]\nforever\n    if <(☁ world record) > (timer)> then\n        set [☁ world record v] to (timer)\n    end\nend\n\n@Levels\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [level v]\nnext costume\nbroadcast (Fart v)\n\nforever\n\n@Sprite1\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen backdrop switches to [think v]\nrepeat (100)\n    show\nend\n\nwhen backdrop switches to [backdrop5 v]\nrepeat (100)\n    show\n    switch costume to (costume3 v)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (costume4 v)\n\nwhen backdrop switches to [costume5 v]\nforever\n    hide\nend\n\nwhen backdrop switches to [backdrop4 v]\nrepeat (100)\n    hide\nend\n\nwhen backdrop switches to [backdrop2 v]\nrepeat (50)\n    show\n    switch costume to (costume5 v)\nend\n\nwhen backdrop switches to [backdrop3 v]\nrepeat (100)\n    hide\nend\n\nwhen backdrop switches to [costume5 v]\nrepeat (100)\n    hide\nend\n\nwhen backdrop switches to [backdrop4 v]\nrepeat (100)\n    show\n    switch costume to (costume2 v)\nend\n\n@Sprite3\n\nwhen backdrop switches to [backdrop1 v]\nforever\n    wait (1) seconds\n    change [timer v] by (1)\nend\n\nwhen backdrop switches to [costume5 v]\nforever\n    wait (1) seconds\n    change [timer v] by (-1)\nend\n\nwhen flag clicked\nset [timer v] to [0]\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen I receive [asd v]\nhide\n\n
\n\nFOLLOW AND JOIN MY STUDIO https://scratch.mit.edu/studios/29067805/  (I don't care if you advertise).`Welcome to the beta version of the first evolution of the hopefully long series. This is my first ever actual creation on scratch I stole code from a billion people and it still is very glitchy and it still is completely horrible. I have no idea how to create half-decent art so not only is it a horrible game It looks bad too. Use WASD to move or arrow keys to move. press r to restart the level if something is glitched click the green arrow twice to fix it.