The Platformer Part 6 | #games #all 

Instructions: PART 6\nPart 3: The Island\nhttps://scratch.mit.edu/projects/647783013/\nPart 2:The Forest https://scratch.mit.edu/projects/647728120/\n\nSTORY:\nBot 3458x3E41 (You) is sent to explore this wasteland and make it throught obstacles to get to the end.\n\nCONROLLS\nWASD to move complete the obstacles to win!\nPress r to reset if needed :）

@Stage\n\nwhen flag clicked\nforever\n    if <<[235] < (x position)> or <(x position) = [235]>> then\n        go to x: (-201) y: (-93)\n        switch backdrop to (1 v)\n    end\n    if <touching color (#bababa)?> then\n        go to x: (-201) y: (-93)\n    end\nend\n\n@ghhjygry\n\ndefine handle ground <moving up>\nrepeat until <not <touching color (#008da3)?>>\n    if <moving up> then\n        change y by (-5)\n    else\n        change y by (1)\n        set [in air? v] to [0]\n    end\n    set [y vel v] to [0]\nend\n\ndefine walk (steps)\nchange x by (steps)\nset [ground lift v] to [0]\nrepeat until <<not <touching color (#008da3)?>> or <(ground lift) = [8]>>\n    change y by (1)\n    change [ground lift v] by (1)\nend\nif <(ground lift) = [8]> then\n    change x by ((-1) * (steps))\n    change y by (-8)\nend\n\nwhen flag clicked\nshow\ngo to x: (-201) y: (-93)\nset rotation style [left-right v]\nset [y vel v] to [0]\nforever\n    change [y vel v] by (-2)\n    change y by (Y Vel)\n    change [in air? v] by (1)\n    handle ground <[0] < (Y Vel)>\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    if <key (a v) pressed?> then\n        walk [-7]\n    end\n    if <key (d v) pressed?> then\n        walk [7]\n    end\n    if <<key (w v) pressed?> and <(In Air?) < [8]>> then\n        set [y vel v] to [14]\n    end\n    if <<[235] < (x position)> or <(x position) = [235]>> then\n        next backdrop\n        go to x: (-201) y: (-93)\n    end\n    if <touching color (#7aeaf0)?> then\n        go to x: (-201) y: (-93)\n    end\nend\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (0)\nset size to (100) %\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\nhide\ndelete this clone\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-201) y: (-93)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (t v)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    if <key (left arrow v) pressed?> then\n        walk [-7]\n    end\n    if <key (right arrow v) pressed?> then\n        walk [7]\n    end\n    if <<key (up arrow v) pressed?> and <(In Air?) < [8]>> then\n        set [y vel v] to [14]\n    end\n    if <<[235] < (x position)> or <(x position) = [235]>> then\n        next backdrop\n        go to x: (-201) y: (-93)\n    end\n    if <touching color (#7aeaf0)?> then\n        go to x: (-201) y: (-93)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [GamenoobsAnimations]> then\n        stop [all v]\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (36) y: (28)\nset [ghost v] effect to (100)\nshow\n\n@notif\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (7) to (15)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\n