Among Us Platformer | Platformer Game| Easy Platformer | Platformer
@Stage\n\nwhen flag clicked\nset volume to (200) %\nforever\n    play sound [POL-spaceship-ambience-short v] until done\nend\n\n@player\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [xv v] to [0]\nset [yv v] to [0]\nset [level v] to [1]\ngo to x: (-155) y: (-57)\nforever\n    platformer physics\nend\n\ndefine platformer physics\nchange [yv v] by (-1)\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [xv v] by (-0.95)\nend\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [xv v] by (0.95)\nend\nset [xv v] to ((xv) * (0.9))\nchange x by (xv)\nif <touching (levels v)?> then\n    change y by (1)\nend\nif <touching (levels v)?> then\n    change y by (1)\nend\nif <touching (levels v)?> then\n    change y by (1)\nend\nif <touching (levels v)?> then\n    change y by (1)\nend\nif <touching (levels v)?> then\n    change y by (-4)\n    change x by ((xv) * (-1))\n    if <key (up arrow v) pressed?> then\n        set [yv v] to [15]\n        if <(xv) > [0]> then\n            set [xv v] to [-10]\n        else\n            set [xv v] to [10]\n        end\n    end\nend\nchange y by (yv)\nif <touching (levels v)?> then\n    change y by ((yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> and <touching (levels v)?>> then\n    switch costume to (jump v)\n    set [yv v] to [13]\nend\nchange y by (1)\nif <[232] < (x position)> then\n    change [level v] by (1)\n    broadcast (next level v)\nend\nif <<touching (danger v)?> or <<touching (saw v)?> or <<touching (acid  v)?> or <touching (imposter v)?>>>> then\n    go to x: (-155) y: (-57)\nend\n\nwhen I receive [next level v]\ngo to x: (-155) y: (-57)\n\nwhen flag clicked\nforever\n    set rotation style [left-right v]\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        if <(costume [name v]) = [Idle]> then\n            switch costume to (walk v)\n        else\n            next costume\n        end\n        wait (0.02) seconds\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        if <(costume [name v]) = [Idle]> then\n            switch costume to (walk v)\n        else\n            next costume\n        end\n        wait (0.02) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <key (any v) pressed?>> then\n        switch costume to (idle v)\n    end\nend\n\n@levels\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\n@Acid \n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    repeat (7)\n        change y by (1)\n    end\n    repeat (14)\n        change y by (-1)\n    end\n    repeat (7)\n        change y by (1)\n    end\n    go to x: (-10) y: (-16)\nend\n\n@danger\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        show\n        wait (1) seconds\n        hide\n        wait (1) seconds\n    else\n        show\n    end\n    if <(level) = [8]> then\n        show\n        wait (1) seconds\n        hide\n        wait (1) seconds\n    else\n        show\n    end\nend\n\n@Saw\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    turn left (5) degrees\nend\n\n@imposter\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\n\ndefine place clone at (x) (y)\ngo to x: (x) y: (y)\nswitch costume to (walk v)\nshow\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nset [color v] effect to (100)\nimposter movement\n\ndefine imposter movement\nforever\n    repeat (25)\n        point in direction (90)\n        change x by (5)\n        next costume\n    end\n    switch costume to (costume1 v)\n    wait (0.5) seconds\n    repeat (25)\n        point in direction (-90)\n        change x by (-5)\n        next costume\n    end\n    switch costume to (costume1 v)\n    wait (0.5) seconds\nend\n\nwhen I receive [next level v]\nif <(level) = [2]> then\n    place clone at [115] [-71]\nend\nif <(level) = [7]> then\n    place clone at [66] [23]\nend\n\nwhen I receive [next level v]\nhide\n\nset [level v] to [7]\n\n@thumbnail\n\nwhen flag clicked\ngo to x: (-26) y: (5)\nset [ghost v] effect to (1000)\nforever\n    go [forward v] (99) layers\nend\n\n
Hi Guys \nUse the arrow keys to move and jump\nRight arrow = walk ( right)\nLeft arrow = walk ( left)\nUp arrow = Jump\nTry avoiding the spikes, saws, acids, lasers and the \nimpostors.\nWatch the full detailed video here\nhttps://youtube.com/playlist?list=PLkcHvzwfrdoUufF3Gns-tZ819OZeL2Tif\nThis is free to use.