プラットフォーマー Platformer

Instructions: 日本語は下\n《Engish》\nUse the mouse or arrow keys to operate. \nIf you touch a thorn or fall to the bottom, it will be done. It may be a little difficult, but please do your best to clear it!\n\n❤️ and ⭐️ press me!\n Please follow me!\n\n《日本語》\nマウスまたは矢印キーで操作します。\n棘に触れたり底に落ちたらアウトです。\n少し難しいかもしれませんが\n頑張ってクリアを目指して下さい！\n\n❤️と⭐️押してね！\nフォローもよろしく！

@Stage\n\nwhen flag clicked\nforever\n    play sound [Nebula v] until done\nend\n\n@主人公\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    switch costume to (主人公 v)\nend\nif <(costume [number v]) = [2]> then\n    switch costume to (しゃがみ v)\nend\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (主人公 v)\npoint in direction (90)\ngo to x: (-200) y: (-20)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching (地面 v)?> then\n        change y by (1)\n        if <touching (地面 v)?> then\n            change y by (1)\n            if <touching (地面 v)?> then\n                change y by (1)\n                if <touching (地面 v)?> then\n                    change y by (1)\n                    if <touching (地面 v)?> then\n                        change y by (1)\n                        if <touching (地面 v)?> then\n                            change y by (1)\n                            if <touching (地面 v)?> then\n                                change x by ((0) - (X))\n                                change y by (-6)\n                                if <<<mouse down?> and <[0] < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                    start sound [ジャンプ v]\n                                    if <[0] < (X)> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\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    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (地面 v)?> then\n        change y by ((0) - (Y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<mouse down?> and <[0] < (mouse y)>> or <key (up arrow v) pressed?>> then\n        if <touching (地面 v)?> then\n            start sound [ジャンプ v]\n            set [y v] to [14]\n        end\n    end\n    change y by (1)\n    create clone of (_myself_ v)\n    if <[240] < (x position)> then\n        broadcast (ステージ切り替え v)\n        go to x: (-200) y: (-20)\n    end\n    if <<touching (棘 v)?> or <(y position) < [-160]>> then\n        start sound [やられた v]\n        go to x: (-200) y: (-20)\n        set [x v] to [0]\n        set [y v] to [0]\n        point in direction (-90)\n    end\n    if <touching (バネ v)?> then\n        start sound [大ジャンプ v]\n        set [y v] to [19.5]\n    end\n    if <<<mouse down?> and <(y position) > (mouse y)>> or <key (down arrow v) pressed?>> then\n        switch costume to (しゃがみ v)\n    else\n        switch costume to (主人公 v)\n    end\nend\n\n@地面\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [ステージ切り替え v]\nnext costume\n\n@棘\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [ステージ切り替え v]\nnext costume\n\n@バネ\n\nwhen I receive [ステージ切り替え v]\nnext costume\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\n@文字\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ステージ切り替え v]\nnext costume\n\n@さむね\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\nchange [ghost v] effect by (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n