✨スイカゲームplatformer 2✨♤In space♤

Instructions: #1 https://scratch.mit.edu/projects/937955507/\n久しぶりの新作ゲームです！\nスイカゲームプラットフォーマーの続編です！\nno advertising / 宣伝禁止\n1p!\n日本語は下\n➥Use arrow keys to control.\n➥Avoid the needles!\n➥The last stage is difficult but clear.\n\n➥矢印キーで動かします！\n➥針を避けてください！\n➥最後のステージは難しいですが、クリアできます！

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nforever\n    play sound [fade v] until done\nend\n\n@軽量用\n\n@道\n\nwhen I receive [あ v]\nnext costume\nif <(costume [number v]) = [1]> then\n    change [ステージ v] by (1)\n    broadcast (1 v)\nend\nif <(costume [number v]) = [2]> then\n    change [ステージ v] by (1)\n    broadcast (2 v)\nend\nif <(costume [number v]) = [3]> then\n    change [ステージ v] by (1)\n    broadcast (3 v)\nend\nif <(costume [number v]) = [4]> then\n    change [ステージ v] by (1)\n    broadcast (4 v)\nend\nif <(costume [number v]) = [5]> then\n    change [ステージ v] by (1)\n    broadcast (5 v)\nend\nif <(costume [number v]) = [6]> then\n    change [ステージ v] by (1)\n    broadcast (6 v)\nend\nif <(costume [number v]) = [7]> then\n    change [ステージ v] by (1)\n    broadcast (7 v)\nend\nif <(costume [number v]) = [8]> then\n    change [ステージ v] by (1)\n    broadcast (8 v)\nend\nif <(costume [number v]) = [9]> then\n    change [ステージ v] by (1)\n    broadcast (9 v)\nend\nif <(costume [number v]) = [10]> then\n    change [ステージ v] by (1)\n    broadcast (10 v)\nend\nif <(costume [number v]) = [11]> then\n    change [ステージ v] by (1)\n    broadcast (11 v)\nend\nif <(costume [number v]) = [12]> then\n    set [ステージ v] to [12]\n    broadcast (12 v)\nend\n\nwhen flag clicked\nswitch costume to (1 v)\nset [ghost v] effect to (100)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen I receive [i v]\nif <(costume [number v]) = [12]> then\n    broadcast (13 v)\n    switch costume to (コスチューム13 v)\nend\n\nwhen I receive [ｆ v]\nswitch costume to (12 v)\n\nwhen I receive [w v]\nhide\n\nwhen flag clicked\nset [ステージ v] to [0]\n\n@ぷれーやー\n\nwhen I start as a clone\nrepeat (9)\n    change [ghost v] effect by (7)\n    change size by (-5.2)\nend\ndelete this clone\n\nwhen I receive [あ v]\nhide\nwait (0.7) seconds\nshow\n\nwhen flag clicked\nforever\n    set [youx v] to (x position)\nend\n\nwhen I receive [初見殺し v]\nforever\n    if <(x position) = [232]> then\n        broadcast (ｆ v)\n    end\nend\n\nwhen flag clicked\nset [time v] to [0]\nset size to (60) %\ngo to x: (-220) y: (50)\nset [ghost v] effect to (100)\ngo to [back v] layer\npoint in direction (90)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <touching (はり v)?> then\n        play sound [ankle-spoil1 v] until done\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-220) y: (50)\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 (道 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のやつ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> 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 [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 (道 v)?> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            start sound [jump-cute1 v]\n            set [ｙだー v] to [16.3]\n        end\n    end\n    change y by (1)\n    change [ｙだー v] by (-1)\n    change y by (ｙだー)\n    if <touching (道 v)?> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        broadcast (あ v)\n        wait (0.7) seconds\n        go to x: (-216) y: (50)\n    end\n    if <touching (スプライト2 v)?> then\n        broadcast (i v)\n        wait (0.7) seconds\n        go to x: (-216) y: (50)\n    end\n    if <touching (てん v)?> then\n        broadcast (初見殺し v)\n    end\nend\n\nwhen I receive [w v]\nhide\n\nwhen I receive [2 v]\nswitch costume to (fruit2 v)\nset size to (50) %\n\nwhen I receive [3 v]\nswitch costume to (fruit3 v)\nset size to (60) %\n\nwhen I receive [4 v]\nswitch costume to (fruit4 v)\nset size to (70) %\n\nwhen flag clicked\nswitch costume to (fruit1 v)\nset size to (40) %\n\nwhen I receive [1 v]\nswitch costume to (fruit1 v)\n\nwhen I receive [5 v]\nswitch costume to (fruit5 v)\nset size to (75) %\n\nwhen I receive [6 v]\nswitch costume to (fruit6 v)\nset size to (80) %\n\nwhen I receive [7 v]\nswitch costume to (fruit7 v)\nset size to (85) %\n\nwhen I receive [8 v]\nswitch costume to (fruit8 v)\nset size to (95) %\n\nwhen I receive [9 v]\nswitch costume to (fruit9 v)\nset size to (100) %\n\nwhen I receive [10 v]\nswitch costume to (fruit10 v)\n\nwhen I receive [11 v]\nswitch costume to (fruit11 v)\n\nwhen I receive [12 v]\nswitch costume to (fruit11 v)\n\n@はり\n\nwhen flag clicked\npoint in direction (90)\nhide\n\nwhen I receive [2 v]\ngo to x: (1) y: (91)\nswitch costume to (コスチューム1 \(1\) v)\ngo to [back v] layer\ngo to x: (1) y: (91)\nshow\n\nwhen I receive [4 v]\nshow\nswitch costume to (コスチューム1 \(1\)2 v)\ngo to [back v] layer\nshow\n\nwhen I receive [3 v]\nswitch costume to (コスチューム1 \(1\)3 v)\n\nwhen I receive [5 v]\nswitch costume to (コスチュ\)4 v)\ngo to [back v] layer\n\nwhen I receive [5 v]\ndelete this clone\n\nwhen I receive [6 v]\nswitch costume to (コスチュ\)2 v)\n\nwhen I receive [7 v]\nswitch costume to (コスチュ\)3 v)\n\nwhen I receive [8 v]\nshow\nswitch costume to (コスチュ\)5 v)\n\nwhen I receive [9 v]\nshow\nswitch costume to (コスチュ\)8 v)\n\nwhen I receive [10 v]\nswitch costume to (コスチュ\)7 v)\n\nwhen I receive [w v]\nhide\n\nwhen I receive [12 v]\ngo to x: (1) y: (91)\nhide\n\nwhen I receive [11 v]\ngo to x: (1) y: (77)\nswitch costume to (コスチュ\)9 v)\nforever\n    turn left (10) degrees\nend\n\n@さむね\n\nwhen flag clicked\nhide\n\nwhen flag clicked\npoint in direction (90)\nset size to (100) %\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.1)\nshow\nbroadcast (w v)\ngo to x: (0) y: (240)\nrepeat until <(y position) = [0]>\n    change y by (-10)\nend\nset size to (10) %\nrepeat (9)\n    change size by (10)\n    turn right (40) degrees\nend\nset [ghost v] effect to (0)\n\n@Time\n\nwhen flag clicked\nshow variable [time v]\nforever\n    if <(ステージ) = [12]> then\n        show variable [time v]\n    else\n        change [time v] by (0.1)\n        wait (0.067) seconds\n    end\nend\n\nhide variable [time v]\n\n