(DARK!) 4 (Mobile Friendly Platformer)

Instructions: 日本語は下\n\n\n【English】\nI made it by reproducing the beautiful night sea\nAvoid shells and proceed\nLet's aim for the goal through a cave etc.\nIf it's interesting, thank you for the stars and hearts!\nOperate with arrow keys or tap\n\n\n【日本語】\n綺麗な夜の海を再現して作りました\n貝殻を避けて進み\n洞窟などを通ってゴールを目指しましょう\n面白ければ星とハートよろしくお願いします！\n矢印キーまたはタップで操作します\n\n

@Stage\n\n@地面\n\nwhen I receive [next v]\nnext costume\n\nhide\n\nwhen I receive [作品start！ v]\nforever\n    play sound [Sunset v] until done\nend\n\nwhen I receive [作品start！ v]\nshow\nswitch costume to (コスチューム1 v)\n\n@ゲート\n\nwhen flag clicked\nshow\n\n@スプライト3\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [作品start！ v]\ngo to [back v] layer\nshow\nswitch costume to (コスチューム1 v)\n\nwhen I receive [リス多 v]\nswitch costume to (コスチューム1 v)\n\n@プレイヤー\n\nwhen flag clicked\nset size to (1) %\n\nwhen I receive [next v]\nstart sound [Rip v]\n\nwhen I receive [over v]\nstart sound [Oops v]\n\nwhen I receive [作品start！ v]\nforever\n    play sound [Thousand_Absolutes_Xaf_Remix v] until done\nend\n\nwhen flag clicked\n重力定義\n\ndefine 重力定義\ngo to x: (-200) y: (0)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\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 x by (() - (X))\n                            change y by (-4)\n                            if <key (up arrow v) pressed?> then\n                                start sound [Jump v]\n                                if <[0] < (X)> then\n                                    set [x v] to [-8]\n                                    set [y v] to [11]\n                                else\n                                    set [x v] to [8]\n                                    set [y v] to [11]\n                                end\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 v] by (-1)\n    change y by (Y)\n    if <touching (地面 v)?> then\n        change y by (() - (Y))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <key (up arrow v) pressed?> then\n            start sound [Jump v]\n            set [y v] to [15]\n        end\n    end\n    if <touching (危険 v)?> then\n        go to x: (-200) y: (0)\n    end\n    if <(y position) = [-185]> then\n        go to x: (-200) y: (0)\n    end\n    if <(x position) = [245]> then\n        broadcast (次のステージ v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        broadcast (over v)\n    end\nend\n\nwhen I receive [over v]\ngo to x: (-365) y: (95)\n\nwhen flag clicked\nforever\n    if <touching (ゲート v)?> then\n        broadcast (next v)\n    end\nend\n\nwhen I receive [next v]\ngo to x: (-365) y: (95)\n\nwhen flag clicked\nset size to (100) %\n\nwhen I receive [作品start！ v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (スプライト3 v)?> then\n        broadcast (over v)\n    end\nend\n\nwhen I receive [♥と★ v]\nswitch costume to (コスチューム3 v)\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [リス多 v]\ngo to x: (-365) y: (95)\n\n@スプライト1\n\nwhen flag clicked\nbroadcast (作品Start！ v)\n\n@LONG\n\nwhen flag clicked\nhide\n\n