Minecraft✕ Cave Platformer　マインクラフト✕洞窟プラットフォーマー
@Stage\n\n@プレイヤー\n\nwhen flag clicked\nforever\n    wait until <touching (水 v)?>\n    start sound [水1 v]\n    wait until <not <touching (水 v)?>>\n    start sound [水2 v]\nend\n\ndefine また一瞬\nbroadcast (next v)\nset [x v] to [0]\nset [y v] to [0]\nchange [ステージ v] by (1)\nhide\nglide (1.2) secs to x: (-110) y: (-96)\nset [y v] to [0]\nshow\n\nwhen flag clicked\nset [ステージ v] to [1]\nforever\n    if <(x position) = [331]> then\n        また一瞬\n    end\nend\n\nwhen I start as a clone\nrepeat (30)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\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 ((x) * (-1.2))\n                                change y by (-6)\n                                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                    if <(x) > [0]> then\n                                        set [x v] to [-4]\n                                    else\n                                        set [x v] to [4]\n                                    end\n                                    start sound [壁キック v]\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    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> then\n        if <touching (地面 v)?> then\n            set [y v] to [13]\n        end\n    end\n    change y by (y)\n    change [y v] by (-1)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\nend\n\nwhen flag clicked\nset rotation style [don't rotate v]\npoint in direction (90)\ngo to x: (-110) y: (-96)\nset size to (70) %\nswitch costume to (コスチューム1 v)\ngo to [front v] layer\ngo [forward v] (1) layers\nshow\nset [y v] to [0]\nset [x v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<[0] < (mouse x)> and <mouse down?>>> then\n        switch costume to (コスチューム1 v)\n        change [x v] by (1)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < [0]> and <mouse down?>>> then\n        switch costume to (コスチューム2 v)\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    change x by (x)\n    set [x v] to ((x) * (0.9))\nend\n\ndefine ﾀﾋんだおっ(　^ω^)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-110) y: (-96)\n\nwhen flag clicked\nforever\n    if <(y position) = [-154]> then\n        ﾀﾋんだおっ(　^ω^)\n    end\n    if <touching (マグマ v)?> then\n        ﾀﾋんだおっ(　^ω^)\n    end\n    if <touching (ゾンビ v)?> then\n        ﾀﾋんだおっ(　^ω^)\n    end\n    if <key (r v) pressed?> then\n        ﾀﾋんだおっ(　^ω^)\n    end\n    if <touching (ゾンビ2 v)?> then\n        ﾀﾋんだおっ(　^ω^)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (水 v)?> then\n        change [y v] by (0.4)\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> then\n            set [y v] to [4.5]\n        end\n    end\nend\n\n@地面\n\nwhen flag clicked\nswitch costume to (rock v)\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nshow variable [time v]\nset [time v] to [0]\nforever\n    repeat until <(ステージ) = [11]>\n        wait (1) seconds\n        set [time v] to ((time) + (1))\n    end\nend\n\nwhen [timer v] > (0.01)\nhide variable [time v]\n\n@背景\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nshow\nset [brightness v] effect to (0)\ngo to x: (0) y: (0)\ngo to [back v] layer\nset [brightness v] effect to (-23)\nforever\n    if <(ステージ) = [7]> then\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [8]> then\n        switch costume to (コスチューム1 v)\n    end\nend\n\n@マグマ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\nforever\n    if <(ステージ) = [2]> then\n        go to x: (16) y: (-162)\n        switch costume to (コスチューム1 v)\n        show\n    end\n    if <(ステージ) = [3]> then\n        hide\n    end\n    if <(ステージ) = [4]> then\n        switch costume to (コスチューム2 v)\n        show\n    end\n    if <(ステージ) = [5]> then\n        hide\n    end\n    if <(ステージ) = [7]> then\n        switch costume to (コスチューム3 v)\n        show\n    end\n    if <(ステージ) = [8]> then\n        switch costume to (コスチューム4 v)\n    end\n    if <(ステージ) = [9]> then\n        switch costume to (コスチューム5 v)\n    end\n    if <(ステージ) = [10]> then\n        switch costume to (コスチューム6 v)\n    end\n    if <(ステージ) = [11]> then\n        hide\n    end\nend\n\n@松明\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\nswitch costume to (コスチューム1 v)\ngo to x: (-73) y: (-26)\nforever\n    if <(ステージ) = [1]> then\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [4]> then\n        switch costume to (コスチューム2 v)\n    end\n    if <(ステージ) = [5]> then\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [6]> then\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [7]> then\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [8]> then\n        switch costume to (コスチューム4 v)\n    end\n    if <(ステージ) = [9]> then\n        switch costume to (コスチューム5 v)\n    end\n    if <(ステージ) = [10]> then\n        switch costume to (コスチューム6 v)\n    end\n    if <(ステージ) = [11]> then\n        switch costume to (コスチューム1 v)\n    end\nend\n\n@NEXT\n\nwhen I receive [next v]\nchange [ry v] by (1)\nset [move v] to [0]\ngo to [front v] layer\nshow\nswitch costume to (コスチューム1 v)\nstart sound [Coin v]\nrepeat (5)\n    next costume\nend\nwait (1) seconds\nrepeat (5)\n    next costume\nend\nset [move v] to [1]\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ry v] to [1]\nhide\n\n@看板\n\nwhen flag clicked\ngo to x: (172) y: (-92)\ngo to [back v] layer\ngo [forward v] (1) layers\nhide\nforever\n    if <(ステージ) = [2]> then\n        switch costume to (30 v)\n        show\n    end\n    if <(ステージ) = [3]> then\n        hide\n    end\n    if <(ステージ) = [5]> then\n        go to x: (-66) y: (-94)\n        show\n        switch costume to (2 v)\n    end\n    if <(ステージ) = [6]> then\n        hide\n    end\n    if <(ステージ) = [10]> then\n        go to x: (-66) y: (-94)\n        show\n        switch costume to (3 v)\n    end\n    if <(ステージ) = [11]> then\n        hide\n    end\nend\n\n@音楽\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (-195) y: (154)\nswitch costume to (button3-a \(1\) v)\nstop all sounds\nset volume to (100) %\nshow\nforever\n    play sound [RockmanForteOpeningStage v] until done\n    if <(timer) = [0.01]> then\n        set volume to (0) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        set volume to (100) %\n    end\n    if <(costume [number v]) = [2]> then\n        set volume to (0) %\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nforever\n    if <(ステージ) = [2]> then\n        hide\n    end\nend\n\n@ゾンビ\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (ゾンビ v)\ngo to x: (213) y: (-36)\nhide\nforever\n    if <(ステージ) = [5]> then\n        show\n        switch costume to (ゾンビ v)\n        glide (1.5) secs to x: (21) y: (-36)\n        wait (0.2) seconds\n        switch costume to (ゾンビ2 v)\n        glide (1.5) secs to x: (213) y: (-36)\n        wait (0.2) seconds\n    end\n    if <(ステージ) = [6]> then\n        hide\n    end\n    if <(ステージ) = [9]> then\n        go to x: (217) y: (-115)\n        show\n        switch costume to (ゾンビ v)\n        glide (1) secs to x: (89) y: (-115)\n        wait (0.2) seconds\n        switch costume to (ゾンビ2 v)\n        glide (1) secs to x: (217) y: (-115)\n        wait (0.2) seconds\n    end\n    if <(ステージ) = [10]> then\n        hide\n    end\nend\n\n@水\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\ngo to x: (-61) y: (-121)\nswitch costume to (10 v)\nhide\nforever\n    if <(ステージ) = [6]> then\n        show\n    end\n    if <(ステージ) = [7]> then\n        hide\n    end\n    if <(ステージ) = [8]> then\n        switch costume to (2 v)\n        show\n    end\n    if <(ステージ) = [9]> then\n        hide\n    end\nend\n\n@ゾンビ2\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (ゾンビ v)\ngo to x: (-28) y: (-115)\nhide\nforever\n    if <(ステージ) = [9]> then\n        go to x: (-28) y: (-115)\n        show\n        switch costume to (ゾンビ v)\n        glide (0.9) secs to x: (-121) y: (-115)\n        wait (0.2) seconds\n        switch costume to (ゾンビ2 v)\n        glide (0.9) secs to x: (-28) y: (-115)\n        wait (0.2) seconds\n    end\n    if <(ステージ) = [10]> then\n        hide\n    end\nend\n\n@隠し\n\nwhen flag clicked\ngo to x: (36) y: (28)\nset [ghost v] effect to (0)\ngo to [front v] layer\nhide\nforever\n    if <(ステージ) = [10]> then\n        show\n    end\n    if <(ステージ) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(ステージ) = [10]> and <touching (プレイヤー v)?>> then\n        set [ghost v] effect to (40)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@アウトロ\n\nwhen flag clicked\nreset timer\ngo to x: (0) y: (368)\nset [ghost v] effect to (100)\ngo to [front v] layer\ngo [forward v] (100) layers\nhide\nstop all sounds\nset volume to (0) %\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.01)\nshow\nclear graphic effects\ngo to [front v] layer\ngo [forward v] (100) layers\nglide (0.5) secs to x: (0) y: (0)\nset volume to (100) %\nforever\n    play sound [Rockman5 title v] until done\nend\n\n@サムネ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    go to [front v] layer\nend\n\n@ターボ検知\n\nwhen flag clicked\nreset timer\nswitch costume to (コスチューム1 v)\nset [あ v] to [0]\nset [ghost v] effect to (100)\nforever\n    switch costume to (コスチューム1 v)\n    go to [front v] layer\n    set size to (100) %\n    change [あ v] by (1)\n    wait () seconds\nend\n\nwhen flag clicked\nforever\n    wait (0.5) seconds\n    set [あ v] to [0]\nend\n\nwhen flag clicked\nforever\n    if <[25] < (あ)> then\n        broadcast (ターボ撲滅 v)\n        stop [all v]\n    end\nend\n\nwhen I receive [ターボ撲滅 v]\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\n\n
https://scratch.mit.edu/projects/900904493\n↑新作  new work\n日本語説明は↓（絶対見て下さい。メモクレも）\n宣伝する海外ニキがいるので、コメ欄は封鎖しました\nhttps://scratch.mit.edu/projects/889230555\n↑Publicity is this way.　宣伝はこっち\n【English】\nCannot be done in turbo mode!Congrats!\nPress the flag twice to press\nArrow keys or wad, tap to move\nTouching magma or zombies will bring you back\nR key to reset\nQUIZ: How many ore blocks are there? Tell me in the comments with your time!\nStars and hearts, please follow and spread the word!\nI thought a regular cave wasn't enough, so I incorporated the world of Minecraft.\nI made an outro.\n\n【日本語】\nターボモードでできないようにしました！おめでとう！\n旗を二回押して押して下さい\n矢印キー、またはwad、タップで移動\nマグマに触れたりゾンビに触れると戻されます\nRキーでリセットします\nクイズ：鉱石ブロックはいくつある？自分のタイムと一緒にコメントで教えてね\n星とハート、フォロー、拡散よろしくお願いします！！\n普通の洞窟だけでは物足りないと思ったのでマインクラフトの世界を取り入れてみました\nアウトロを作ってみました