… Long!! Platformer…

Instructions: （日本語は下です。読まないと損するよ。❤️）\n（English）\nThis time, I made a combination of all the elements of the platformer I made.\nThe works I made before.\nhttps://scratch.mit.edu/projects/722522418\nhttps://scratch.mit.edu/projects/727806867\nHow to operate\n・Computer\nW・Jump with the up arrow keys\nA - Move left with the left arrow key\nMove to the right with the D and right arrow keys\nIf you jump on the wall, you can kick the wall.\n・Smartphone\nTap the one you want to move.\nIf you hit a needle or magma, you will die, so be careful!\nThis time, I made everything by myself except the intro.\nUse it as a material.\nPlease take care of the remix.\n❤️&⭐️And please follow me!\n（日本語）\n今回は僕が作ったプラットフォーマーの要素を全て組み合わせて作りました。\n前作った作品達。\nhttps://scratch.mit.edu/projects/722522418\nhttps://scratch.mit.edu/projects/727806867\n操作方法\n・パソコン\nW・上矢印キーでジャンプ\n A・左矢印キーで左に移動\n D・右矢印キーで右に移動\n壁についた状態でジャンプしたら壁キックができる。\n・スマートフォン\n動かしたい方をタップしよう。\n針やマグマに当たったら死んでしまうので要注意！\n今回はイントロ以外は全部自作です。\n素材として使って。\nリミックスもよろしく。\n❤️&⭐️そしてフォローぜひぜひしていって下さい！\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景0 v)\nwait (3) seconds\nswitch backdrop to (背景1 v)\nforever\n    if <<(ステージ) = [15]> or <<(ステージ) = [16]> or <<(ステージ) = [17]> or >>> then\n        switch costume to (背景0 v)\n    else\n        switch costume to (背景1 v)\n    end\nend\n\nshow variable [☁ 世界記録 v]\nshow variable [time v]\n\n@プレイヤー\n\nwhen flag clicked\nset [ステージ v] to [1]\nhide\n\nwhen I start as a clone\nswitch costume to (プラットフォーマー2 v)\nrepeat (6)\n    change size by (-3)\n    change [ghost v] effect by (-7)\nend\ndelete this clone\n\nwhen I receive [ジャンプ v]\nstart sound [ジャンプ v]\n\nwhen flag clicked\nforever\n    if <<touching (針 v)?> or > then\n        play sound [死ぬ v] until done\n    end\nend\n\nwhen I receive [次のステージ v]\nwait (0.8) seconds\nstart sound [次 v]\n\ndefine リスポーン\npoint in direction (90)\nclear graphic effects\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-206) y: (-36)\nshow\n\nwhen I receive [スタート v]\nshow variable [time v]\n初期位置\nforever\n    if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n        change [x v] by (1.7)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n        change [x v] by (-1.7)\n        point in direction (-90)\n    end\n    set [x v] to ((X) * (0.8))\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 (X)\n                            if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<<mouse down?> and <(mouse y) > (y position)>> or <key (space v) pressed?>>>> then\n                                start sound [ジャンプ v]\n                                if <(X) > [0]> then\n                                    set [x v] to [-11]\n                                else\n                                    set [x v] to [11]\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    change y by (-1)\n    if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<<mouse down?> and <(mouse y) > (y position)>> or >>> then\n        if <touching (地面 v)?> then\n            set [y v] to [14]\n            broadcast (ジャンプ v)\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (地面 v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    if <<touching (針 v)?> or > then\n        repeat (8)\n            change [ghost v] effect by (8)\n        end\n        hide\n        リスポーン\n    end\n    if <(x position) > [234]> then\n        if <(ステージ) = [32]> then\n    end\n    if <touching (ジャンプ v)?> then\n        set [y v] to [22]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [スタート v]\nforever\n    play sound [Nebula v] until done\nend\n\nwhen I receive [スタート v]\nwait (1) seconds\ngo to [front v] layer\n\ndefine 初期位置\npoint in direction (90)\nclear graphic effects\nswitch costume to (プラットフォーマー v)\nset size to (55) %\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-206) y: (-36)\nshow\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nhide variable [time v]\n\nwhen I receive [スタート v]\nset [time v] to [0]\nforever\n    wait (1) seconds\n    change [time v] by (1)\n    if <(ステージ) = [32]> then\n        show variable [☁ 世界記録 v]\n        if <(time) < (☁ 世界記録)> then\n            set [☁ 世界記録 v] to (time)\n        end\n        wait (1000000) seconds\n    end\nend\n\nwhen I receive [次のステージ v]\nhide variable [time v]\nwait (1.8) seconds\nshow variable [time v]\n\n@明かり\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\nset size to (108) %\ngo to [back v] layer\nforever\n    if <<(ステージ) = [15]> or <<(ステージ) = [16]> or <<(ステージ) = [17]> or >>> then\n        show\n    else\n        hide\n    end\n    go to (プレイヤー v)\nend\n\n@針\n\nwhen flag clicked\nhide\n\nwhen I receive [次のステージ v]\nwait (1) seconds\npoint in direction (90)\nnext costume\n\nwhen I receive [スタート v]\nshow\nswitch costume to (針1 v)\ngo to [front v] layer\nforever\n    go to x: (-11) y: (-90)\n    if <(ステージ) = [13]> then\n        turn right (8) degrees\n    end\nend\n\n@地面\n\nwhen flag clicked\nswitch costume to (地面1 v)\nhide\n\nwhen I receive [スタート v]\nshow\nwait (0.5) seconds\ngo to [front v] layer\nforever\n    go to x: (6) y: (7)\nend\n\nwhen I receive [次のステージ v]\nwait (1) seconds\nnext costume\n\n@太陽\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nswitch costume to (ball-a v)\ngo to x: (231) y: (165)\nshow\nset size to (230) %\nwait (0.7) seconds\ngo to [front v] layer\nforever\n    repeat (18)\n        change size by (-2)\n    end\n    repeat (18)\n        change size by (2)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <<(ステージ) = [15]> or <<(ステージ) = [16]> or <<(ステージ) = [17]> or >>> then\n        glide (1) secs to x: (186) y: (90)\n        switch costume to (ball-e v)\n    else\n        glide (1) secs to x: (231) y: (165)\n        switch costume to (ball-a v)\n    end\nend\n\n@広告？\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\ngo to x: (141) y: (181)\nwait (0.8) seconds\ngo to [front v] layer\nforever\n    wait (9) seconds\n    show\n    play sound [Pop v] until done\n    glide (1) secs to x: (141) y: (155)\n    wait (5) seconds\n    glide (1) secs to x: (141) y: (181)\n    hide\nend\n\n@最後\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nset [❤️&⭐️あとfollowよろしく。 v] to [0]\nhide\nforever\n    if <(ステージ) = [32]> then\n        show\n        repeat (5)\n            change y by (1)\n            change [❤️&⭐️あとfollowよろしく。 v] by (-1)\n            change y by (❤️&⭐️あとFollowよろしく。)\n        end\n        set [❤️&⭐️あとfollowよろしく。 v] to [0]\n        repeat (5)\n            change y by (-1)\n            change [❤️&⭐️あとfollowよろしく。 v] by (1)\n            change y by (❤️&⭐️あとFollowよろしく。)\n        end\n        set [❤️&⭐️あとfollowよろしく。 v] to [0]\n    else\n        hide\n    end\nend\n\n@next2\n\nwhen flag clicked\nset size to (30) %\nset [ghost v] effect to (120)\nhide\n\nwhen I receive [次のステージ v]\nwait (0.8) seconds\ngo to [front v] layer\nshow\nrepeat (12)\n    change size by (6)\nend\nrepeat (12)\n    change size by (-6)\nend\n\nwhen I receive [次のステージ v]\nwait (0.8) seconds\nrepeat (12)\n    change [ghost v] effect by (-6)\nend\nrepeat (12)\n    change [ghost v] effect by (6)\nend\nhide\n\n@Next1\n\nwhen I receive [次のステージ v]\nswitch costume to (3 v)\nrepeat (4)\n    create clone of (_myself_ v)\n    next costume\n    change x by (135)\n    wait (0.1) seconds\nend\ngo to x: (-8) y: (376)\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nset [次 v] to [0]\nrepeat (28)\n    change y by (1)\n    change [次 v] by (-1)\n    change y by (次)\nend\nset [次 v] to [0]\nrepeat (28)\n    change y by (-1)\n    change [次 v] by (1)\n    change y by (次)\nend\n\nwhen I start as a clone\nwait (1.1) seconds\nrepeat (10)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [スタート v]\nhide\nswitch costume to (3 v)\nset [次 v] to [0]\ngo to x: (-8) y: (376)\n\n@イントロ。\n\nwhen I start as a clone\nif <(cloneID) = [logo]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (logo v)\n    repeat until <[101] > (size)>\n        switch costume to (bit v)\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (logo v)\n    end\n    repeat until <[66] > (size)>\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n    end\n    set [clone_dir v] to [0.5]\n    repeat until <(size) > [100]>\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n    end\n    repeat (7)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n        switch costume to (logo v)\n    end\n    hide\n    switch costume to (square1 v)\n    set [cloneid v] to [square2]\n    create clone of (_myself_ v)\n    switch costume to (square2 v)\n    set [cloneid v] to [square3]\n    create clone of (_myself_ v)\n    set [cloneid v] to [kirbyzaz]\n    create clone of (_myself_ v)\n    set [cloneid v] to [back3]\n    create clone of (_myself_ v)\n    repeat (8)\n        set [clone_size v] to [50]\n        set [cloneid v] to [square1]\n        create clone of (_myself_ v)\n        set [cloneid v] to [back2]\n        create clone of (_myself_ v)\n        broadcast (\[INTRO\]size v)\n        switch costume to (square1 v)\n        wait (0.561) seconds\n    end\n    broadcast (\[INTRO\]spin v)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (blackbar1 v)\n    repeat until <[175] > (size)>\n        switch costume to (bit v)\n        change size by (((174) - (size)) / (6.9))\n        change [clone_dir v] by (((65) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (back v)\n    end\n    set [clone_dir v] to [0.5]\n    repeat (15)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        switch costume to (back v)\n        turn right ((clone_dir) / (12)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [b1]> then\n    switch costume to (blackbar1 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((125) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((-1) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    broadcast (\[INTRO\]end v)\nend\n\nwhen I start as a clone\nif <(cloneID) = [b2]> then\n    switch costume to (blackbar2 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((-125) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((1) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nreset timer\nstart sound [Foxsky - Kirby Smash v]\nwait (0.7) seconds\nhide\nset [cloneid v] to [b1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [b2]\ncreate clone of (_myself_ v)\nwait (0.3) seconds\nset [cloneid v] to [back]\ncreate clone of (_myself_ v)\nset [cloneid v] to [logo]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(cloneID) = [square1]> then\n    go to [back v] layer\n    go [forward v] (3) layers\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    repeat until <(size) > [100]>\n        change size by (((clone_size) - (size)) / (5))\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by (((clone_size) - (size)) / (5))\n        switch costume to (clone_cos)\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back2]> then\n    switch costume to (back2 v)\n    clear graphic effects\n    set [ghost v] effect to (50)\n    show\n    go to [front v] layer\n    repeat (25)\n        change [ghost v] effect by (2)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back3]> then\n    go to x: (0) y: (0)\n    show\n    switch costume to (back3 v)\n    set [s v] to [90]\n    show\n    set [clone_dir v] to [90]\n    \n        switch costume to (bit v)\n        set size to (100) %\n        go to [back v] layer\n        change [clone_dir v] by (((s) - (clone_dir)) / (5))\n        point in direction (clone_dir)\n        switch costume to (back3 v)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [square3]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [square2]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\]size v]\nif < (cloneID) contains [square]?> then\n    if <[350] < (clone_dir)> then\n        set [clone_dir v] to [0]\n    end\n    change [clone_size v] by ((clone_size) * (1.5))\n    change [clone_dir v] by (22.5)\nend\nif <(cloneID) = [back3]> then\n    change [s v] by (90)\nend\n\nwhen I receive [\[intro\]spin v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [kirbyzaz]> then\n    set [clone_cos v] to (pick random (5) to (10))\n    change size by (30)\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [kirbyzaz]> then\n    show\n    set [clone_dir v] to [90]\n    point in direction (90)\n    go to x: (0) y: (0)\n    switch costume to (bit v)\n    set size to (200) %\n    switch costume to (yourname v)\n    \n        switch costume to (bit v)\n        change size by (((120) - (size)) / (5))\n        switch costume to (yourname v)\n        go to [front v] layer\n        go [backward v] (2) layers\n    end\nend\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [b1]> then\n    set [clone_cos v] to [2]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\nif <(cloneID) = [b2]> then\n    set [clone_cos v] to [-5]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I receive [\[intro\]end v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n    wait (1) seconds\n    if <(cloneID) = [b1]> then\n        change y by (1.5)\n        repeat until <(y position) > [200]>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar1 v)\n        end\n    else\n        change y by (-1.5)\n        repeat until <[-200] > (y position)>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar2 v)\n        end\n    end\n    broadcast (スタート v)\n    delete this clone\nelse\n    hide\n    delete this clone\nend\n\n@ジャンプ\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\ngo to x: (-117) y: (-134)\nswitch costume to (ball-a v)\nforever\n    if <<(ステージ) = [20]> or <(ステージ) = [21]>> then\n        show\n    else\n        hide\n    end\n    if <(ステージ) = [21]> then\n        switch costume to (ball-a2 v)\n    end\nend\n\n@みてくれてありがとう。\n\nwhen I receive [スタート v]\npoint in direction (90)\nhide\nset size to (100) %\nforever\n    if <(ステージ) = [32]> then\n        show\n        repeat (10)\n            change size by (2)\n        end\n        repeat (10)\n            change size by (-2)\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@サムネ\n\nwhen flag clicked\nhide\n\nshow\n\nswitch backdrop to (背景1 v)\n\ngo to x: (0) y: (0)\n\n@Basketball\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (20)\nforever\n    if <(ステージ) = [1]> then\n        hide\n    else\n        show\n    end\n    move (-3) steps\n    if <(x position) = [-304]> then\n        delete this clone\n    end\nend\n\nwhen I receive [スタート v]\nwait (0.6) seconds\ngo to [front v] layer\nclear graphic effects\ngo to x: (164) y: (106)\nforever\n    glide (pick random (0.1) to (0.8)) secs to x: (155) y: (150)\n    glide (pick random (0.1) to (0.8)) secs to x: (155) y: (17)\nend\n\nwhen I receive [スタート v]\nforever\n    wait (pick random (2) to (4)) seconds\n    create clone of (_myself_ v)\nend\n\n