360°Platformer #All #Games

Instructions: 日本語は下です。\n-----------------------------------------------------------------------\n▼Description\nIt's a 360° platformer! :D\nThere are 2 stages in total ^^\n\n▼How to operate\nYou can operate with arrow keys or tap.\nIt's mobile friendly!\n\nIf it hits a needle or magma, it will die.\nPlease be careful.\n\n♡&☆ pleace!\n\n-------------------------------------------------------------------------\n\n▼説明\n360°のプラットフォーマーです! :D\n全部で2ステージあります^^\n\n▼操作方法\n矢印キーやタップで操作できます。\nモバイル対応です！\n\n針やマグマに当たると死んでしまいます。\n気を付けてください。\n\n♡&☆お願いします！

@Stage\n\nwhen flag clicked\nforever\n    play sound [Treenan v] until done\nend\n\n@地面\n\ndefine 初期設定プログラム\ngo to x: (0) y: (-415)\nswitch costume to (サイズハック v)\nset size to (300) %\nshow\nset [x v] to [0]\nset [y v] to [0]\nset [向き v] to [右]\npoint in direction (90)\nswitch costume to (ステージ)\n\nwhen flag clicked\nset [スクリプト v] to [0]\nhide\nbroadcast (スタート v)\n\nwhen I receive [スタート v]\nset [ステージ v] to [1]\nshow\npoint in direction (90)\n初期設定プログラム\nforever\n    if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n        change [x v] by (-0.15)\n        set [向き v] to [右]\n    end\n    if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n        change [x v] by (0.15)\n        set [向き v] to [左]\n    end\n    set [x v] to ((X) * (0.89))\n    turn right (X) degrees\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 (5)\n                            turn right ((X) * (-1)) degrees\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 ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (1)\n    if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n        if <touching (プレイヤー v)?> then\n            start sound [可愛いジャンプ v]\n            set [y v] to [-13.4]\n        end\n    end\n    change y by (-1)\n    if <(スクリプト) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [初期設定 v]\n初期設定プログラム\n\nwhen I receive [ネクスト v]\nwait (0) seconds\nchange [ステージ v] by (1)\n\nwhen I receive [ネクスト v]\nif <(ステージ) = [1]> then\n    wait (0.1) seconds\n    初期設定プログラム\nelse\n    broadcast (クリア v)\n    set [スクリプト v] to [1]\n    stop [this script v]\nend\n\n@プレイヤー\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <(向き) = [右]> then\n        point in direction (90)\n    else\n        point in direction (-90)\n    end\nend\n\n@当たり判定\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nforever\n    if <<touching color (#ff0000)?> or <touching color (#b10000)?>> then\n        broadcast (初期設定 v)\n        wait until <not <<touching color (#ff0000)?> or <touching color (#b10000)?>>>\n    end\n    if <<touching color (#003fc5)?> or <touching color (#630000)?>> then\n        broadcast (ネクスト v)\n        wait until <not <<touching color (#003fc5)?> or <touching color (#630000)?>>>\n    end\nend\n\n@太陽\n\nwhen flag clicked\nset [sun v] to [0]\nset size to (100) %\nforever\n    go to [back v] layer\n    change [sun v] by (6)\n    change size by ([cos v] of (Sun) )\nend\n\n@You Winだぁ\n\nwhen flag clicked\nhide\n\nwhen I receive [クリア v]\nshow\nset [ghost v] effect to (100)\nrepeat (34)\n    change [ghost v] effect by (-3)\nend\n\n@ステージ名\n\nwhen flag clicked\nshow\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [クリア v]\nhide\n\n@サムネイル\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\nend\n\n@Detector\n\nwhen flag clicked\nhide\nset [★ v] to [0]\nset [♥ v] to [0]\nset [どっち v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [どっち v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(♥) = [1]> and <(★) = [1]>>\nbroadcast (♥と★ v)\n\nwhen I start as a clone\nif <(どっち) = [0]> then\n    go to x: (-15) y: (0)\n    set [♥ v] to [0]\n    switch costume to (love v)\n    forever\n        set [♥? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [♥ v] to [1]\n        end\n    end\nend\nif <(どっち) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [★ v] to [0]\n    forever\n        set [星? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [★ v] to [1]\n        end\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nwhen I receive [♥と★ v]\nshow\nset [ghost v] effect to (100)\nrepeat (34)\n    change [ghost v] effect by (-3)\nend\nrepeat (34)\n    change [ghost v] effect by (3)\nend\nhide\n\nchange [ghost v] effect by (3)\n\n