プラットフォーマー(platformer)

Instructions: 参照数3000人！！ありがとう！！(*'▽')\n特別に無限日okにします\n\n拡散あと無限名（人）\n\n締めきったらそれで終わり\n下の説明をよく見てください！！\n\nり\n　み\n　　っ\n　　　ておねがい\n上下左右で動かします\nジャンプは上です\n♥と★100いったら次の（platformer)をつくります\n拡散してくれた人\n注意拡散はスタジオに！！\nスタジオでなければ♡と★を返しません！！m(__)m\nまたはリミックスでもある\n拡散1人目@masakik2022様\n拡散2人目@kotasamon様\n拡散3人目@deka_tomato様\n拡散4人目@right666様\nマジ感謝→リミックス5人目@yangi-sann様\nマジ感謝→リミックス6人目@takuma0728様\n拡散7人目@-sei-様\n拡散8人目@sibainu345様\n拡散＆リミックス(*'▽')9人目@abarenbochicken様\n拡散10人目@-RikuGames-\n\n\n\nか\n　く\n　　さ\n　　　ん\n　　　　し\n　　　　　て\n　　　　　　く\n　　　　　　　れ\n　　　　　　　　た\n　　　　　　　　　ら\n　　　　　　　　　　お\n　　　　　　　　　　　し\n　　　　　　　　　　　　え\n　　　　　　　　　　　　　て\n　　　　　　　　　　　　　　！\n　　　　　　　　　　　　　　　！\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n何で見てるの\nこの下は見ちゃダメ\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nこれを見たらあれをやらなきゃいけない\nあれはあとでおしえる\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n　　　　　　　　　　　　　　　　　\n\n@19234569\nhttps://scratch.mit.edu/projects/836087513/

@Stage\n\nset [ステージ v] to [1]\ngo to x: (-200) y: (0)\nforever\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.92))\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 y by (1)\n                            if <touching (地面 v)?> then\n                                change x by ((0) - (x))\n                                change y by (-5)\n                                if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                    if <[0] < (x)> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                    set [y 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    end\n    change [y v] by (-1)\nend\n\nchange y by (y)\nif <touching (地面 v)?> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-2)\nif <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> and <touching (地面 v)?>> then\n    start sound [jump-cute1 v]\n    set [y v] to [15]\nend\nchange y by (1)\nif <<<<<<(y position) < [-165]> or <touching (マグマ v)?>> or <touching (マグマ2 v)?>> or <touching (マグマ3 v)?>> or <touching (マグマ4 v)?>> or <touching (マグマ5 v)?>> then\n    start sound [Teleport2 v]\n    repeat (15)\n    hide\n    clear graphic effects\n    go to x: (-200) y: (0)\n    set [x v] to [0]\n    set [y v] to [0]\n    show\nend\nif <[239] < (x position)> then\n    if <not <(ステージ) = [5]>> then\n        hide\n        clear graphic effects\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        change [ステージ v] by (1)\n        show\n    end\nend\n\n@プレイヤー\n\nwhen flag clicked\nset [color v] effect to (100)\nwait (1) seconds\nshow\nset size to (65) %\nwait (0.01) seconds\nset rotation style [left-right v]\npoint in direction (90)\ngo to [front v] layer\nset [x v] to [0]\nset [y v] to [0]\nset [ステージ v] to [1]\nclear graphic effects\ngo to x: (-200) y: (0)\nshow\nforever\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-0.8)\n        point in direction (-90)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.92))\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 y by (1)\n                            if <touching (地面 v)?> then\n                                change x by ((0) - (x))\n                                change y by (-5)\n                                if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                    if <[0] < (x)> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                    set [y 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    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> and <touching (地面 v)?>> then\n        start sound [jump-cute1 v]\n        set [y v] to [13]\n    end\n    change y by (1)\n    if <<<<<<(y position) < [-165]> or <touching (マグマ v)?>> or <touching (マグマ2 v)?>> or <touching (マグマ3 v)?>> or <touching (マグマ4 v)?>> or <touching (マグマ5 v)?>> then\n        start sound [Teleport2 v]\n        repeat (15)\n        hide\n        clear graphic effects\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        show\n    end\n    if <[239] < (x position)> then\n        if <not <(ステージ) = [10]>> then\n            hide\n            clear graphic effects\n            go to x: (-200) y: (0)\n            set [x v] to [0]\n            set [y v] to [0]\n            change [ステージ v] by (1)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (ばね v)?> then\n        start sound [jump-anime1 v]\n        set [y v] to [22.5]\n    end\nend\n\nwhen flag clicked\nforever\n    reset timer\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(mouse y) < [0]>>> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen flag clicked\nforever\n    if <<[45] < (x position)> or <(y position) > [243]>> then\n        next backdrop\n    end\n    if <<(y position) > [63]> or <(x position) > [217]>> then\n        next backdrop\n    end\n    if <touching (トゲ v)?> then\n        go to x: (-206) y: (150)\n    end\n    if <touching (フォローよろしく！ v)?> then\n        go to x: (-226) y: (-117)\n    end\n    if <(ステージ) = <[10] = <<[215] < (x position)> or <(y position) > [-118]>>>> then\n        broadcast (次へ行け v)\n    end\nend\n\nhide\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [color v] effect by (25)\nend\n\n@地面\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nhide\nswitch backdrop to (背景1 v)\nwait (1) seconds\nshow\nswitch backdrop to (背景2 v)\nforever\n    if <(costume [name v]) = [10]> then\n        if <(☁ 世界記録) > (かかった時間)> then\n            set [☁ 世界記録 v] to (かかった時間)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<[9] > (costume [name v])> or <[9] = (costume [number v])>> then\n        change [かかった時間 v] by (1)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nset [かかった時間 v] to [0]\n\nwhen flag clicked\nchange [☁ プレイした回数 v] by (1)\n\nwhen flag clicked\nif <(☁ 世界記録) = [0]> then\n    set [☁ 世界記録 v] to [20]\nend\n\nwhen I receive [次へ行け v]\nnext costume\n\nwhen flag clicked\nhide variable [☁ プレイした回数 v]\nwait (1) seconds\nshow variable [☁ プレイした回数 v]\n\n@マグマ\n\nwhen flag clicked\nhide\nwait (1) seconds\nshow\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [1]> then\n        set size to (100) %\n        point in direction (90)\n        go to x: (-38) y: (-59)\n        show\n    end\n    if <(ステージ) = [2]> then\n        point in direction (65)\n        go to x: (14) y: (82)\n        show\n    end\n    if <(ステージ) = [3]> then\n        set size to (300) %\n        point in direction (90)\n        go to x: (152) y: (133)\n        show\n    end\n    if <(ステージ) = [4]> then\n        hide\n    end\n    if <(ステージ) = [5]> then\n        go to x: (72) y: (45)\n        hide\n    end\n    if <(ステージ) = [6]> then\n        go to x: (-20) y: (210)\n        hide\n    end\n    if <(ステージ) = [7]> then\n        hide\n    end\n    if <(ステージ) = [8]> then\n        show\n        set size to (100) %\n        go to x: (-83) y: (-56)\n    end\n    if <(ステージ) = [9]> then\n        go to x: (-104) y: (30)\n        point in direction (60)\n        show\n    end\n    if <(ステージ) = [10]> then\n        go to x: (-104) y: (30)\n        point in direction (60)\n        hide\n    end\nend\n\n@マグマ2\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [1]> then\n        set size to (100) %\n        point in direction (90)\n        go to x: (-38) y: (-59)\n        hide\n    end\n    if <(ステージ) = [2]> then\n        point in direction (65)\n        go to x: (14) y: (82)\n        hide\n    end\n    if <(ステージ) = [3]> then\n        set size to (300) %\n        point in direction (90)\n        go to x: (152) y: (133)\n        hide\n    end\n    if <(ステージ) = [4]> then\n        hide\n    end\n    if <(ステージ) = [5]> then\n        go to x: (72) y: (45)\n        show\n    end\n    if <(ステージ) = [6]> then\n        go to x: (59) y: (71)\n        show\n    end\n    if <(ステージ) = [7]> then\n        hide\n    end\n    if <(ステージ) = [8]> then\n        hide\n    end\n    if <(ステージ) = [9]> then\n        hide\n    end\nend\n\nif <(ステージ) = [9]> then\n    hide\nend\n\n@ばね\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム1  v)\ngo to x: (185) y: (-113)\nforever\n    if <touching (プレイヤー v)?> then\n        set [y v] to [22]\n        switch costume to (コスチューム2 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム3 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム4 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム5 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム6 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム7 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム8 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム9 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム8 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム7 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム6 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム5 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム4 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム3 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム2 v)\n        wait (0.01) seconds\n        switch costume to (コスチューム1 v)\n        wait until <not <touching (プレイヤー v)?>>\n    else\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [1]> then\n        hide\n    end\n    if <(ステージ) = [2]> then\n        hide\n    end\n    if <(ステージ) = [3]> then\n        go to x: (-108) y: (-124)\n        show\n    end\n    if <(ステージ) = [4]> then\n        hide\n    end\n    if <(ステージ) = [7]> then\n        hide\n        go to x: (90) y: (-130)\n    end\n    if <(ステージ) = [8]> then\n        hide\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nwait (1) seconds\nswitch costume to (コスチューム2 v)\n\nwhen flag clicked\nstart sound [Unlimited v]\n\n@マグマ3\n\nwhen flag clicked\nhide\nwait (1) seconds\nshow\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [1]> then\n        hide\n        set size to (100) %\n        point in direction (90)\n        go to x: (-38) y: (-59)\n    end\n    if <(ステージ) = [2]> then\n        point in direction (65)\n        go to x: (14) y: (82)\n        hide\n    end\n    if <(ステージ) = [3]> then\n        set size to (300) %\n        point in direction (90)\n        go to x: (152) y: (133)\n        hide\n    end\n    if <(ステージ) = [4]> then\n        hide\n    end\n    if <(ステージ) = [5]> then\n        go to x: (72) y: (45)\n        hide\n    end\n    if <(ステージ) = [6]> then\n        go to x: (-20) y: (210)\n    end\n    if <(ステージ) = [7]> then\n        hide\n    end\n    if <(ステージ) = [8]> then\n        go to x: (174) y: (-2)\n        set size to (100) %\n        show\n    end\n    if <(ステージ) = [9]> then\n        go to x: (173) y: (-11)\n        point in direction (120)\n        show\n    end\n    if <(ステージ) = [10]> then\n        go to x: (173) y: (-11)\n        point in direction (120)\n        hide\n    end\nend\n\n@マグマ4\n\nwhen flag clicked\nhide\nwait (1) seconds\nshow\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [1]> then\n        hide\n        set size to (100) %\n        point in direction (90)\n        go to x: (-38) y: (-59)\n    end\n    if <(ステージ) = [2]> then\n        point in direction (65)\n        go to x: (14) y: (82)\n        hide\n    end\n    if <(ステージ) = [3]> then\n        set size to (300) %\n        point in direction (90)\n        go to x: (152) y: (133)\n        hide\n    end\n    if <(ステージ) = [4]> then\n        hide\n    end\n    if <(ステージ) = [5]> then\n        go to x: (72) y: (45)\n        hide\n    end\n    if <(ステージ) = [6]> then\n        go to x: (-20) y: (210)\n        hide\n    end\n    if <(ステージ) = [7]> then\n        hide\n    end\n    if <(ステージ) = [8]> then\n        set size to (100) %\n        go to x: (31) y: (-56)\n        show\n    end\n    if <(ステージ) = [9]> then\n        hide\n    end\nend\n\n@マグマ5\n\nwhen flag clicked\nhide\nwait (1) seconds\nshow\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [1]> then\n        hide\n        set size to (100) %\n        point in direction (90)\n        go to x: (-38) y: (-59)\n    end\n    if <(ステージ) = [2]> then\n        point in direction (65)\n        go to x: (14) y: (82)\n        hide\n    end\n    if <(ステージ) = [3]> then\n        set size to (300) %\n        point in direction (90)\n        go to x: (152) y: (133)\n        hide\n    end\n    if <(ステージ) = [4]> then\n        hide\n    end\n    if <(ステージ) = [5]> then\n        go to x: (72) y: (45)\n        hide\n    end\n    if <(ステージ) = [6]> then\n        go to x: (-20) y: (210)\n    end\n    if <(ステージ) = [7]> then\n        hide\n    end\n    if <(ステージ) = [8]> then\n        hide\n    end\n    if <(ステージ) = [9]> then\n        hide\n    end\nend\n\n@空の雲\n\nwhen I start as a clone\nshow\nglide (pick random (3) to (10)) secs to x: (-276) y: (y position)\nhide\ndelete this clone\n\nwhen flag clicked\nshow\nforever\n    go to [front v] layer\n    switch costume to (pick random (1) to (3))\n    set [ghost v] effect to (pick random (40) to (60))\n    wait (pick random (3) to (0.9)) seconds\n    create clone of (_myself_ v)\n    go to x: (276) y: (pick random (100) to (150))\nend\n\n@SUN\n\nwhen flag clicked\nset [sin v] to [0]\nset size to (100) %\nforever\n    change [sin v] by (1)\n    set size to ((([sin v] of ((sin) * (10)) ) * (10)) + (130)) %\nend\n\nwhen I receive [次！ v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait until <(move) = [OK]>\nwait (0.2) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@フォローよろしく！\n\nwhen flag clicked\nhide\nforever\n    hide\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [10]> then\n        show\n        go to x: (36) y: (28)\n    end\n    if <(ステージ) = [11]> then\n        hide\n    end\nend\n\n