Grian Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [start v]\nswitch backdrop to (backdrop2 v)\nforever\n    play sound [Grian - Mumbo AFK \(elybeatmaker Remix\) v] until done\nend\n\n@Intro\n\nwhen I start as a clone\nif <(costume [number v]) = [11]> then\n    go to x: (0) y: (-14)\nend\nif <(costume [number v]) = [10]> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    reset timer\n    set size to (200) %\n    point in direction (90)\n    repeat (250)\n        change [move v] by (7)\n        point in direction ((([cos v] of (Move) ) * (5)) + (90))\n    end\n    repeat (280)\n        set y to ([cos v] of ((timer) * (100)) )\n        point in direction ((([tan v] of ((timer) * (150)) ) * (5)) + (90))\n    end\nend\ndelete this clone\n\nwhen I receive [intro v]\npoint in direction (90)\nshow\nstart sound [Starley - Call On Me \(Ryan Riback Remix\).mp3 v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nwait (1) seconds\nrepeat (8)\n    next costume\nend\nwait (1) seconds\nbroadcast (yee v)\nswitch costume to (costume10 v)\ncreate clone of (_myself_ v)\nswitch costume to (costume11 v)\ncreate clone of (_myself_ v)\nswitch costume to (costume12 v)\nreset timer\nset [brightness v] effect to (0)\ngo to x: (0) y: (0)\nrepeat (250)\n    set y to (([cos v] of ((timer) * (100)) ) * (25))\nend\nstop all sounds\nhide\nbroadcast (Yeah v)\n\nwhen flag clicked\nhide\nbroadcast (Intro v)\n\n@Grian\n\nwhen flag clicked\nhide\n\nwhen I receive [yeah v]\nwait (5) seconds\nshow\nbroadcast (START v)\nset size to (45) %\nset [color v] effect to (0)\nshow\nswitch costume to (unnamed \(3\) v)\ngo to x: (-185) y: (-74)\nswitch backdrop to (backdrop1 v)\ngo to [front v] layer\nset [death v] to [0]\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#808080)?> then\n        change y by (1)\n        if <touching color (#808080)?> then\n            change y by (1)\n            if <touching color (#808080)?> then\n                change y by (1)\n                if <touching color (#808080)?> then\n                    change y by (10)\n                    if <touching color (#808080)?> then\n                        change y by (1)\n                        if <touching color (#808080)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (space v) pressed?> or <key (space v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\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 [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#808080)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#808080)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (-1)\nend\n\nwhen I receive [size 25 v]\nset size to (25) %\n\nwhen I receive [size 45 v]\nset size to (45) %\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-213) y: (-103)\n\nwhen backdrop switches to [backdrop4 v]\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-197) y: (-93)\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (-205) y: (-42)\n\nwhen backdrop switches to [backdrop5 v]\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-205) y: (-42)\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-197) y: (-112)\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (-205) y: (-42)\n\nwhen backdrop switches to [backdrop6 v]\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-220) y: (-72)\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (-220) y: (-72)\n\nwhen backdrop switches to [oip v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (-201) y: (-113)\n\nwhen backdrop switches to [backdrop7 v]\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-201) y: (-113)\n    end\nend\n\n@OIP\n\nwhen I receive [start v]\ngo to x: (-231) y: (19)\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [mustace v]\nforever\n    if <touching (grian v)?> then\n        if <key (space v) pressed?> then\n            say [Muscate Retrieved From Subject!] for (2) seconds\n            next backdrop\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-258) y: (63)\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (100) y: (50)\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (-254) y: (44)\n\nwhen backdrop switches to [oip v]\nhide\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (-254) y: (44)\n\nwhen I receive [mustace2 v]\nforever\n    if <touching (grian v)?> then\n        if <key (space v) pressed?> then\n            say [Muscate Retrieved From Subject!] for (2) seconds\n            switch backdrop to (oip v)\n        end\n    end\nend\n\n@OIP2\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (212) y: (-94)\nclear graphic effects\nshow\nforever\n    repeat (30)\n        change y by (0.2)\n    end\n    repeat (30)\n        change y by (-0.2)\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nwait until <touching (grian v)?>\nrepeat (30)\n    change y by (2)\n    change [ghost v] effect by (3)\n    change [brightness v] effect by (3)\nend\nhide\nbroadcast (Mustace v)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (212) y: (-94)\nclear graphic effects\nshow\nforever\n    repeat (30)\n        change y by (0.2)\n    end\n    repeat (30)\n        change y by (-0.2)\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nwait until <touching (grian v)?>\nrepeat (30)\n    change y by (2)\n    change [ghost v] effect by (3)\n    change [brightness v] effect by (3)\nend\nhide\nbroadcast (Mustace v)\n\nwhen backdrop switches to [backdrop4 v]\nwait until <touching (grian v)?>\nrepeat (30)\n    change y by (2)\n    change [ghost v] effect by (3)\n    change [brightness v] effect by (3)\nend\nhide\nbroadcast (Mustace v)\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-192) y: (60)\nclear graphic effects\nshow\nforever\n    repeat (30)\n        change y by (0.2)\n    end\n    repeat (30)\n        change y by (-0.2)\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\nwait until <touching (grian v)?>\nrepeat (30)\n    change y by (2)\n    change [ghost v] effect by (3)\n    change [brightness v] effect by (3)\nend\nhide\nbroadcast (Mustace v)\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (145) y: (-89)\nclear graphic effects\nshow\nforever\n    repeat (30)\n        change y by (0.2)\n    end\n    repeat (30)\n        change y by (-0.2)\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (198) y: (-73)\nclear graphic effects\nshow\nforever\n    repeat (30)\n        change y by (0.2)\n    end\n    repeat (30)\n        change y by (-0.2)\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\nwait until <touching (grian v)?>\nrepeat (30)\n    change y by (2)\n    change [ghost v] effect by (3)\n    change [brightness v] effect by (3)\nend\nhide\nbroadcast (Mustace v)\n\nwhen backdrop switches to [backdrop7 v]\nwait until <touching (grian v)?>\nrepeat (30)\n    change y by (2)\n    change [ghost v] effect by (3)\n    change [brightness v] effect by (3)\nend\nhide\nbroadcast (Mustace2 v)\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (153) y: (-15)\nclear graphic effects\nshow\nforever\n    repeat (30)\n        change y by (0.2)\n    end\n    repeat (30)\n        change y by (-0.2)\n    end\nend\n\n@Size\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-18) y: (-87)\nswitch costume to (size v)\nclear graphic effects\nshow\nforever\n    repeat (30)\n        change y by (0.2)\n    end\n    repeat (30)\n        change y by (-0.2)\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nforever\n    if <touching (grian v)?> then\n        broadcast (Size 25 v)\n        repeat (30)\n            change y by (2)\n            change [ghost v] effect by (3)\n            change [brightness v] effect by (3)\n        end\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-78) y: (-103)\nswitch costume to (size2 v)\nclear graphic effects\nshow\nforever\n    repeat (30)\n        change y by (0.2)\n    end\n    repeat (30)\n        change y by (-0.2)\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <touching (grian v)?> then\n        broadcast (Size 45 v)\n        repeat (30)\n            change y by (2)\n            change [ghost v] effect by (3)\n            change [brightness v] effect by (3)\n        end\n        hide\n    end\nend\n\n
Hello and welcome to the Grian Platformer. If you have no idea who Grian is then I'll put a link at the end. This platformer is dedicated to him and I hope you enjoy it.\n\nUse the arrows to move\n\nThe aim is to take away mumbo jumbos mustace and you must have the mustace removal machine to do it. After you have that press space when your on the mustace and you'll win.\n\n\nhttps://www.youtube.com/user/Xelqua?app=desktop