星のPlatformer 2【モバイル対応】
@Stage\n\nwhen I receive [ゴール到達 v]\nif <<not <(username) = [Soh2023]>> and <(☁ タイムの世界記録) > (タイム / time)>> then\n    set [☁ タイムの世界記録 v] to (タイム / time)\nend\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\nwhen flag clicked\nforever\n    play sound [Nautilus v] until done\nend\n\nwhen I receive [next star v]\nswitch backdrop to (2 v)\n\nwhen I receive [next star2 v]\nswitch backdrop to (3 v)\n\nwhen I receive [next star3 v]\nstop [other scripts in sprite v]\nbroadcast (black hole v)\nforever\n    play sound [死後の世界 v] until done\nend\n\nwhen I receive [black hole v]\nswitch backdrop to (4 v)\n\nwhen I receive [ゴール到達 v]\nstop [other scripts in sprite v]\nswitch backdrop to (5 v)\n\n@プレイヤー\n\nwhen I receive [suta-to  v]\nset volume to (100) %\n\nwhen flag clicked\nhide variable [☁ 隠しゴール到達回数 v]\nhide\nset size to (60) %\ngo to x: (-220) y: (50)\nset [ghost v] effect to (100)\ngo to [back v] layer\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <(y position) < [-170]> then\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n    end\n    if <touching (トゲ v)?> then\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (1)\n        point in direction (90)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by (1)\n        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n            change y by (1)\n            if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                change y by (1)\n                if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                    change y by (1)\n                    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                        change y by (1)\n                        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                            change x by ((xのやつ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [ニュッ v]\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 [15]\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 (road- v)?> or <touching (ステージ v)?>> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [ｙだー v] to [16.3]\n            start sound [ニュッ v]\n        end\n    end\n    change y by (1)\n    if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n        change [ｙだー v] by (-0.7)\n    else\n        change [ｙだー v] by (-0.9)\n    end\n    change y by (ｙだー)\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        if <not <(ぱざ) = [11]>> then\n            broadcast (next v)\n            start sound [Rip v]\n            wait (0.5) seconds\n            go to x: (-216) y: (50)\n            clear graphic effects\n        end\n    end\nend\n\nwhen I start as a clone\nset [brightness v] effect to (-1)\nrepeat (9)\n    change [ghost v] effect by (7)\n    change size by (-5.2)\nend\ndelete this clone\n\nwait (1) seconds\n\nwait (2.4) seconds\n\nset [ぱざ v] to [10]\n\nwhen I receive [next star v]\nstop [other scripts in sprite v]\nbroadcast (ロケット v)\ngo to x: (-220) y: (50)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <(y position) < [-170]> then\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n    end\n    if <touching (トゲ v)?> then\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n    end\n    if <touching (トゲ2 v)?> then\n        switch costume to (player2 v)\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n            switch costume to (player3 v)\n        else\n            switch costume to (player v)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (-1.5)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (1.5)\n        point in direction (90)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by (1)\n        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n            change y by (1)\n            if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                change y by (1)\n                if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                    change y by (1)\n                    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                        change y by (1)\n                        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                            change x by ((xのやつ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [ニュッ v]\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 [15]\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 (road- v)?> or <touching (ステージ v)?>> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [ｙだー v] to [16.3]\n            start sound [ニュッ v]\n        end\n    end\n    change y by (1)\n    if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n        change [ｙだー v] by (-0.7)\n    else\n        change [ｙだー v] by (-0.9)\n    end\n    change y by (ｙだー)\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        if <not <(ぱざ) = [11]>> then\n            broadcast (next v)\n            start sound [Rip v]\n            wait (0.5) seconds\n            go to x: (-216) y: (50)\n            clear graphic effects\n        end\n    end\nend\n\nwhen flag clicked\nhide variable [溶けるまで / until it melts v]\nforever\n    if <touching (ロケット v)?> then\n        set [ghost v] effect to (100)\n        stop [this script v]\n    end\nend\n\nwhen I receive [next star2 v]\nstop [other scripts in sprite v]\nbroadcast (ロケット2 v)\ngo to x: (-220) y: (50)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <(y position) < [-170]> then\n        set [溶けるまで / until it melts v] to [10]\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n        if <([costume # v] of [ステージ v]) = [10]> then\n            go to x: (-210) y: (0)\n        else\n            go to x: (-210) y: (100)\n        end\n    end\n    if <touching (トゲ v)?> then\n        set [溶けるまで / until it melts v] to [10]\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        if <([costume # v] of [ステージ v]) = [10]> then\n            go to x: (-210) y: (0)\n        else\n            go to x: (-210) y: (100)\n        end\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (1)\n        point in direction (90)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by (1)\n        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n            change y by (1)\n            if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                change y by (1)\n                if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                    change y by (1)\n                    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                        change y by (1)\n                        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                            change x by ((xのやつ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [ニュッ v]\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 [15]\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 (road- v)?> or <touching (ステージ v)?>> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [ｙだー v] to [16.3]\n            start sound [ニュッ v]\n        end\n    end\n    change y by (1)\n    if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n        change [ｙだー v] by (-0.7)\n    else\n        change [ｙだー v] by (-0.9)\n    end\n    change y by (ｙだー)\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        if <not <(ぱざ) = [11]>> then\n            broadcast (next v)\n            start sound [Rip v]\n            wait (0.5) seconds\n            go to x: (-216) y: (50)\n            clear graphic effects\n        end\n    end\nend\n\nwhen I receive [ロケット v]\nforever\n    if <touching (ロケット2 v)?> then\n        set [ghost v] effect to (100)\n        stop [this script v]\n    end\nend\n\nwhen I receive [ロケット2 v]\nset [溶けるまで / until it melts v] to [10]\nsay [暑い... /  hot...] for (2) seconds\nshow variable [溶けるまで / until it melts v]\nforever\n    clear graphic effects\n    set [溶けるまで / until it melts v] to [10]\n    repeat until <(溶けるまで / until it melts) < [1]>\n        wait (1) seconds\n        change [溶けるまで / until it melts v] by (-1)\n    end\n    repeat (4)\n        change [fisheye v] effect by (25)\n        change [brightness v] effect by (-25)\n    end\n    start sound [crashed oof v]\n    repeat (10)\n        change [ghost v] effect by (7)\n    end\n    switch costume to (player v)\n    clear graphic effects\n    if <([costume # v] of [ステージ v]) = [10]> then\n        go to x: (-210) y: (0)\n    else\n        go to x: (-210) y: (100)\n    end\nend\n\nwhen I receive [ロケット2 v]\nhide variable [溶けるまで / until it melts v]\nset [溶けるまで / until it melts v] to []\nforever\n    if <touching (ロケット3 v)?> then\n        set [ghost v] effect to (100)\n        stop [this script v]\n    end\nend\n\nwhen I receive [next v]\nset [溶けるまで / until it melts v] to [10]\n\nwhen I receive [next star3 v]\nswitch costume to (player v)\nstop [other scripts in sprite v]\nbroadcast (ロケット3 v)\ngo to x: (-220) y: (50)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <(y position) < [-170]> then\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n        if <<([costume # v] of [ステージ v]) = [17]> or <([costume # v] of [ステージ v]) = [18]>> then\n            go to x: (-216) y: (0)\n        else\n            go to x: (-216) y: (50)\n        end\n    end\n    if <<<touching (トゲ v)?> or <touching (破片 v)?>> or <touching (トゲ3 v)?>> then\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        if <([costume # v] of [ステージ v]) = [18]> then\n            go to x: (-216) y: (0)\n        else\n            go to x: (-216) y: (50)\n        end\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (1)\n        point in direction (90)\n    end\n    if <<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [ｙだー v] by (1)\n    end\n    if <<<(y position) > (mouse y)> and <mouse down?>> or <key (down arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [ｙだー v] by (-1)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    set [ｙだー v] to ((ｙだー) * (0.9))\n    change y by (ｙだー)\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by (1)\n        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n            change y by (1)\n            if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                change y by (1)\n                if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                    change y by (1)\n                    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                        change y by (1)\n                        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                            change x by ((xのやつ) * (-1))\n                            change y by ((ｙだー) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [ニュッ v]\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 [15]\n                            else\n                                set [xのやつ v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <(x position) > [230]> then\n        if <not <(ぱざ) = [11]>> then\n            broadcast (next v)\n            start sound [Rip v]\n            wait (0.5) seconds\n            if <([costume # v] of [ステージ v]) = [18]> then\n                go to x: (-216) y: (0)\n            else\n                go to x: (-216) y: (50)\n            end\n            clear graphic effects\n        end\n    end\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\nend\n\nwhen I receive [ロケット3 v]\nforever\n    if <([costume # v] of [ステージ v]) = [20]> then\n        wait (0.5) seconds\n        if <touching (ホワイトホール v)?> then\n            stop [other scripts in sprite v]\n            broadcast (ローディング2 v)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [ゴール到達 v]\nshow variable [☁ 隠しゴール到達回数 v]\ngo to x: (-220) y: (50)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <(y position) < [-170]> then\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n        if <([costume # v] of [ステージ v]) = [10]> then\n            go to x: (-210) y: (0)\n        else\n            go to x: (-210) y: (100)\n        end\n    end\n    if <touching (トゲ v)?> then\n        start sound [crashed oof v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        if <([costume # v] of [ステージ v]) = [10]> then\n            go to x: (-210) y: (0)\n        else\n            go to x: (-210) y: (100)\n        end\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (1)\n        point in direction (90)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by (1)\n        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n            change y by (1)\n            if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                change y by (1)\n                if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                    change y by (1)\n                    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                        change y by (1)\n                        if <<touching (road- v)?> or <touching (ステージ v)?>> then\n                            change x by ((xのやつ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [ニュッ v]\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 [15]\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 (road- v)?> or <touching (ステージ v)?>> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [ｙだー v] to [16.3]\n            start sound [ニュッ v]\n        end\n    end\n    change y by (1)\n    if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n        change [ｙだー v] by (-0.7)\n    else\n        change [ｙだー v] by (-0.9)\n    end\n    change y by (ｙだー)\n    if <<touching (road- v)?> or <touching (ステージ v)?>> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(y position) > [180]> then\n        if <not <(ぱざ) = [11]>> then\n            broadcast (next v)\n            start sound [Rip v]\n            wait (0.5) seconds\n            go to x: (-216) y: (50)\n            clear graphic effects\n        end\n    end\nend\n\nset [溶けるまで / until it melts v] to [10]\n\nwhen [r v] key pressed\nstart sound [crashed oof v]\nrepeat (10)\n    change [ghost v] effect by (7)\nend\nclear graphic effects\ngo to x: (-210) y: (100)\n\nwhen I receive [ロケット2 v]\nforever\n    if <([costume # v] of [ステージ v]) = [12]> then\n        set [溶けるまで / until it melts v] to [99999999999999999999999999999999999999999999999999999999999999999999]\n    end\nend\n\nwhen I receive [ゴール到達 v]\nforever\n    if <([costume # v] of [ステージ v]) = [22]> then\n        change [☁ 隠しゴール到達回数 v] by (1)\n        stop [this script v]\n    end\nend\n\n@ステージ\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nhide variable [☁ 隠しゴール到達回数 v]\nset [今いる星 v] to [金星 / Venus]\nswitch costume to (1 v)\nshow\n\nwhen I receive [next star v]\nset [今いる星 v] to [海王星 / Neptune]\nnext costume\n\nwhen I receive [next star2 v]\nset [今いる星 v] to [太陽 / Sun]\nnext costume\n\nwhen flag clicked\nshow variable [今いる星 v]\nset [タイム / time v] to [0]\nshow variable [タイム / time v]\nforever\n    wait (1) seconds\n    change [タイム / time v] by (1)\nend\n\nwhen I receive [next star3 v]\nset [今いる星 v] to [ブラックホール / Black Hole]\nnext costume\n\nwhen I receive [ゴール到達 v]\nstop [other scripts in sprite v]\nset [今いる星 v] to [???]\nswitch costume to (21 v)\n\n@トゲ\n\nwhen flag clicked\ngo to x: (0) y: (0)\npoint in direction (90)\nswitch costume to (1 v)\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [next star2 v]\nnext costume\n\nwhen I receive [next star v]\nnext costume\n\nwhen I receive [g2 v]\nforever\n    if <(costume [number v]) = [16]> then\n        go to x: (0) y: (100)\n        repeat (10)\n            change y by (-10)\n        end\n        go to x: (0) y: (0)\n        wait (1) seconds\n        repeat (10)\n            change y by (10)\n        end\n        wait (1) seconds\n    else\n        go to x: (0) y: (0)\n        stop [this script v]\n    end\nend\n\nif <(costume [number v]) = [17]> then\n\nwhen I start as a clone\nclear graphic effects\nswitch costume to (19 v)\nshow\nset size to (pick random (50) to (150)) %\ngo to x: (pick random (-300) to (300)) y: (300)\nrepeat until <<touching (ステージ v)?> or <touching (破片・トゲ感知 v)?>>\n    change y by (join [-] (pick random (10) to (30)))\nend\nrepeat (4)\n    change [pixelate v] effect by (25)\n    change [brightness v] effect by (25)\n    change [ghost v] effect by (25)\nend\ndelete this clone\n\nwhen I receive [ゴール到達 v]\nswitch costume to (21 v)\n\nwhen I receive [g3 v]\nforever\n    if <(costume [number v]) = [18]> then\n        turn right (2.8) degrees\n    else\n        point in direction (90)\n        stop [this script v]\n    end\nend\n\nwhen I receive [next star3 v]\nforever\n    if <(costume [number v]) = [17]> then\n        broadcast (ｇ v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [ｇ v]\nforever\n    if <(costume [number v]) = [17]> then\n        go to x: (0) y: (-100)\n        repeat (10)\n            change y by (10)\n        end\n        go to x: (0) y: (0)\n        wait (1.7) seconds\n        repeat (10)\n            change y by (-10)\n        end\n        wait (1.7) seconds\n    else\n        go to x: (0) y: (0)\n        stop [this script v]\n    end\nend\n\nwhen I receive [next star3 v]\nforever\n    if <(costume [number v]) = [16]> then\n        broadcast (g2 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [next star3 v]\nnext costume\n\nwhen I receive [next star3 v]\nforever\n    if <(costume [number v]) = [18]> then\n        broadcast (g3 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [next star3 v]\nforever\n    if <(costume [number v]) = [19]> then\n        hide\n        create clone of (_myself_ v)\n        wait (pick random (0.1) to (0.5)) seconds\n    else\n        show\n        delete this clone\n    end\nend\n\n@トゲ2\n\nwhen I receive [next star v]\ngo to x: (0) y: (0)\npoint in direction (90)\nswitch costume to (1 v)\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [next star2 v]\nhide\n\n@爆発1\n\nwhen I receive [爆発 v]\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\nset size to (200) %\nset volume to (100) %\nshow\ngo to x: (0) y: (0)\nswitch costume to (4 v)\nplay sound [se_enep01 v] until done\nstop [all v]\n\nwhen flag clicked\nhide\n\n@ロケット\n\nwhen flag clicked\nforever\n    if <touching (プレイヤー v)?> then\n        switch costume to (2 v)\n        repeat (30)\n            change y by (10)\n        end\n        broadcast (next star v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nforever\n    if <([costume # v] of [ステージ v]) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@ターボ対策ソフト\n\nwhen I receive [ターボチェック v]\nreset timer\nwait (0) seconds\nif <(timer) = [0]> then\n    broadcast (爆発 v)\nend\n\nwhen [space v] key pressed\nbroadcast (ターボチェック v)\n\nwhen flag clicked\nforever\n    reset timer\n    wait (0) seconds\n    if <(timer) = [0]> then\n        broadcast (爆発 v) and wait\n    end\nend\n\nwhen flag clicked\nforever\n    broadcast (ターボチェック v)\nend\n\n@メッセージ\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (95) y: (-245)\nhide\nforever\n    if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n        show\n        start sound [Coin v]\n        repeat (5)\n            go to [front v] layer\n            change y by (10)\n        end\n        wait (1) seconds\n        repeat (5)\n            go to [front v] layer\n            change y by (-10)\n        end\n        hide\n        stop [this script v]\n    end\nend\n\n@センサー\n\nwhen flag clicked\nswitch costume to (2 v)\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        wait (0.05) seconds\n        if <touching (mouse-pointer v)?> then\n            if <[message v] contains [♡]?> then\n                delete (item # of [♡] in [message v]) of [message v]\n            else\n                add [♡] to [message v]\n            end\n        end\n    end\n    wait until <not <touching (mouse-pointer v)?>>\nend\n\n@センサー2\n\nwhen flag clicked\nswitch costume to (2 v)\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        wait (0.05) seconds\n        if <touching (mouse-pointer v)?> then\n            if <[message v] contains [★]?> then\n                delete (item # of [★] in [message v]) of [message v]\n            else\n                add [★] to [message v]\n            end\n        end\n    end\n    wait until <not <touching (mouse-pointer v)?>>\nend\n\n@視界\n\nwhen flag clicked\nhide\n\nwhen I receive [next star v]\nshow\ngo to [front v] layer\nset [ghost v] effect to (50)\n\nwhen I receive [next star2 v]\nhide\n\n@ギミック1\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ステージ v]) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <touching (プレイヤー v)?> then\n        set [ghost v] effect to (50)\n    else\n        clear graphic effects\n    end\nend\n\n@ロケット2\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nforever\n    if <([costume # v] of [ステージ v]) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [next star v]\nforever\n    if <([costume # v] of [ステージ v]) = [6]> then\n        wait (1) seconds\n        if <touching (プレイヤー v)?> then\n            switch costume to (2 v)\n            repeat (30)\n                change y by (10)\n            end\n            broadcast (next star2 v)\n            stop [this script v]\n        end\n    end\nend\n\n@視界2\n\nwhen flag clicked\nhide\n\nwhen I receive [next star2 v]\nshow\ngo to [front v] layer\nset [ghost v] effect to (40)\n\nwhen I receive [next star3 v]\nhide\n\n@ロケット3\n\nwhen flag clicked\nclear graphic effects\nset size to (100) %\ngo to [front v] layer\nswitch costume to (1 v)\ngo to x: (0) y: (-35)\nforever\n    if <([costume # v] of [ステージ v]) = [12]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [next star2 v]\nforever\n    if <([costume # v] of [ステージ v]) = [12]> then\n        broadcast (判定 v)\n        wait (1) seconds\n        if <touching (プレイヤー v)?> then\n            set [溶けるまで / until it melts v] to [99999999999999999999999999999999999999999999999999999]\n            hide variable [溶けるまで / until it melts v]\n            switch costume to (2 v)\n            repeat (10)\n                change y by (10)\n            end\n            broadcast (ブラックホール!?!? v)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [吸い込まれる v]\ngo to x: (0) y: (65)\nrepeat (10)\n    change x by (-16)\n    change y by (-2)\nend\nwait (1) seconds\nrepeat (4)\n    change [ghost v] effect by (25)\nend\nbroadcast (ローディング v)\nhide\n\n@ブラックホール\n\nwhen flag clicked\nhide\n\nwhen I receive [ブラックホール!?!? v]\nshow\nset [ghost v] effect to (100)\nset [pixelate v] effect to (100)\nrepeat (50)\n    change [ghost v] effect by (-2)\n    change [pixelate v] effect by (-2)\nend\nclear graphic effects\nbroadcast (吸い込まれる v)\n\nwhen I receive [next star3 v]\nhide\n\n@謎の演出\n\nwhen flag clicked\nhide\n\nwhen I receive [next star3 v]\nforever\n    wait (pick random (0.1) to (0.3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (100) %\ngo to [back v] layer\nshow\nswitch costume to (pick random (1) to (3))\ngo to x: (300) y: (pick random (200) to (-200))\nrepeat (20)\n    change x by (-30)\nend\ndelete this clone\n\ngo [backward v] (4) layers\n\nwhen I receive [ゴール到達 v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@視界3\n\nwhen flag clicked\nhide\n\nwhen I receive [next star3 v]\nhide variable [溶けるまで / until it melts v]\nshow\nset [ghost v] effect to (50)\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen I receive [ローディング2 v]\nstop [other scripts in sprite v]\ngo [backward v] (1) layers\n\nwhen I receive [ゴール到達 v]\nhide\n\n@破片\n\nwhen flag clicked\nhide\n\nwhen I receive [next star3 v]\nforever\n    wait (pick random (2) to (8)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to [front v] layer\ngo [backward v] (2) layers\nset size to (pick random (25) to (50)) %\nclear graphic effects\ngo to x: (pick random (300) to (-300)) y: (300)\nswitch costume to (pick random (1) to (6))\nset [パターン v] to (pick random (1) to (2))\nif <(パターン) = [1]> then\n    point in direction (pick random (0) to (180))\nelse\n    point in direction (pick random (0) to (-179))\nend\nrepeat until <<touching (破片・トゲ感知 v)?> or <touching (ステージ v)?>>\n    change y by (join [-] (pick random (5) to (20)))\nend\nrepeat (4)\n    change [pixelate v] effect by (25)\n    change [brightness v] effect by (25)\n    change [ghost v] effect by (25)\nend\ndelete this clone\n\nwhen I receive [ゴール到達 v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@破片・トゲ感知\n\nwhen flag clicked\nhide\n\nwhen I receive [next star3 v]\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@ローディング\n\nwhen flag clicked\nhide\n\nwhen I receive [ローディング v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (1) seconds\nbroadcast (next star3 v)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to [back v] layer\nhide\n\n@トゲ3\n\nwhen flag clicked\ngo to x: (190) y: (0)\npoint in direction (90)\nswitch costume to (1 v)\nhide\n\nwhen I receive [next star3 v]\nforever\n    if <([costume # v] of [ステージ v]) = [17]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [next star3 v]\ngo to x: (0) y: (0)\n\n@広告\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nwait (1) seconds\nforever\n    show\n    start sound [Collect v]\n    repeat (10)\n        change x by (-8)\n    end\n    wait (2) seconds\n    repeat (10)\n        change x by (8)\n    end\n    hide\n    wait (30) seconds\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@ホワイトホール\n\nwhen flag clicked\nhide\n\nwhen I receive [next star3 v]\ngo to x: (0) y: (0)\nset size to (100) %\npoint in direction (90)\nforever\n    if <([costume # v] of [ステージ v]) = [20]> then\n        show\n    else\n        hide\n    end\nend\n\n@ローディング2\n\nwhen flag clicked\nhide\n\nwhen I receive [ローディング2 v]\nset [ghost v] effect to (100)\ngo to [front v] layer\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (1) seconds\nbroadcast (ゴール到達 v)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to [back v] layer\nhide\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@変数当たり判定\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nset size to (100) %\npoint in direction (90)\nset [ghost v] effect to (100)\nforever\n    if <touching (プレイヤー v)?> then\n        hide variable [☁ 最速クリアタイム v]\n        hide variable [タイム / time v]\n        hide variable [今いる星 v]\n    else\n        show variable [☁ 最速クリアタイム v]\n        show variable [タイム / time v]\n        show variable [今いる星 v]\n    end\nend\n\nwhen I receive [next star3 v]\nswitch costume to (2 v)\n\n@変数当たり判定2\n\nwhen I receive [next star2 v]\nshow\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nset size to (100) %\npoint in direction (90)\nset [ghost v] effect to (100)\nforever\n    if <touching (プレイヤー v)?> then\n        hide variable [溶けるまで / until it melts v]\n    else\n        show variable [溶けるまで / until it melts v]\n    end\nend\n\nwhen I receive [判定 v]\nstop [other scripts in sprite v]\nhide variable [溶けるまで / until it melts v]\n\nwhen flag clicked\nhide\n\n@ステージ2\n\nwhen I receive [ゴール到達 v]\nforever\n    if <([costume # v] of [ステージ v]) = [21]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [ゴール到達 v]\nforever\n    if <touching (プレイヤー v)?> then\n        set [ghost v] effect to (50)\n    else\n        clear graphic effects\n    end\nend\n\nwhen flag clicked\nhide\n\n
説明は最後まで読んでください。\nEnglish is below.\n\n[日本語]\nこのプラットフォーマーはいろいろな星を探検するプラットフォーマーです。\n\n~遊び方~\n・モバイル対応とありますが、PCのプレイ推奨です。\n(難易度が高いため)なのでモバイルでクリア出来たらすごい!!\n・旗は2回押してね。\n・ハートと星を押すと感謝のメッセージが表示されます。\n・矢印キー、タップで操作。\n・Rキーでリスタートできます。\n・隠しゴールあります!!ただし超簡単に行けます!!(((\n・奈落に落ちたり、針に当たったりしないようにしよう。\n・星ごとにその星の特徴があります。例えば、重力が違ったりなどです。\n・星を進んでいくごとに難易度は上がります。\n・ターボモードにすると太陽系が爆発して滅びます(((\n\nPlease read the explanation to the end.\n[English]\nThis platformer is a platformer where you explore various planets.\n\n~How to play~\n-Press the flag twice.\n-Press the heart and star to jump higher and make the player rainbow colored.\n・Operation with arrow keys and tap.\n- You can restart with the R key.\n・There is a hidden goal!!\n- Try not to fall into the abyss or get hit by the needle.\n・Each star has its own characteristics. For example, gravity is different.\n- The difficulty level increases as you advance through the stars.\n・If you set it to turbo mode, the solar system will explode and be destroyed.