midnight : A rolling platformer

Instructions: wow, 3800 veiws!!!! Thank you for all the support!!!\n\ninstrutions\nwasd and arrow keys to move.\ndont touch red.\ndont try to go to the left end of the screen.\nspace to togle mobile controls.\nhave fun.

@Stage\n\n@스프라이트 1\n\nwhen I receive [jump v]\nchange y by (10)\nset [나의 변수 v] to [6]\nrepeat (4)\n    change [y v] by (나의 변수)\n    change [나의 변수 v] by (-1)\nend\nset [나의 변수 v] to [0]\n\nwhen I receive [up v]\n\nwhen flag clicked\nbroadcast (start v)\nhide\nset volume to (100) %\nforever\n    play sound [Emotional Piano v] until done\nend\n\nwhen I receive [start v]\nset [level v] to [1]\nshow\nset [y v] to [0]\ngo to x: (-207) y: (-131)\nswitch backdrop to (배경 1 v)\nset size to (100) %\nclear graphic effects\nforever\n    go to [front v] layer\n    set [posx v] to (x position)\n    set [posy v] to (y position)\n    create clone of (desine v)\n    change x by (x)\n    if <[1] < (x)> then\n        change [x v] by (-1)\n    else\n        if <(x) < [0]> then\n            change [x v] by (1)\n        else\n            set [x v] to [0]\n        end\n    end\n    if <[10] < (x)> then\n        set [x v] to [10]\n    else\n        if <(x) < [-10]> then\n            set [x v] to [-10]\n        end\n    end\n    if <<(mc) = [1]> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        if <touching (level v)?> then\n            change [x v] by (1.5)\n        else\n            change [x v] by (1.3)\n        end\n    end\n    if <<(mc) = [-1]> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        if <touching (level v)?> then\n            change [x v] by (-1.5)\n        else\n            change [x v] by (-1.3)\n        end\n    end\n    change y by (2)\n    if <touching (level v)?> then\n        set [x v] to ((0) - (x))\n        if <(PosX) > (x position)> then\n            change x by (3)\n        else\n            change x by (-3)\n        end\n        change x by ((x) * (2))\n    end\n    change y by (-2)\n    change y by (y)\n    if <touching (level v)?> then\n        set y to (PosY)\n        if <<<(mc2) = [1]> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <(y) = [-2]>> then\n            broadcast (jump v)\n        end\n        set [y v] to [-2]\n        set [나의 변수 v] to [0]\n    else\n        change [y v] by (-1)\n    end\n    if <<touching (hazard v)?> or <key (r v) pressed?>> then\n        set [x v] to [0]\n        set [y v] to [0]\n        repeat (20)\n            change size by (5)\n            change [ghost v] effect by (5)\n        end\n        go to x: (-207) y: (-110)\n        set [posx v] to (x position)\n        set [posy v] to (y position)\n        set size to (100) %\n        set [x v] to [0]\n        set [y v] to [0]\n        clear graphic effects\n    end\n    if <(x position) > [239]> then\n        set [x v] to [0]\n        set [y v] to [0]\n        change [level v] by (1)\n        go to x: (-207) y: (-110)\n        set [posx v] to (x position)\n        set [posy v] to (y position)\n        set size to (100) %\n        clear graphic effects\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    turn right (x) degrees\n    if <key (space v) pressed?> then\n        set size to (80) %\n    else\n        set size to (100) %\n    end\nend\n\nchange y by (0.5)\n\n@LEVEL\n\nwhen flag clicked\nset [level v] to [1]\ngo to [back v] layer\nforever\n    switch costume to (LEVEL)\nend\n\n@hazard\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    go to [back v] layer\n    switch costume to (LEVEL)\nend\n\n@asdfjkl;\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    go to (스프라이트 1 v)\nend\n\n@스프라이트 2\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set [mc v] to [-1]\n    else\n        if <(mc) = [-1]> then\n            set [mc v] to [0]\n        end\n    end\n    set [ghost v] effect to (30)\n    if <key (space v) pressed?> then\n        next costume\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\n@스프라이트 3\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set [mc v] to [1]\n    else\n        if <(mc) = [1]> then\n            set [mc v] to [0]\n        end\n    end\n    set [ghost v] effect to (30)\n    if <key (space v) pressed?> then\n        next costume\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\n@스프라이트 4\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        set [mc2 v] to [1]\n    else\n        set [mc2 v] to [0]\n    end\n    set [ghost v] effect to (30)\n    if <key (space v) pressed?> then\n        next costume\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\n