BLANK WORLD: A platformer                #Games #All

Instructions: \nI released the sequel! Make sure to check it out on my profile!\nI CHANGED THE PLAYER SPEED SO HE GOES FASTER\n-WOW! Over 10000 views, and number 12 on games trending! I never thought so many people would see this. Thanks for all your support everybody!-\nThe beautiful land of Scratch has been cursed! Now, there is not a single drop of color except you.\n-If this gets 200 likes I'll make a sequel\n-AVOID SPIKES AND LAVA (gray things)\n-Use arrow keys and WASD to move\nPlease like, fav, and follow. This is my first project.

@Stage\n\nwhen flag clicked\nforever\n    switch backdrop to (trees v)\n    play sound [ v] until done\nend\n\n@player\n\nwhen flag clicked\nset size to (100) %\nset rotation style [left-right v]\ngo to x: (-207) y: (-10)\nshow\nset [speed y v] to [0]\nset [falling? v] to [10]\nforever\n    change [speed y v] by (-1)\n    change y by (speed y)\n    touch ground <(speed y) > [0]>\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        walk [-90] [-7]\n    end\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        walk [90] [7]\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(falling?) < [3]>> then\n        set [speed y v] to [16]\n    end\n    if <(y position) < [-180]> then\n        go to x: (-207) y: (-10)\n        set [speed y v] to [0]\n    end\nend\n\ndefine touch ground <up?>\nchange [falling? v] by (1)\nrepeat until <not <touching (ground v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (ground v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [245]> then\n        go to x: (-207) y: (-10)\n        change [level v] by (1)\n    end\n    if <touching (bad guyz v)?> then\n        go to x: (-207) y: (-117)\n        play sound [die v] until done\n    end\nend\n\n@ground\n\n@bad guyz\n\nwhen flag clicked\nset [level v] to [1]\nswitch costume to (1 v)\ngo to x: (-77) y: (-110)\nforever\n    if <(level) = [1]> then\n        switch costume to (1 v)\n        go to x: (-77) y: (-110)\n    end\n    if <(level) = [2]> then\n        switch costume to (2 v)\n        go to x: (-77) y: (-110)\n    end\n    if <(level) = [3]> then\n        switch costume to (3 v)\n        go to x: (-77) y: (-110)\n    end\n    if <(level) = [4]> then\n        switch costume to (4 v)\n        go to x: (-77) y: (-110)\n    end\n    if <(level) = [5]> then\n        switch costume to (5 v)\n        go to x: (-77) y: (-110)\n    end\n    if <(level) = [6]> then\n        switch costume to (6 v)\n        go to x: (-77) y: (-110)\n    end\n    if <(level) = [7]> then\n        switch costume to (7 v)\n        go to x: (-77) y: (-110)\n    end\n    if <(level) = [8]> then\n        switch costume to (8 v)\n        go to x: (-77) y: (-110)\n    end\n    if <(level) = [9]> then\n        switch costume to (9 v)\n        go to x: (-77) y: (-110)\n    end\n    if <(level) = [10]> then\n        switch costume to (10 v)\n        go to x: (-77) y: (-110)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    hide\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    repeat until <(level) = [10]>\n        hide\n    end\n    if <(level) = [10]> then\n        show\n    end\nend\n\n