ඞ Among Us ඞ || A platformer mobile friendly
@Stage\n\nwhen flag clicked\nforever\n    play sound [AMONG US Theme Song \(Moondai EDM Remix\) \(128  kbps\) \(abdwap2 v] until done\nend\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\n\n@Player\n\ndefine Respawn\ngo to x: (-210) y: (0)\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    change [yv v] by (-0.5)\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [xv v] by (0.7)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [xv v] by (-0.7)\n        point in direction (-90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#313131)?> then\n        change y by (1)\n        if <touching color (#313131)?> then\n            change y by (1)\n            if <touching color (#313131)?> then\n                change y by (1)\n                if <touching color (#313131)?> then\n                    change y by (1)\n                    if <touching color (#313131)?> then\n                        change y by (1)\n                        if <touching color (#313131)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching color (#313131)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#313131)?> then\n        if <<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [9]\n        end\n    end\n    if <(x position) > [230]> then\n        next backdrop\n        Respawn\n    end\n    if <<(y position) < [-180]> or <<touching color (#ff0a0a)?> or <touching color (#800000)?>>> then\n        start sound [Kill v]\n        Respawn\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nRespawn\ngo to x: (-210) y: (0)\nset size to (35) %\nshow\nset rotation style [left-right v]\nforever\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        switch costume to (jump v)\n    end\n    if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n            point in direction (-90)\n            next costume\n            wait (0.04) seconds\n            if <(costume [number v]) = [8]> then\n                switch costume to (walk v)\n            end\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n            point in direction (90)\n            next costume\n            wait (0.04) seconds\n            if <(costume [number v]) = [11]> then\n                switch costume to (walk v)\n            end\n            if <(costume [number v]) = [12]> then\n                switch costume to (walk v)\n            end\n        end\n    else\n        switch costume to (idle v)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\n@Wall\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [14 v]\nshow\n\n@Love & Fav\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    wait (pick random (15) to (20)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (50)\n    show\n    go to [front v] layer\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\n
                     ◢⊂ Among Us Platform ⊃◣\nHello! I'm @cancode35 | Welcome to my project!\nIt took me 1 day to make this project! I hope you will like it.