Fall Guys | the ULTIMATE scrolling platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Survive the Fall - Hunt & Team v] until done\nend\n\n@Sprite2\n\nwhen flag clicked\ngo to [front v] layer\nshow\n\nwhen flag clicked\nforever\n    if <mouse down?> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nrepeat (2)\n    go to [front v] layer\nend\n\n@Player\n\nwhen flag clicked\nbroadcast (Green Flag v) and wait\nbroadcast (Play game v) and wait\n\nwhen I receive [green flag v]\nset [scrollx v] to [0]\nset [scrolly v] to [0]\nhide variable [code v]\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game on\n    repeat until <(Exit) > [50]>\n        Tick\n        broadcast (Tick v) and wait\n    end\n    if <(Exit) = [win]> then\n        Game-win\n    else\n        Game-Die\n    end\nend\n\ndefine Game on\nset [x v] to [0]\nset [y v] to [0]\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air? v] to [0]\nset [exit v] to []\nset [scrollx v] to [0]\nset [scrolly v] to [0]\nset size to (100) %\npoint in direction (90)\nset [ghost v] effect to (0)\nshow\n\ndefine Change player y by (sy)\nchange [y v] by (sy)\nchange [in air? v] by (1)\nPosition\nrepeat until <not <touching (platforms v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air? v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Position\ngo to x: ((X) - (scrollX)) y: ((Y) - (scrollY))\n\ndefine Tick\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [-180]>>> then\n    Change player x by [-8]\nend\nif <<key (right arrow v) pressed?> or <<mouse down?> and <[180] < (mouse x)>>> then\n    Change player x by [8]\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change player x by (sx)\nend\nif <<key (up arrow v) pressed?> or <<mouse down?> and <[100] < (mouse y)>>> then\n    if <(In air?) < [4]> then\n        set [sy v] to [16]\n    end\nend\nchange [sy v] by (-2)\nChange player y by (sy)\nTest-Die\nchange [scrollx v] by (round (((X) - (scrollX)) / (4)))\nif <(scrollX) < [0]> then\n    if <<(LEVEL) = [3]> or <(LEVEL) = [4]>> then\nend\nchange [scrolly v] by (round (((Y) - (scrollY)) / (10)))\nif <(scrollY) < [0]> then\n    set [scrolly v] to [0]\nend\nPosition\nif <(Y) < [-180]> then\n    set [exit v] to [die]\nend\n\ndefine Change player x by (sx)\nchange [x v] by (sx)\nPosition\nif <touching (platforms v)?> then\n    repeat (8)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-8)\n    if <key (up arrow v) pressed?> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air? v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <touching (platforms v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game-Die\nbroadcast (ELIMINATED v)\nset [exit v] to []\nrepeat (5)\n    hide\n    wait (0.1) seconds\n    show\n    wait (0.1) seconds\nend\nhide\nwait (0.5) seconds\n\ndefine Test-Die\nif <touching (danger v)?> then\n    set [exit v] to [die]\nend\n\ndefine Game-win\nrepeat (50)\n    point towards (exit v)\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nchange [level v] by (1)\nwait (1) seconds\n\nwhen I receive [click v]\n\nwhen flag clicked\n\nrepeat (2)\n    go to [front v] layer\nend\n\nwhen flag clicked\nnext costume\n\nforever\n    if <touching (land bombs v)?> then\n        change [y v] by (100)\n        change [x v] by (-100)\n    end\nend\n\nwhen flag clicked\n\n@Danger\n\nwhen I receive [green flag v]\nhide\ngo to [back v] layer\n\nwhen I receive [tick v]\nPosition ((X) - (scrollX)) ((Y) - (scrollY))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (2 1 v)\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Platforms\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (scrollX)) ((Y) - (scrollY))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (2 1 v)\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (3 1 \[middle\] v)\n            Clone at x: [-400] y: [0]\n            Clone at x: [720] y: [0]\n            Clone at x: [660] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (4 v)\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Sprite1\n\nwhen I receive [eliminated v]\nshow\nwait (1) seconds\nhide\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n@Exit\n\nwhen I receive [open portal v]\nswitch costume to (open v)\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (scrollX)) ((Y) - (scrollY))\nif <touching (player v)?> then\n    set [exit v] to [win]\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (closed v)\n    Clone at x: [1339] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (closed v)\n        Clone at x: [1835] y: [142]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (closed v)\n            Clone at x: [0] y: [170]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (closed v)\n                Clone at x: [0] y: [-999]\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\n\n@land bombs\n\nwhen I receive [green flag v]\n\nhide\ngo to [back v] layer\n\nwhen I receive [tick v]\n\nPosition ((X) - (scrollX)) ((Y) - (scrollY))\n\nwhen I receive [setup v]\n\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (2 1 v)\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    end\nend\n\ndefine Position (x) (y)\n\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\n\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\n\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nforever\n    hide\nend\n\n
this is a scrolling platformer I made \nWRITE "fall guys" in the chat if you like fall guys\n-----------------------------------------------------\nmove with arrow keys \n------------------------------------------------------\npls like and fav if you like this game. write in the chat if you want me to make another one.\n\n\n\nWE REACHED 100 LIKES AND FAVORITES AND 1500 VIEWS!!!!!!!!