☀Summer☀platformer

Instructions: 4ページに載ったよ\nhttps://scratch.mit.edu/projects/534047629/\nこっちもやってみてね\n\nnew game\n♥ and ★ and follow me\n

@Stage\n\nwhen flag clicked\nstart sound [Nebula v]\n\n@スプライト1\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (50) %\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-4.7)\nend\ndelete this clone\n\nwhen flag clicked\nhide\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset size to (50) %\ngo to [front v] layer\ngo to x: (-198) y: (66)\nset [上座標j v] to [0]\nset [変数 v] to [0]\nforever\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        point in direction (90)\n        change [上座標j v] by (1)\n    end\n    if <<<mouse down?> and <(mouse x) < (x position)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        point in direction (-90)\n        change [上座標j v] by (-1)\n    end\n    set [上座標j v] to ((上座標j) * (0.89))\n    change x by (上座標j)\n    if <touching (スプライト2 v)?> then\n        change y by (1)\n        if <touching (スプライト2 v)?> then\n            change y by (1)\n            if <touching (スプライト2 v)?> then\n                change y by (1)\n                if <touching (スプライト2 v)?> then\n                    change y by (1)\n                    if <touching (スプライト2 v)?> then\n                        change y by (1)\n                        if <touching (スプライト2 v)?> then\n                            change x by ((上座標j) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                start sound [jump3 v]\n                                set [変数 v] to [10]\n                                if <[0] < (上座標j)> then\n                                    set [上座標j v] to [-7]\n                                else\n                                    set [上座標j v] to [7]\n                                end\n                            else\n                                set [上座標j 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 (スプライト2 v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            start sound [ぴょーん v]\n            set [変数 v] to [15]\n        end\n    end\n    change y by (1)\n    change [変数 v] by (-1)\n    change y by (変数)\n    if <touching (スプライト2 v)?> then\n        change y by ((変数) * (-1))\n        set [変数 v] to [0]\n    end\n    if <<<(y position) < [-170]> or <touching (針 v)?>> or <<not <touching (☀ v)?>> and <touching color (#ff0000)?>>> then\n        死\n    end\n    if <[235] < (x position)> then\n        go to x: (-195) y: (-44)\n        broadcast (次 v)\n    end\n    if <<<mouse down?> and <(mouse y) < (y position)>> or <<key (down arrow v) pressed?> or <key (s v) pressed?>>> then\n        switch costume to (player \(1\)2 v)\n    else\n        switch costume to (player \(1\) v)\n    end\nend\n\ndefine 死\nset rotation style [all around v]\nset [player death v] to [1]\nstart sound [Roblox Death Sound - OOF Sound Effect v]\nset [y v v] to [15]\nrepeat until <(y position) < [-178]>\n    go to [front v] layer\n    turn right (10) degrees\n    change y by (Y v)\n    change [y v v] by (-1)\nend\nset [player death v] to [0]\ngo to [back v] layer\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (-199) y: (-60)\ngo [forward v] (3) layers\n\n@スプライト2\n\nwhen I receive [次 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\n\n@針\n\nwhen I receive [次 v]\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (1 v)\n\n@スプライト3\n\nwhen flag clicked\nhide\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [back v] layer\nshow\ngo to x: (348) y: (122)\nrepeat until <[0] > (x position)>\n    change x by (-1)\nend\ncreate clone of (_myself_ v)\nrepeat until <[-350] > (x position)>\n    change x by (-1)\nend\ndelete this clone\n\n@maguma\n\nwhen flag clicked\nshow\ngo to [back v] layer\n\n@☀\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (-225) y: (150)\nshow\nforever\n    turn right (0.2) degrees\nend\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n