Moon || A Platformer 

Instructions: ~~~~~~~~~~~~~~~~Controls~~~~~~~~~~~~~~~~~~~\nArrow keys, WASD, (pc) or mobile to move\n~~~~~~~~~~~~~~~~~Obstacles~~~~~~~~~~~~~~~~~\nWatch out for spikes and lava\n~~~~~~~~~~~~~~~~~~~Notes~~~~~~~~~~~~~~~~~~\n100% possible\nFirst platformer --(on this account ;) )\nAll Ads and Hate comments will be deleted/reported. (Sorry in advance)

@Stage\n\n@Player \n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [backward v] (3) layers\nshow\nset size to (95) %\nswitch costume to (player v)\ngo to x: (-190) y: (50)\nset drag mode [not draggable v]\npoint in direction (90)\nforever\n    create clone of (_myself_ v)\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (1)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(x position) < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n        create clone of (_myself_ v)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(mouse x) < (x position)> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n        create clone of (_myself_ v)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [14]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [y v] to [13]\n            point in direction ((Y) * (0.5))\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (level v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    hide variable [x v]\n    if <<(x position) > [230]> and <not <(Level) = [10]>>> then\n        broadcast (next level v)\n        change [level v] by (1)\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <(y position) < [-170]> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (-50)\n    end\n    if <touching (lava v)?> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (-50)\n    end\n    if <touching (spikes v)?> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (-50)\n    end\nend\n\nwhen I start as a clone\nrepeat (7)\n    change size by (-7)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    set volume to (50) %\n    play sound [Vexento - Lotus v] until done\nend\n\n@Level\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nset drag mode [not draggable v]\n\nwhen I receive [next level v]\nshow\nswitch costume to (Level)\n\nwhen flag clicked\nset [level v] to [1]\nshow\nswitch costume to (1 v)\n\n@Spikes\n\nwhen flag clicked\nset [level v] to [1]\nshow\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nshow\nswitch costume to (Level)\n\nwhen flag clicked\ngo to x: (0) y: (0)\npoint in direction (90)\nset drag mode [not draggable v]\n\n@Moon\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen flag clicked\nshow\ngo to x: (218) y: (160)\nset size to (100) %\nforever\n    change [effects v] by (5)\n    set size to ((9000) / ((90) + (([cos v] of (Effects) ) * (5)))) %\n    point in direction ((100) + (([cos v] of (Effects) ) * (10)))\nend\n\n@Grass\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (7) layers\nshow\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        switch costume to (2 v)\n    else\n        switch costume to (1 v)\n    end\nend\n\nhide\n\n@Lava\n\nwhen flag clicked\nset [level v] to [1]\nshow\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nshow\nswitch costume to (Level)\n\nwhen flag clicked\ngo to x: (0) y: (0)\npoint in direction (90)\nset drag mode [not draggable v]\n\nhide\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\nend\n\ngo to [front v] layer\nset size to (100) %\nhide\n\nshow\n\n