【#5】*ɪᴄᴇ ᴡᴏʀʟᴅ* Minecraft Platformer @popopo19 #Games 

Instructions: 透明度UP!!\n\n新作投稿しました！ https://scratch.mit.edu/projects/639424387/\n\n【参考】\n世界記録 @hamutarou123様\nキャラクター 影  @qamina31様\n\nタイムは諸事情により消させていただきました。\n\n旗は2回押してください。  \n\n日本語の説明は下です。\n\n The arrow keys are used to control the game. Or you can tap in the direction you want to go to advance.  \n\nPCは、十字キーで操作します。 スマホもしくはタブレットは、進みたい方向にタップすると進むことができます。

@Stage\n\nwhen flag clicked\nset volume to (100) %\nswitch backdrop to (背景1 v)\n\nwhen flag clicked\nforever\n    play sound [Inferno v] until done\nend\n\nwhen flag clicked\nforever\n\nwhen flag clicked\nforever\n    repeat until <(ステージ) = [10]>\n        set [自分のタイム v] to (timer)\n    end\nend\n\nwhen I receive [クリア v]\nshow variable [☁ 世界記録 v]\nshow variable [自分のタイム v]\nif <(自分のタイム) < (☁ 世界記録)> then\n    set [☁ 世界記録 v] to (自分のタイム)\nend\nstop [all v]\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nhide variable [自分のタイム v]\nforever\n    if <(ステージ) = [10]> then\n        show variable [☁ 世界記録 v]\n        broadcast (クリア v)\n    end\nend\n\ngo to x: (-1) y: (147)\n\nshow\n\nforever\nend\n\nwhen I receive [クリア v]\n\n@スプライト1\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\nshow\nswitch backdrop to (背景1 v)\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\n\nwhen flag clicked\nset [ghost v] effect to (40)\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nhide variable [見ましたか? v]\n\n@キューブ\n\nwhen flag clicked\nforever\n    if <<touching color (#ff0000)?> or <<<(y position) < [-175]> or <touching (スプライト7 v)?>> or <<<touching (スプライト20 v)?> or <touching (スプライト9 v)?>> or <<touching (スプライト5 v)?> or <touching (スプライト8 v)?>>>>> then\n        例のあれ\n    end\nend\n\ndefine 例のあれ\nstart sound [Pew v]\ngo to x: (-200) y: (0)\nset [x v] to [0]\nset [y v] to [0]\nshow\nbroadcast (ゲージ減少 v)\nchange [タヒんだ数 v] by (1)\n\nwhen flag clicked\nforever\n    if <[239] < (x position)> then\n        if <not <(ステージ) = [10]>> then\n            broadcast (NEXT v)\n            go to x: (-200) y: (-48)\n            set [x v] to [0]\n            set [y v] to [0]\n            change [ステージ v] by (1)\n            set [シーン v] to [1]\n        end\n    end\nend\n\ndefine 次のステージ\ngo to x: (-200) y: (-103)\nset [x v] to [0]\nset [y v] to [0]\nchange [ステージ v] by (1)\n\ndefine 壁ジャンプ\nchange [y v] by (-1)\nchange y by (y)\nif <touching (スプライト1 v)?> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-2)\nif <<<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> and <touching (スプライト1 v)?>> then\n    start sound [cursor7 v]\n    set [y v] to [13]\nend\nchange y by (1)\n\nhide\n\nwhen I receive [kakusu v]\n\nwhen I receive [解除 v]\nshow\ngo to x: (-200) y: (46)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen I receive [解除 v]\n\nchange [ステージ v] by (1)\n\nwhen I receive [next v]\nset [シーン v] to [0]\n\nwhen I receive [解除 v]\nshow\nset [シーン v] to [1]\n\nwhen I receive [今だよー v]\n\nwhen I receive [戻す v]\ngo to x: (-194) y: (46)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\nset [ステージ v] to [1]\n\nwhen I receive [start v]\n\nwhen flag clicked\nset [シーン v] to [1]\ngo to x: (-194) y: (46)\nshow\nclear graphic effects\nswitch costume to (コスチューム2 v)\nset size to (70) %\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-194) y: (-10)\nset rotation style [left-right v]\npoint in direction (90)\nshow\nforever\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    change x by (x)\n    if <touching (スプライト1 v)?> then\n        change y by (1)\n        if <touching (スプライト1 v)?> then\n            change y by (1)\n            if <touching (スプライト1 v)?> then\n                change y by (1)\n                if <touching (スプライト1 v)?> then\n                    change y by (1)\n                    if <touching (スプライト1 v)?> then\n                        change y by (1)\n                        if <touching (スプライト1 v)?> then\n                            change y by (1)\n                            if <touching (スプライト1 v)?> then\n                                change x by ((0) - (x))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                    start sound [ジャンプの着地 v]\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 [13]\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    set [x v] to ((x) * (0.885))\n    壁ジャンプ\nend\n\nif <(シーン) = [1]> then\n\nwhen flag clicked\ngo to [front v] layer\ngo [forward v] (2) layers\n\nwhen I receive [クリア v]\ngo to x: (-192) y: (-33)\n\nwhen I receive [game over v]\nhide\n\n@スプライト7\n\n\n    show\n    go to x: (-20) y: (-115)\n    switch costume to (コスチューム2 v)\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\ngo to x: (-25) y: (-100)\nswitch costume to (コスチューム1 v)\nset size to (100) %\nforever\n    if <<(ステージ) = [2]> or <<(ステージ) = [3]> or <<(ステージ) = [4]> or <<(ステージ) = [5]> or <<(ステージ) = [6]> or <<(ステージ) = [7]> or <(ステージ) = [8]>>>>>>> then\n        if <(ステージ) = [2]> then\n            set size to (100) %\n            show\n            switch costume to (コスチューム2 v)\n            go to x: (122) y: (-57)\n        end\n        if <(ステージ) = [3]> then\n            set size to (100) %\n            switch costume to (コスチューム6 v)\n            go to x: (70) y: (99)\n        end\n        if <(ステージ) = [4]> then\n            show\n            switch costume to (コスチューム7 v)\n            go to x: (-28) y: (-109)\n        end\n        if <(ステージ) = [5]> then\n            show\n            switch costume to (コスチューム8 v)\n            go to x: (-10) y: (108)\n        end\n        if <(ステージ) = [6]> then\n            switch costume to (コスチューム9 v)\n            show\n            go to x: (91) y: (-48)\n        end\n        if <(ステージ) = [7]> then\n            show\n            go to x: (126) y: (-49)\n        end\n        if <(ステージ) = [8]> then\n            switch costume to (コスチューム8 v)\n            show\n            go to x: (8) y: (55)\n        end\n    else\n        if <not <<(ステージ) = [2]> or <<(ステージ) = [3]> or <<(ステージ) = [4]> or <<(ステージ) = [5]> or <<(ステージ) = [6]> or <<(ステージ) = [7]> or <(ステージ) = [8]>>>>>>>> then\n            hide\n        end\n    end\nend\n\n\n    go to x: (63) y: (-159)\n    switch costume to (コスチューム1 v)\n    show\n    \n        go to x: (-106) y: (-159)\n        show\n    end\nend\n\nswitch costume to (コスチューム2 v)\nhide\n\nwhen flag clicked\n\nforever\n    \nend\n\nif <(ステージ) = [5]> then\n    show\n    set size to (150) %\n    go to x: (5) y: (-87)\nend\n\nwhen flag clicked\nforever\n\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (-11) y: (-100)\n\n@スプライト5\n\nwhen flag clicked\nhide\ngo [backward v] (99) layers\npoint in direction (90)\ngo to x: (-22) y: (-12)\nswitch costume to (コスチューム1 v)\nset size to (100) %\nforever\n    if  then\n        if  then\n            show\n        end\n    else\n        if  then\n            hide\n        end\n    end\nend\n\n@Cool-Text-400860984060725\n\nwhen flag clicked\nhide\n\ngo [forward v] (1) layers\n\n@Love fave\n\nwhen flag clicked\nhide\ngo to x: (-2) y: (-289)\n\ngo [forward v] (1) layers\n\nwhen flag clicked\nhide\ngo [forward v] <(ステージ) = [11]> layers\nswitch costume to (コスチューム1 v)\nset size to (100) %\nhide\nforever\n    if <(ステージ) = [10]> then\n        if <(ステージ) = [10]> then\n            show\n            go to x: (-2) y: (-289)\n        end\n    else\n        if <not <(ステージ) = [10]>> then\n            hide\n        end\n    end\nend\n\n@cooltext400889489071722\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nhide variable [自分のタイム v]\nhide\ngo [forward v] (99) layers\nswitch costume to (コスチューム1 v)\nset size to (100) %\nhide\nforever\n    if <(ステージ) = [10]> then\n        go to x: (-1) y: (147)\n        show\n    end\n    if <not <(ステージ) = [10]>> then\n        hide\n    end\nend\n\nwhen I receive [クリア v]\nshow\n\n@スプライト3\n\nwhen flag clicked\ngo to x: (240) y: (183)\ngo to [back v] layer\nshow\nforever\n    repeat (50)\n        change size by (2)\n    end\n    repeat (50)\n        change size by (-2)\n    end\nend\n\n@samune\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [start v]\nhide\n\n@スプライト4\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    wait (0.1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (20)\ngo to x: (pick random (-240) to (240)) y: (180)\nrepeat until <(y position) < [-150]>\n    change y by (pick random (-5) to (-1))\nend\n\nchange x by (10)\n\nforever\nend\n\nchange x by (() / (10))\n\nif  then\nend\n\ndelete this clone\n\ngo to [front v] layer\n\n@スプライト8\n\nwhen flag clicked\ngo to x: (0) y: (52)\nshow\nforever\n    repeat (5)\n        change y by (1)\n    end\n    wait (0.05) seconds\n    repeat (10)\n        change y by (0.5)\n    end\n    wait (0.05) seconds\n    repeat (5)\n        change y by (-0.5)\n    end\n    wait (0.05) seconds\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo [backward v] (99) layers\n\n@テキスト\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen I receive [クリア v]\nshow\ngo to x: (-3) y: (76)\n\n@6\n\nwhen flag clicked\nswitch costume to (コスチューム3 v)\npoint in direction (90)\nset [タヒんだ数 v] to [0]\nshow\ngo to [front v] layer\ngo to x: (-146) y: (126)\n\nwhen I receive [ゲージ減少 v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(タヒんだ数) = [5]> then\n        broadcast (Game Over v)\n        hide\n        stop [all v]\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [クリア v]\nhide\n\n@スプライト9\n\nwhen flag clicked\nhide\n\nwhen I receive [game over v]\nshow\ngo to x: (0) y: (0)\n\n@さむ\n\nwhen flag clicked\nhide\n\n@スプライト2\n\nwhen flag clicked\nshow\ngo to [back v] layer\nforever\n    go to (キューブ v)\nend\n\nwhen I receive [game over v]\nhide\n\n@人の影\n\nwhen flag clicked\ngo [backward v] (1) layers\nshow\nset [ghost v] effect to (55)\nforever\n    go to (キューブ v)\nend\n\nwhen I receive [クリア v]\nhide\n\nwhen I receive [game over v]\nhide\n\ngo to [front v] layer\n\n@スプライト6\n\nwhen flag clicked\nhide\n\n