【拡散希望】MINECRAFT ◊Platformer◊ Part1 コピー
@Stage\n\nwhen flag clicked\nforever\n    play sound [c418-sweden-minecraft-volume-alpha \(1\) v] until done\nend\n\n@スライム\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset [ステージ v] to [1]\npoint in direction (90)\nswitch costume to (スライム v)\ngo to x: (-200) y: (-100)\nset [番号 v] to [0]\nset [跳ねるスピード v] to [12]\nset [移動 v] to [5]\nset [落下 v] to [-1]\nset [落ちる速度 v] to [0]\nforever\n    お宝（飾り）\n    動作\n    ステージ\n    ジャンプのコントロール\n    奈落\n    溶ける！\n    跳躍力UP!\n    切られた！\n    俊敏力UP!\n    突き刺さる\n    テレポート\n    あっちい！\n    if <(x position) > [230]> then\n        change [ステージ v] by (1)\n        broadcast (→ v)\n        go to x: (-200) y: (-100)\n        set [跳ねるスピード v] to [12]\n        set [移動 v] to [5]\n    end\nend\n\ndefine ステージ\nchange y by (落ちる速度)\nif <touching (ステージ v)?> then\n    change y by ((0) - (落ちる速度))\n    set [落ちる速度 v] to [0]\nelse\n    change [落ちる速度 v] by (落下)\nend\n\ndefine 動作\nif <key (right arrow v) pressed?> then\n    change x by (移動)\n    if <touching (ステージ v)?> then\n        change x by ((0) - (移動))\n    end\nend\nif <key (left arrow v) pressed?> then\n    change x by ((0) - (移動))\n    if <touching (ステージ v)?> then\n        change x by (移動)\n    end\nend\n\ndefine ジャンプのコントロール\nif <key (up arrow v) pressed?> then\n    change y by (-1)\n    if <touching (ステージ v)?> then\n        broadcast (音 v)\n        set [落ちる速度 v] to (跳ねるスピード)\n    end\n    change y by (1)\nend\n\ndefine 奈落\nif <(y position) < [-160]> then\n    消し飛ぶ！\nend\n\ndefine 溶ける！\nif <touching (マグマ v)?> then\n    やられた！\nend\n\ndefine やられた！\nstart sound [Oops v]\ngo to [front v] layer\nswitch costume to (やられた！ v)\nwait (0.2) seconds\nswitch costume to (やられた！2 v)\nwait (0.2) seconds\nswitch costume to (やられた！3 v)\nwait (0.5) seconds\ngo to x: (-200) y: (-100)\npoint in direction (90)\nset [跳ねるスピード v] to [12]\nif <(番号) = [1]> then\n    switch costume to (スライム　飾り付け1 v)\nelse\n    if <(番号) = [2]> then\n        switch costume to (スライム　飾り付き2 v)\n    else\n        if <(番号) = [3]> then\n            switch costume to (スライム　飾り付き3 v)\n        else\n            if <(番号) = [4]> then\n                switch costume to (スライム　飾り付き4 v)\n            else\n                if <(番号) = [5]> then\n                    switch costume to (スライム　飾り付き5 v)\n                else\n                    if <(番号) = [6]> then\n                        switch costume to (スライム　飾り付き6 v)\n                    else\n                        if <(番号) = [7]> then\n                            switch costume to (スライム　飾り付き7 v)\n                        else\n                            switch costume to (スライム v)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [音 v]\nstart sound [Jump v]\n\ndefine 消し飛ぶ！\nstart sound [Oops v]\nswitch costume to (やられた！3 v)\nwait (1) seconds\ngo to x: (-200) y: (-100)\nswitch costume to (スライム v)\npoint in direction (90)\n\ndefine 跳躍力UP!\nif <touching (跳躍のポーション v)?> then\n    set [跳ねるスピード v] to [20]\n    start sound [Connect v]\nend\n\ndefine 切られた！\nif <touching (敵 v)?> then\n    やられた！\nend\n\ndefine 俊敏力UP!\nif <touching (俊敏のポーション v)?> then\n    set [移動 v] to [15]\n    start sound [Connect v]\nend\n\ndefine 突き刺さる\nif <touching (鍾乳洞 v)?> then\n    やられた！\nend\n\ndefine テレポート\nif <touching (ネザーゲート v)?> then\n    go to [front v] layer\n    change [ステージ v] by (1)\n    broadcast (→ v)\n    go to x: (-200) y: (-100)\n    set [跳ねるスピード v] to [12]\n    set [移動 v] to [5]\nend\n\ndefine お宝（飾り）\nif <touching (チェスト v)?> then\n    if <(pick random (1) to (7)) = [1]> then\n        switch costume to (スライム　飾り付け1 v)\n        set [番号 v] to [1]\n    else\n        if <(pick random (1) to (6)) = [1]> then\n            switch costume to (スライム　飾り付き2 v)\n            set [番号 v] to [2]\n        else\n            if <(pick random (1) to (5)) = [1]> then\n                switch costume to (スライム　飾り付き3 v)\n                set [番号 v] to [3]\n            else\n                if <(pick random (1) to (4)) = [1]> then\n                    switch costume to (スライム　飾り付き4 v)\n                    set [番号 v] to [4]\n                else\n                    if <(pick random (1) to (3)) = [1]> then\n                        switch costume to (スライム　飾り付き5 v)\n                        set [番号 v] to [5]\n                    else\n                        if <(pick random (1) to (2)) = [1]> then\n                            switch costume to (スライム　飾り付き6 v)\n                            set [番号 v] to [6]\n                        else\n                            switch costume to (スライム　飾り付き7 v)\n                            set [番号 v] to [7]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine あっちい！\nif <touching (炎攻撃 v)?> then\n    やられた！\nend\n\nwhen I receive [下がれ v]\ngo to [back v] layer\n\nbroadcast (お楽しみに‼ v)\n\n@敵\n\nwhen flag clicked\nset size to (35) %\ngo to [front v] layer\ngo to x: (150) y: (-98)\nhide\nswitch costume to (スティーブ　剣1 v)\nforever\n    if <(ステージ) = [7]> then\n        show\n        set [動き v] to [1]\n        repeat (20)\n            change x by (-10)\n            if <(動き) = [1]> then\n                if <<<(ステージ) = [8]> or <(ステージ) = [9]>> or <(ステージ) = [10]>> then\n                    hide\n                else\n                    show\n                end\n                switch costume to (スティーブ　剣1 v)\n                set [動き v] to [2]\n            else\n                switch costume to (スティーブ　剣2 v)\n                set [動き v] to [1]\n            end\n            wait (0.2) seconds\n        end\n        repeat (20)\n            change x by (10)\n            if <(動き) = [1]> then\n                if <<<(ステージ) = [8]> or <(ステージ) = [9]>> or <(ステージ) = [10]>> then\n                    hide\n                else\n                    show\n                end\n                switch costume to (スティーブ　剣3 v)\n                set [動き v] to [2]\n            else\n                switch costume to (スティーブ　剣4 v)\n                set [動き v] to [1]\n            end\n            wait (0.2) seconds\n        end\n    else\n        hide\n        if <(ステージ) = [7]> then\n            show\n            set [動き v] to [1]\n            repeat (20)\n                change x by (-10)\n                if <(動き) = [1]> then\n                    if <<<(ステージ) = [8]> or <(ステージ) = [9]>> or <(ステージ) = [10]>> then\n                        hide\n                    else\n                        show\n                    end\n                    switch costume to (スティーブ　剣1 v)\n                    set [動き v] to [2]\n                else\n                    switch costume to (スティーブ　剣2 v)\n                    set [動き v] to [1]\n                end\n                wait (0.2) seconds\n            end\n            repeat (20)\n                change x by (10)\n                if <(動き) = [1]> then\n                    if <<<(ステージ) = [8]> or <(ステージ) = [9]>> or <(ステージ) = [10]>> then\n                        hide\n                    else\n                        show\n                    end\n                    switch costume to (スティーブ　剣3 v)\n                    set [動き v] to [2]\n                else\n                    switch costume to (スティーブ　剣4 v)\n                    set [動き v] to [1]\n                end\n                wait (0.2) seconds\n            end\n        else\n            hide\n            if <(ステージ) = [16]> then\n                go to x: (205) y: (-100)\n                set size to (25) %\n                show\n                set [動き v] to [3]\n                repeat (10)\n                    change x by (-10)\n                    if <(動き) = [3]> then\n                        if <<(ステージ) = [17]> or <(ステージ) = [18]>> then\n                            hide\n                        else\n                            show\n                        end\n                        switch costume to (ピグリンブルート　歩き3 v)\n                        set [動き v] to [4]\n                    else\n                        switch costume to (ピグリンブルート　歩き4 v)\n                        set [動き v] to [3]\n                    end\n                    wait (0.2) seconds\n                end\n                repeat (10)\n                    change x by (10)\n                    if <(動き) = [3]> then\n                        if <<(ステージ) = [17]> or <(ステージ) = [18]>> then\n                            hide\n                        else\n                            show\n                        end\n                        switch costume to (ピグリンブルート　歩き1 v)\n                        set [動き v] to [4]\n                    else\n                        switch costume to (ピグリンブルート　歩き2 v)\n                        set [動き v] to [3]\n                    end\n                    wait (0.2) seconds\n                end\n                if <(ステージ) = [16]> then\n                    show\n                    set [動き v] to [3]\n                    repeat (10)\n                        change x by (-10)\n                        if <(動き) = [3]> then\n                            if <<(ステージ) = [17]> or <(ステージ) = [18]>> then\n                                hide\n                            else\n                                show\n                            end\n                            switch costume to (ピグリンブルート　歩き3 v)\n                            set [動き v] to [4]\n                        else\n                            switch costume to (ピグリンブルート　歩き4 v)\n                            set [動き v] to [3]\n                        end\n                        wait (0.2) seconds\n                    end\n                    repeat (10)\n                        change x by (10)\n                        if <(動き) = [3]> then\n                            if <<(ステージ) = [17]> or <(ステージ) = [18]>> then\n                                hide\n                            else\n                                show\n                            end\n                            switch costume to (ピグリンブルート　歩き1 v)\n                            set [動き v] to [4]\n                        else\n                            switch costume to (ピグリンブルート　歩き2 v)\n                            set [動き v] to [3]\n                        end\n                        wait (0.2) seconds\n                    end\n                else\n                    hide\n                end\n            else\n                hide\n            end\n        end\n    end\nend\n\nif <(ステージ) = [16]> then\n    show\n    set [動き v] to [3]\n    repeat (10)\n        change x by (-10)\n        if <(動き) = [3]> then\n            if <<(ステージ) = [17]> or <(ステージ) = [18]>> then\n                hide\n            else\n                show\n            end\n            switch costume to (ピグリンブルート　歩き3 v)\n            set [動き v] to [4]\n        else\n            switch costume to (ピグリンブルート　歩き4 v)\n            set [動き v] to [3]\n        end\n        wait (0.2) seconds\n    end\n    repeat (10)\n        change x by (10)\n        if <(動き) = [3]> then\n            if <<(ステージ) = [17]> or <(ステージ) = [18]>> then\n                hide\n            else\n                show\n            end\n            switch costume to (ピグリンブルート　歩き1 v)\n            set [動き v] to [4]\n        else\n            switch costume to (ピグリンブルート　歩き2 v)\n            set [動き v] to [3]\n        end\n        wait (0.2) seconds\n    end\nelse\n    hide\nend\n\nhide\n\nforever\n    if <(ステージ) = [1]> then\n        go to x: (50) y: (-100)\n        set size to (25) %\n        show\n        set [動き v] to [5]\n        repeat (9)\n            change y by (2.5)\n            if <(動き) = [5]> then\n                if <<(ステージ) = [2]> or <(ステージ) = [3]>> then\n                    hide\n                else\n                    show\n                end\n                switch costume to (ブレイズ　1 v)\n                set [動き v] to [6]\n            else\n                switch costume to (ブレイズ　2 v)\n                set [動き v] to [5]\n            end\n            wait (0.2) seconds\n        end\n        broadcast (炎攻撃 v)\n        repeat (9)\n            change y by (-2.5)\n            if <(動き) = [5]> then\n                if <<(ステージ) = [17]> or <(ステージ) = [18]>> then\n                    hide\n                else\n                    show\n                end\n                switch costume to (ブレイズ　1 v)\n                set [動き v] to [6]\n            else\n                switch costume to (ブレイズ　2 v)\n                set [動き v] to [5]\n            end\n            wait (0.2) seconds\n        end\n        broadcast (炎攻撃 v)\n    end\nend\n\n@鍾乳洞\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (鍾乳洞　位置1 v)\nhide\nforever\n    if <(ステージ) = [8]> then\n        show\n    else\n        hide\n    end\nend\n\n@ステージ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (ステージ1 v)\nwait until <(ステージ) = [14]>\nbroadcast (お楽しみに‼ v)\nbroadcast (下がれ v)\n\nwhen I receive [→ v]\nswitch costume to (join [ステージ] (ステージ))\n\nset [ステージ v] to [4]\n\n@飾り\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\nhide\nforever\n    if <(ステージ) = [4]> then\n        switch costume to (飾り v)\n        show\n    else\n        if <(ステージ) = [5]> then\n            switch costume to (飾り2 v)\n        else\n            if <(ステージ) = [6]> then\n                switch costume to (飾り3 v)\n            else\n                if <(ステージ) = [7]> then\n                    switch costume to (飾り4 v)\n                else\n                    if <(ステージ) = [8]> then\n                        switch costume to (飾り5 v)\n                    else\n                        if <(ステージ) = [9]> then\n                            switch costume to (飾り6 v)\n                        else\n                            if <(ステージ) = [10]> then\n                                switch costume to (飾り7 v)\n                            else\n                                if <(ステージ) = [11]> then\n                                    switch costume to (飾り8 v)\n                                else\n                                    if <(ステージ) = [12]> then\n                                        switch costume to (飾り9 v)\n                                    else\n                                        if <(ステージ) = [13]> then\n                                            switch costume to (飾り10 v)\n                                        else\n                                            if <(ステージ) = [14]> then\n                                                switch costume to (飾り11 v)\n                                            else\n                                                if <(ステージ) = [15]> then\n                                                    switch costume to (飾り12 v)\n                                                else\n                                                    if <(ステージ) = [16]> then\n                                                        switch costume to (飾り13 v)\n                                                    else\n                                                        if <(ステージ) = [17]> then\n                                                            switch costume to (飾り14 v)\n                                                        else\n                                                            if <(ステージ) = [18]> then\n                                                                switch costume to (飾り15 v)\n                                                            else\n                                                                if <(ステージ) = [19]> then\n                                                                    switch costume to (飾り16 v)\n                                                                else\n                                                                    if <(ステージ) = [20]> then\n                                                                        switch costume to (飾り17 v)\n                                                                    else\n                                                                        if <(ステージ) = [21]> then\n                                                                            switch costume to (飾り18 v)\n                                                                        else\n                                                                            if <(ステージ) = [22]> then\n                                                                                switch costume to (飾り19 v)\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@マグマ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nswitch costume to (マグマ　位置1 v)\nforever\n    if <(ステージ) = [2]> then\n        show\n    else\n        hide\n        if <(ステージ) = [6]> then\n            switch costume to (マグマ　位置2 v)\n            show\n        else\n            hide\n            if <(ステージ) = [9]> then\n                switch costume to (マグマ　位置3 v)\n                show\n            else\n                hide\n                if <(ステージ) = [13]> then\n                    switch costume to (マグマ　位置4 v)\n                    show\n                else\n                    hide\n                    if <(ステージ) = [15]> then\n                        switch costume to (マグマ　位置5 v)\n                        show\n                    else\n                        hide\n                        if <(ステージ) = [16]> then\n                            switch costume to (マグマ　位置6 v)\n                            show\n                        else\n                            hide\n                            if <(ステージ) = [17]> then\n                                switch costume to (マグマ　位置7 v)\n                                show\n                            else\n                                hide\n                                if <(ステージ) = [18]> then\n                                    switch costume to (マグマ　位置8 v)\n                                    show\n                                else\n                                    hide\n                                    if <(ステージ) = [19]> then\n                                        switch costume to (マグマ　位置9 v)\n                                        show\n                                    else\n                                        hide\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@ネザーゲート\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nhide\nforever\n    switch costume to (ネザーゲート v)\n    if <(ステージ) = [12]> then\n        show\n        repeat (10)\n            change [brightness v] effect by (2)\n            if <[1] = (pick random (1) to (3))> then\n                create clone of (_myself_ v)\n                if <(ステージ) = [13]> then\n                    hide\n                end\n            end\n        end\n        repeat (20)\n            change [brightness v] effect by (-2)\n            if <[1] = (pick random (1) to (3))> then\n                create clone of (_myself_ v)\n                if <(ステージ) = [13]> then\n                    hide\n                end\n            end\n        end\n        repeat (10)\n            change [brightness v] effect by (2)\n            if <[1] = (pick random (1) to (3))> then\n                create clone of (_myself_ v)\n                if <(ステージ) = [13]> then\n                    hide\n                end\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\ngo to x: (150) y: (-70)\nset size to (45) %\ngo to [front v] layer\nswitch costume to (エフェクト v)\nshow\nchange y by (pick random (-30) to (30))\npoint in direction (pick random (0) to (360))\nset [ghost v] effect to (50)\nrepeat (35)\n    change [ghost v] effect by (1)\n    move (2) steps\n    if <(ステージ) = [13]> then\n        hide\n    end\nend\ndelete this clone\n\nset [ステージ v] to [11]\n\n@俊敏のポーション\n\nwhen flag clicked\ngo to [front v] layer\nset size to (20) %\nhide\nforever\n    if <(ステージ) = [7]> then\n        go to x: (-135) y: (-70)\n        show\n        broadcast (光2 v)\n    else\n        hide\n        broadcast (節電 v)\n    end\n    repeat until <<touching (スライム v)?> = <[1] > [2]>>\n        start sound [ポップ v]\n        broadcast (節電 v)\n        forever\n            hide\n        end\n    end\nend\n\nif <[] = [50]> then\nif <[] = [50]> then\nif <[] = [50]> then\nif <[] = [50]> then\n\n@太陽\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (170) y: (125)\nswitch costume to (コスチューム1 v)\nset size to (65) %\nshow\nforever\n    repeat (30)\n        change size by (1)\n    end\n    repeat (30)\n        change size by (-1)\n    end\nend\n\n@跳躍のポーション\n\nwhen flag clicked\ngo to [front v] layer\nset size to (20) %\nhide\nforever\n    if <(ステージ) = [3]> then\n        go to x: (-105) y: (-115)\n        show\n        broadcast (光 v)\n    else\n        hide\n        broadcast (節電 v)\n    end\n    repeat until <<touching (スライム v)?> = <[1] > [2]>>\n        start sound [ポップ v]\n        forever\n            hide\n            次は？\n        end\n    end\nend\n\nif <[] = [50]> then\nif <[] = [50]> then\nif <[] = [50]> then\nif <[] = [50]> then\n\ndefine 次は？\nif <(ステージ) = [10]> then\n    go to x: (-110) y: (-90)\n    show\n    broadcast (光 v)\nelse\n    hide\n    broadcast (節電 v)\nend\nrepeat until <<touching (スライム v)?> = <[1] > [2]>>\n    start sound [ポップ v]\n    forever\n        hide\n        次は？2\n    end\nend\n\ndefine 次は？2\n\n@飾り（光）\n\nwhen flag clicked\nhide\nset size to (25) %\n\nwhen I receive [光 v]\ngo to (跳躍のポーション v)\nshow\nforever\n    turn right (2.2) degrees\nend\n\nwhen I receive [光2 v]\ngo to (俊敏のポーション v)\nshow\nforever\n    turn right (2.2) degrees\nend\n\nwhen I receive [光 v]\nif <touching (スライム v)?> then\n    wait (0.2) seconds\n    hide\nelse\n    show\nend\n\nwhen I receive [光2 v]\nif <touching (スライム v)?> then\n    wait (0.2) seconds\n    hide\nelse\n    show\nend\n\n@草\n\nwhen flag clicked\ngo to x: (-12) y: (-70)\ngo [backward v] (1) layers\nhide\nforever\n    if <(ステージ) = [1]> then\n        switch costume to (草 v)\n        show\n    else\n        if <(ステージ) = [2]> then\n            switch costume to (草2 v)\n            show\n        else\n            if <(ステージ) = [3]> then\n                switch costume to (草3 v)\n                show\n            else\n                if <(ステージ) = [4]> then\n                    switch costume to (草4 v)\n                    show\n                else\n                    if <(ステージ) = [11]> then\n                        switch costume to (草5 v)\n                        show\n                    else\n                        if <(ステージ) = [12]> then\n                            switch costume to (草6 v)\n                            show\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@タボフィー\n\nwhen flag clicked\nforever\n    set [turbo v] to [0]\n    wait (0.001) seconds\n    if <[3] < (Turbo)> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    change [turbo v] by (1)\nend\n\n@(人∀・)ｵｼﾃｸﾚ\n\nwhen I receive [パンパカパーン v]\ngo to [front v] layer\nshow\ncreate clone of (_myself_ v)\n\nwhen flag clicked\ngo to x: (164) y: (142)\nswitch costume to (\(人∀・\) v)\nhide\n\nwhen I start as a clone\nswitch costume to (パンパカパーン v)\nset size to (50) %\nforever\n    turn right (2.5) degrees\nend\n\n@サムネ\n\nwhen flag clicked\npoint in direction (90)\nset size to (160) %\nswitch costume to (サムネ　part1 v)\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\ngo to x: (-11) y: (-39)\nset [ghost v] effect to (100)\n\nwhen I receive [お楽しみに‼ v]\nbroadcast (パンパカパーン v)\nset [ghost v] effect to (-100)\ngo to x: (5) y: (-39)\nswitch costume to (サムネ　part2 v)\nset size to (0) %\nrepeat (20)\n    change size by (6)\nend\n\nwhen I receive [お楽しみに‼ v]\nrepeat (25)\n    turn right (14.4) degrees\nend\npoint in direction (90)\nstop [this script v]\n\n
English below\n⚠原作(神)とは関係ありません\nー操作方法ー\n矢印キー\nスティーブらしき人に触れたらﾀﾋにます\nマグマに触れたらﾀﾋにます\n鍾乳石に触れたら．．．おわかりですね\nポーションに触れたらそのポーション特有の効果が付きます\n現在のポーションの種類\n跳躍のポーション\n俊敏のポーション\n関係ないやつだけど\nhttps://scratch.mit.edu/projects/792714891/\nUnfinished Press the flag twice\n⚠ It has nothing to do with the original work (God)\n-How to operate-\narrow keys\nIf you touch someone who looks like Steve, you'll die.\nIf you touch magma, you will die.\nIf you touch a stalactite . . you understand\nTouching a potion will give it a unique effect\nCurrent potion type\nPotion of Leaping\nAgility Potion\nI don't care\nhttps://scratch.mit.edu/projects/792714891/