星のPlatformer【モバイル対応】
@Stage\n\nwhen I receive [ゴール v]\nif <<not <(username) = [Soh2023]>> and <(☁ タイムの世界記録) > (タイム)>> then\n    set [☁ タイムの世界記録 v] to (タイム)\nend\n\nwhen flag clicked\nswitch backdrop to (1 v)\nforever\n    play sound [Nautilus v] until done\nend\n\nwhen I receive [next star v]\nswitch backdrop to (2 v)\n\nwhen flag clicked\nset [タイム v] to [0]\nrepeat until <([costume # v] of [ステージ v]) = [21]>\n    wait (1) seconds\n    change [タイム v] by (1)\nend\nbroadcast (ゴール v)\n\nwhen I receive [next star2 v]\nswitch backdrop to (3 v)\n\nwhen I receive [next star3 v]\nswitch backdrop to (4 v)\n\nwhen I receive [ゴール v]\nshow variable [☁ 隠しゴール到達回数 v]\nforever\n    if <<not <(username) = [Soh2023]>> and <([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 [suta-to  v]\nset volume to (100) %\n\nwhen flag clicked\nhide\nset size to (60) %\ngo to x: (-220) y: (50)\nset [ghost v] effect to (100)\ngo to [back v] layer\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\nwhen flag clicked\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        if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n            create clone of (_myself_ v)\n            change [xのやつ v] by (-2)\n            point in direction (90)\n        else\n            create clone of (_myself_ v)\n            change [xのやつ v] by (-1)\n            point in direction (90)\n        end\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n            create clone of (_myself_ v)\n            change [xのやつ v] by (2)\n            point in direction (90)\n        else\n            create clone of (_myself_ v)\n            change [xのやつ v] by (1)\n            point in direction (90)\n        end\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    change [ｙだー v] by (-1)\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        end\n    end\nend\n\nset [ぱざ v] to [10]\n\nwhen I receive [next star v]\nstop [other scripts in sprite v]\nbroadcast (roketto v)\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        if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n            create clone of (_myself_ v)\n            change [xのやつ v] by (-1.5)\n            point in direction (90)\n        else\n            create clone of (_myself_ v)\n            change [xのやつ v] by (-1)\n            point in direction (90)\n        end\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n            create clone of (_myself_ v)\n            change [xのやつ v] by (1.5)\n            point in direction (90)\n        else\n            create clone of (_myself_ v)\n            change [xのやつ v] by (1)\n            point in direction (90)\n        end\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 (-1)\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    change [ｙだー v] by (-0.7)\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        end\n    end\nend\n\nwhen flag clicked\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 [roketto 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 [next star2 v]\nstop [other scripts in sprite v]\nbroadcast (roketto2 v)\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)?> or <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        if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n            create clone of (_myself_ v)\n            change [xのやつ v] by (-1.5)\n            point in direction (90)\n        else\n            create clone of (_myself_ v)\n            change [xのやつ v] by (-2)\n            point in direction (90)\n        end\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n            create clone of (_myself_ v)\n            change [xのやつ v] by (1.5)\n            point in direction (90)\n        else\n            create clone of (_myself_ v)\n            change [xのやつ v] by (1)\n            point in direction (90)\n        end\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 (-1)\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    change [ｙだー v] by (-0.9)\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        end\n    end\nend\n\nwhen I receive [roketto2 v]\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 star3 v]\nstop [other scripts in sprite v]\nbroadcast (tiri v)\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        if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n            create clone of (_myself_ v)\n            change [xのやつ v] by (-1.5)\n            point in direction (90)\n        else\n            create clone of (_myself_ v)\n            change [xのやつ v] by (-1)\n            point in direction (90)\n        end\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n            create clone of (_myself_ v)\n            change [xのやつ v] by (1.5)\n            point in direction (90)\n        else\n            create clone of (_myself_ v)\n            change [xのやつ v] by (1)\n            point in direction (90)\n        end\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 (-1)\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    change [ｙだー v] by (-0.9)\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            if <([costume # v] of [ステージ v]) = [18]> then\n                go to x: (-216) y: (180)\n            else\n                go to x: (-216) y: (50)\n            end\n        end\n    end\nend\n\nwhen I receive [tiri v]\nrepeat until <([costume # v] of [ステージ v]) = [21]>\n    change x by (-1)\nend\n\nwhen I receive [ゴール v]\nwait (1) seconds\nforever\n    if <<([costume # v] of [ステージ v]) = [21]> and <(y position) = [184]>> then\n        broadcast (next v)\n        start sound [Rip v]\n        wait (0.5) seconds\n        go to x: (-216) y: (50)\n    end\nend\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\n@ステージ\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nhide variable [☁ 隠しゴール到達回数 v]\nset [今いる星 v] to [地球 / Earth]\nswitch costume to (1 v)\nshow\n\nwhen I receive [next star v]\nset [今いる星 v] to [月 / Moon]\nnext costume\n\nwhen I receive [next star2 v]\nnext costume\n\nwhen I receive [next star3 v]\nnext costume\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 [next star3 v]\nnext costume\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nshow variable [タイム v]\nshow variable [☁ タイムの世界記録 v]\nshow variable [今いる星 v]\nset [ghost v] effect to (100)\n\n@ステージ2\n\nwhen flag clicked\nswitch costume to (1 v)\nforever\n    if <([costume # v] of [ステージ v]) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nswitch costume to (1 v)\nforever\n    if <touching (プレイヤー v)?> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@ロケット\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nforever\n    if <([costume # v] of [ステージ v]) = [5]> then\n        show\n    else\n        hide\n    end\nend\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\n@太陽\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (205) y: (160)\nset size to (100) %\nswitch costume to (1 v)\nshow\nforever\n    Size: [100] から Size: [65] Size: [10]\n    Size: [65] から Size: [100] Size: [10]\nend\n\ndefine Size: (size1) から Size: (size2) Size: (speed)\nset size to (size1) %\nrepeat until <(round (size)) = (size2)>\n    go to [back v] layer\n    change size by (((size2) - (size)) / (speed))\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@曇\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [number v]) = [1]> then\n        wait (pick random (2) to (4)) seconds\n        create clone of (_myself_ v)\n    else\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (20)\ngo to [back v] layer\nshow\ngo to x: (300) y: (pick random (40) to (180))\nset size to (pick random (100) to (200)) %\nrepeat (180)\n    change x by (-3)\nend\nhide\ndelete this clone\n\nwhen I receive [next star v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@ロケット2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nforever\n    if <([costume # v] of [ステージ v]) = [10]> then\n        show\n    else\n        hide\n    end\nend\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 star2 v)\n        stop [this script v]\n    end\nend\n\n@噴火\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ステージ v]) = [14]> then\n        show\n        go to x: (30) y: (-65)\n        repeat (9)\n            change y by (30)\n        end\n        hide\n        wait (0.6) seconds\n    else\n        hide\n    end\nend\n\n@ロケット3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nforever\n    if <([costume # v] of [ステージ v]) = [15]> then\n        show\n    else\n        hide\n    end\nend\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 star3 v)\n        stop [this script v]\n    end\nend\n\n@視界\n\nwhen flag clicked\nhide\n\nwhen I receive [next star2 v]\ngo to [front v] layer\nset [今いる星 v] to [火星 / Mars]\nshow\n\nwhen I receive [next star3 v]\nset [今いる星 v] to [金星 / Venus]\nhide\n\n@視界2\n\nwhen flag clicked\nhide\n\nwhen I receive [next star3 v]\ngo to [front v] layer\nshow\n\nwhen I receive [ゴール v]\nhide\n\n@塵\n\nwhen I receive [next star3 v]\nrepeat until <([costume # v] of [ステージ v]) = [21]>\n    create clone of (_myself_ v)\n    wait (pick random (0.001) to (0.05)) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    show\n    point in direction (180)\n    go to x: (350) y: (pick random (300) to (-300))\n    repeat (35)\n        change x by (join [-] (pick random (10) to (20)))\n    end\n    delete this clone\nend\n\n@見やすくする\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nset [ghost v] effect to (100)\nforever\n    if <touching (プレイヤー v)?> then\n        hide variable [☁ タイムの世界記録 v]\n        hide variable [タイム v]\n        hide variable [今いる星 v]\n    else\n        show variable [☁ タイムの世界記録 v]\n        show variable [タイム v]\n        show variable [今いる星 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\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\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\nwhen flag clicked\nforever\n    if <<[message v] contains [♡]?> and <[message v] contains [★]?>> then\n    else\n    end\nend\n\n@ステージ3\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ステージ v]) = [21]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (プレイヤー v)?> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\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@爆発1\n\nwhen I receive [爆発 v]\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
説明は最後まで読んでください。\nEnglish is below.\n\n[日本語]\nこのプラットフォーマーはいろいろな星を探検するプラットフォーマーです。\n\n~遊び方~\n・旗は2回押してね。\n・ハートと星を押すと感謝のメッセージが表示されます。\n・矢印キー、タップで操作。\n・Rキーでリスタートできます。\n・隠しゴールあります!!\n・奈落に落ちたり、針に当たったりしないようにしよう。\n・星ごとにその星の特徴があります。例えば、重力が違ったりなどです。\n・星を進んでいくごとに難易度は上がります。\n・ターボモードにすると太陽系が爆発して滅びます(((\n\nPlease read the explanation to the end.\n[English]\n\n~How to play~\n・Press the flag twice.\n・Pressing the heart and star will greatly increase movement speed 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 put it in turbo mode, the solar system will explode and perish.