The Longest Platformer Ever #games #all

Instructions: ===All levels are possible====\nit is hard but all levels are possible OK???\n\nAll scripts made by huskyfreestuff\n\nThis is the longest platformer (101 levels)\n\nControls:\nWASD\nArrow Keys

@Stage\n\n@Player\n\nwhen flag clicked\nset [the level v] to [1]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nset [deaths v] to [0]\ngo to x: (-224) y: (-86)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x velocity v] by (-1.3)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x velocity v] by (1.3)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (-4)\n        change x by ((X Velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <(X Velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching color (#000000)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#000000)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y velocity v] to [12.5]\n    end\n    change y by (1)\n    if <<touching color (#ff0000)?> or <(y position) < [-168]>> then\n        go to x: (-224) y: (-119)\n        change [deaths v] by (1)\n    end\n    if <touching color (#f4ff00)?> then\n        go to x: (-224) y: (-119)\n        change [the level v] by (1)\n    end\n    if <touching color (#5500ff)?> then\n        set [y velocity v] to [19]\n    end\n    if <<touching color (#66f4ff)?> or <touching color (#838383)?>> then\n        set [y velocity v] to [-1]\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y velocity v] to [5]\n        end\n    end\nend\n\nset [the level v] to [83]\n\nwhen [b v] key pressed\ngo to x: (-224) y: (-86)\n\nwhen [3 v] key pressed\nif <(The Level) = [61]> then\n    go to x: (-224) y: (-86)\n    change [the level v] by (1)\nend\n\nwhen [space v] key pressed\nif <([costume # v] of [ground v]) = [83]> then\n    go to x: (-224) y: (-86)\n    change [the level v] by (1)\nend\n\nforever\n\ngo to (random position v)\n\nchange [pitch v] effect by (10)\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\nset [the level v] to [60]\n\n@Beams\n\nwhen flag clicked\nforever\n    if <<<([costume # v] of [ground v]) = [10]> or <([costume # v] of [ground v]) = [35]>> or <<([costume # v] of [ground v]) = [49]> or <<<([costume # v] of [ground v]) = [59]> or <([costume # v] of [ground v]) = [78]>> or <<([costume # v] of [ground v]) = [79]> or <<([costume # v] of [ground v]) = [98]> or <<([costume # v] of [ground v]) = [99]> or <([costume # v] of [ground v]) = [100]>>>>>>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    repeat until <(x position) > [119]>\n        change x by (0.888)\n    end\n    go to x: (-15) y: (0)\nend\n\n@Moveable Platform\n\nwhen flag clicked\nforever\n    if <<<([costume # v] of [ground v]) = [13]> or <([costume # v] of [ground v]) = [17]>> or <([costume # v] of [ground v]) = [59]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    go to (mouse-pointer v)\n    if <key (r v) pressed?> then\n        turn right (5) degrees\n    end\n    if <key (l v) pressed?> then\n        turn left (5) degrees\n    end\nend\n\n@1\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    if <(The Level) = [62]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (0)\n        end\n    else\n        hide\n    end\nend\n\n@2\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    if <(The Level) = [62]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (0)\n        end\n    else\n        hide\n    end\nend\n\n@3\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    if <(The Level) = [62]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (0)\n        end\n    else\n        hide\n    end\nend\n\n@4\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    if <(The Level) = [62]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (0)\n        end\n    else\n        hide\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nshow variable [the level v]\nhide\n\nshow\n\ngo to [front v] layer\n\n