Sky A Platformer #Games #All

Instructions: PART 2: https://scratch.mit.edu/projects/709015456/\nGITHUB: https://github.com/SamanyuCodes\n\nIn Sky Platformer you have to parkour to the green flag once you reach the green flag you will reach the next level. Be aware of spikes since spikes would kill you, the first time you touch spikes you don't die but if you repeat the mistake you die.\nGithub: https://github.com/SamanyuCodes

@Stage\n\nwhen flag clicked\nswitch backdrop to (level 1 v)\nset [timer\(s\) v] to [0]\nset [lives: v] to [5]\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [timer\(s\) v] by (1)\nend\n\nwhen backdrop switches to [thumbnail v]\nif <(Timer\(s\)) < (☁ HighScore\(s\))> then\n    set [☁ highscore\(s\) v] to (Timer\(s\))\nend\n\nwhen flag clicked\nforever\n    if <(Lives:) = [0]> then\n        stop [all v]\n    end\nend\n\nwhen backdrop switches to [thumbnail v]\nset [lives: v] to [5]\n\n@Player\n\nwhen flag clicked\nshow\nset [gravity v] to [-1]\nset [speed y v] to [0]\ngo to x: (-88) y: (33)\nforever\n    if <key (up arrow v) pressed?> then\n        if <(falling) < [3]> then\n            set [speed y v] to [12]\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed x v] by (-1.5)\n    end\n    if <key (right arrow v) pressed?> then\n        change [speed x v] by (1.5)\n    end\n    set [speed x v] to ((Speed X) * (0.8))\n    change [speed y v] by (GRAVITY)\n    Move - in steps (([abs v] of (Speed X) ) + ([abs v] of (Speed Y) ))\nend\n\ndefine Move - in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((Speed X) / (steps))\n    if <touching color (#ab7800)?> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((Speed Y) / (steps))\n    if <touching color (#ab7800)?> then\n        set y to (last value)\n        set [speed y v] to [0]\n        set [falling v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-163) y: (-114)\n        change [lives: v] by (-1)\n    end\n    if <touching (spikes2 v)?> then\n        go to x: (-163) y: (-114)\n        change [lives: v] by (-1)\n    end\n    if <color (#00afef) is touching (#7adf15)?> then\n        next backdrop\n        wait (2) seconds\n    end\n    if <color (#00afef) is touching (#ff7500)?> then\n        go to x: (-136) y: (-60)\n        change [lives: v] by (-1)\n    end\nend\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-163) y: (-114)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-165) y: (-114)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-162) y: (-114)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-167) y: (-114)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-136) y: (-60)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-122) y: (-60)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-158) y: (-107)\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-163) y: (-114)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-166) y: (-75)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-163) y: (-114)\n\n@Flag\n\nwhen backdrop switches to [level 1 v]\ngo to x: (201) y: (27)\nshow\n\nwhen backdrop switches to [level 2 v]\ngo to x: (206) y: (19)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (193) y: (73)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (192) y: (35)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (184) y: (60)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (188) y: (-50)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (198) y: (87)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (147) y: (-53)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (205) y: (-108)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (215) y: (26)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (208) y: (-101)\n\nwhen backdrop switches to [level 11 v]\nhide\n\n@Spikes2\n\nwhen backdrop switches to [level 1 v]\nhide\n\nwhen backdrop switches to [level 2 v]\nhide\ngo to x: (22) y: (-78)\n\nwhen backdrop switches to [level 3 v]\nhide\ngo to x: (22) y: (-78)\n\nwhen backdrop switches to [level 5 v]\nshow\ngo to x: (-74) y: (-84)\n\nwhen backdrop switches to [level 3 v]\nhide\ngo to x: (22) y: (-78)\n\nwhen backdrop switches to [level 6 v]\nhide\ngo to x: (-74) y: (-84)\n\nwhen backdrop switches to [level 8 v]\nhide\ngo to x: (22) y: (-78)\n\n@Spikes\n\nwhen backdrop switches to [level 1 v]\nhide\n\nwhen backdrop switches to [level 2 v]\nshow\ngo to x: (22) y: (-78)\n\nwhen backdrop switches to [level 3 v]\nhide\ngo to x: (22) y: (-78)\n\nwhen backdrop switches to [level 5 v]\nshow\ngo to x: (22) y: (-78)\n\nwhen backdrop switches to [level 6 v]\nhide\ngo to x: (22) y: (-78)\n\nwhen backdrop switches to [level 6 v]\nhide\ngo to x: (22) y: (-78)\n\nwhen backdrop switches to [level 8 v]\nhide\ngo to x: (22) y: (-78)\n\n