DARKNESS PLATFORMER

Instructions: どんどん拡散して!!!\n日本語は下にあります。\nI use Google Translate.\n【Method of operation】\nPC ... cross key\nSmartphone ... tap\n【操作方法】\nPC...十字キー\nスマートフォン...タップ

@Stage\n\nwhen flag clicked\nforever\n    play sound [魔王魂  ピアノ33 v] until done\nend\n\n@スプライト1\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset [x v] to [0]\ngo to x: (-201) y: (-50)\npoint in direction (90)\nforever\n    show\n    set rotation style [don't rotate v]\n    set drag mode [not draggable v]\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <key (down arrow v) pressed?> then\n        switch costume to (キャラクター4 v)\n        set [x v] to ((x) * (1.02))\n    else\n        switch costume to (キャラクター3 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#000000)?> or <touching color (#ffffff)?>> then\n        change y by (1)\n        if <<touching color (#000000)?> or <touching color (#ffffff)?>> then\n            change y by (1)\n            if <<touching color (#000000)?> or <touching color (#ffffff)?>> then\n                change y by (1)\n                if <<touching color (#000000)?> or <touching color (#ffffff)?>> then\n                    change y by (1)\n                    if <<touching color (#000000)?> or <touching color (#ffffff)?>> then\n                        change y by (1)\n                        if <<touching color (#000000)?> or <touching color (#ffffff)?>> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(x position) < (mouse y)> and <mouse down?>>> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [変数 v] to [10]\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 color (#000000)?> or <touching color (#ffffff)?>> then\n        if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n            set [変数 v] to [15]\n        end\n    end\n    change y by (1)\n    change [変数 v] by (-1)\n    change y by (変数)\n    if <<touching color (#000000)?> or <touching color (#ffffff)?>> then\n        change y by ((変数) * (-1))\n        set [変数 v] to [0]\n    end\n    hide variable [x v]\n    if <(x position) > [230]> then\n        set [x v] to [0]\n        set [変数 v] to [0]\n        go to x: (-201) y: (-50)\n        broadcast (next level v)\n    end\n    if <(y position) < [-170]> then\n        go to x: (-201) y: (-50)\n        set [x v] to [0]\n        set [変数 v] to [0]\n    end\n    if <touching color (#50ff00)?> then\n        go to x: (-201) y: (-50)\n        set [x v] to [0]\n        set [変数 v] to [0]\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\n@スプライト2\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nforever\n    show\n    go to x: (0) y: (0)\n    set drag mode [not draggable v]\nend\n\nwhen [timer v] > (0)\nhide\n\n@スプライト3\n\nwhen flag clicked\nforever\n    hide\n    set drag mode [not draggable v]\n    go to x: (0) y: (0)\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\n\n@スプライト4\n\nwhen flag clicked\nset drag mode [not draggable v]\ngo to [back v] layer\nforever\n    go to (スプライト1 v)\nend\n\n