Minecraft Platformer/マインクラフトプラットフォーマー  dy haruaki12345
@Stage\n\nwhen flag clicked\nswitch backdrop to (あお v)\n\nwhen I receive [ネザー v]\nswitch backdrop to (背景1 v)\n\nwhen I receive [地上 v]\nswitch backdrop to (あお v)\n\nforever\n\nwhen flag clicked\nforever\n    play sound [Minecraft v] until done\nend\n\n@プレイヤー\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート 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        switch costume to (右 v)\n        change [x v] by (1)\n        set [右左 v] to [右]\n    end\n    if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n        switch costume to (左 v)\n        change [x v] by (-1)\n        set [右左 v] to [左]\n    end\n    set [x v] to ((X) * (0.89))\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 (-5)\n                            change x by ((X) * (-1))\n                            if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n                                if <(X) < [0]> then\n                                    start sound [壁キック v]\n                                    set [x v] to [10]\n                                else\n                                    start sound [壁キック v]\n                                    set [x v] to [-10]\n                                end\n                                set [y v] to [15]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-0.9)\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    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n        if <touching (すてーじ v)?> then\n            start sound [ジャンプ v]\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <[242] < (x position)> then\n        broadcast (ネクスト v)\n        wait (1.3) seconds\n        リセット\n    end\n    if <touching (マグマ v)?> then\n        set [体力 v] to [-2]\n        hide\n    end\n    if <touching (ゾンビ v)?> then\n    if <(y position) < [-180]> then\n        set [体力 v] to [-2]\n        go to x: (-200) y: (0)\n    end\nend\n\nwhen I start as a clone\nswitch costume to (コスチューム3 v)\nrepeat (6)\n    change size by (-6)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [w v]\nwait (2) seconds\nbroadcast (スタート v)\n\nwhen flag clicked\nset [体力 v] to [100]\nset [ステージ v] to [1]\nswitch costume to (右 v)\ngo to x: (-200) y: (0)\n\nwhen flag clicked\nforever\n    if <<touching (ゾンビ v)?> or <touching (障害物 v)?>> then\n        change [体力 v] by (-3)\n    end\nend\n\nwhen I receive [リスポーン v]\nset [ステージ v] to (リスポーン場所)\ngo to (ベット v)\nset size to (80) %\nset [体力 v] to [100]\nswitch costume to (右 v)\n\ngo to x: (-210) y: (-30)\n\nwhen flag clicked\nforever\n    if <<touching (ゾンビ v)?> or <touching (障害物 v)?>> then\n        if <(ZX) = [右]> then\n            set [x v] to [-10]\n        else\n            set [x v] to [-10]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (ゾンビ v)?> or <touching (障害物 v)?>> then\n        set [y v] to [15]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (ゾンビ v)?> then\n        switch costume to (join (右左) [BAN])\n        wait (0.3) seconds\n        switch costume to (右左)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(体力) = [0]> then\n        broadcast (オーバー v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <([x position v] of [ゾンビ v]) < [0]> then\n        set [zx v] to [左]\n    else\n        set [zx v] to [右]\n    end\nend\n\ndefine リセット\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\ngo to x: (-210) y: (-30)\nset size to (80) %\nswitch costume to (右 v)\nbroadcast (こっちもよろ v)\nhide\n\nif <touching (water v)?> then\n    set [x v] to ((X) / (1.4))\n    set [y v] to ((Y) / (1.4))\n    if <(mouse y) < (y position)> then\n        change y by (2)\n    end\nend\n\ngo [forward v] (10000) layers\n\nwhen I receive [ネクスト v]\ngo to [back v] layer\n\nwhen I receive [にゃは v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\nhide\n\nwhen flag clicked\nforever\n    if <(負け？) = [1]> then\n        hide\n    end\nend\n\nwhen I receive [wt v]\nhide\n\nwhen flag clicked\nset [time v] to [0]\nforever\n    if <(time) = [1]> then\n        hide\n    else\n        show\n    end\nend\n\nset [ステージ v] to [15]\ngo to x: (-200) y: (-30)\n\nwhen flag clicked\nset [今 v] to [0]\nforever\n    if <<touching (げーと v)?> and <(ステージ) = [13]>> then\n        set [ステージ v] to [14]\n        go to x: (-200) y: (-30)\n        broadcast (ネザー v)\n    else\n        if <<touching (げーと v)?> and <(ステージ) = [18]>> then\n            set [ステージ v] to [19]\n            broadcast (地上 v)\n        end\n    end\nend\n\nwhen I receive [地上 v]\nset [今 v] to [1]\n\nwhen I receive [スタート v]\nshow variable [タイム v]\nreset timer\nrepeat until <([costume # v] of [すてーじ v]) = [19]>\n    set [タイム v] to (round (timer))\nend\n\nwhen flag clicked\nhide variable [タイム v]\n\n@すてーじ\n\nwhen I receive [スタート v]\ngo to x: (-20) y: (-11)\nshow\n\nwhen flag clicked\nhide\nset [ステージ v] to [1]\n\nwhen I receive [ネクスト v]\nchange [ステージ v] by (1)\n\nwhen I receive [びょ v]\nhide\n\nwhen I receive [オーバー v]\nset [ステージ v] to (リスポーン場所)\n\nswitch costume to (20 v)\nset [判定 v] to [1]\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [地上 v]\n\nbroadcast (ネクスト v)\n\nswitch costume to (12 v)\n\nset [ステージ v] to [19]\n\nset [ステージ v] to [19]\n\n@ゾンビ\n\nwhen flag clicked\npoint in direction (90)\nshow\ngo to [back v] layer\nhide\n\nwhen I receive [スタート v]\n\nwhen flag clicked\n\nforever\n    if <<(攻撃) = [1]> and <touching (武器2 v)?>> then\n        if <(HP) = [0]> then\n            hide\n        else\n            wait (0.001) seconds\n        end\n    end\nend\n\nwhen flag clicked\n\nforever\n    if <([x position v] of [プレイヤー v]) < (x position)> then\n        switch costume to (左 v)\n        change x by (-4)\n    end\n    if <(x position) < ([x position v] of [プレイヤー v])> then\n        switch costume to (右 v)\n        change x by (4)\n    end\nend\n\nwhen I receive [こっちもよろ v]\n\nchange [敵y v] by (-0.9)\n\nwhen flag clicked\nforever\n\nchange y by (-5)\n\n    broadcast (隠し発見!! v)\nend\n\nwhen I receive [隠し発見!! v]\n\nif <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 (-5)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nshow\nforever\n    switch costume to (ステージ)\nend\n\nset rotation style [left-right v]\npoint towards (プレイヤー v)\n\nif <[100] < (y position)> then\n    broadcast (こっちもよろ v)\nend\n\nwhen flag clicked\n\nwhen flag clicked\n\nforever\n    if <(x position) < [0]> then\n        set [zx v] to [左]\n    else\n        set [zx v] to [右]\n    end\nend\n\nwhen flag clicked\nforever\n\nif  then\n    show\nelse\n    hide\nend\n\nif <<(ステージ) = [1]> or <(ステージ) = [6]>> then\n    show\n    broadcast (こっちもよろ v)\nelse\n    hide\nend\n\nwhen flag clicked\n\nwhen I receive [ネクスト v]\n\nwhen I receive [こっちもよろ v]\n\ngo to x: (200) y: (-90)\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <touching (プレイヤー v)?> then\nend\n\nbroadcast (実績解除 v)\n\nrepeat (150)\n    go to x: (200) y: (-90)\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [7]> then\n        go to x: (140) y: (-84)\n    else\n        go to x: (0) y: (0)\n    end\nend\n\n\n\n@イントロ\n\nwhen flag clicked\nset [w v] to [0]\ngo to x: (0) y: (150)\nset [ghost v] effect to (0)\nshow\n反動 [6] [0.7] 場所 [0] [0]\n\ndefine 反動 (速さ) (大きさ) 場所 (x) (y)\nset [ぴよーんx v] to [0]\nset [ぴよーんy v] to [0]\nforever\n    set [ぴよーんx v] to (((ぴよーんx) * (大きさ)) - (((x position) - (x)) / (速さ)))\n    change x by (ぴよーんx)\n    set [ぴよーんy v] to (((ぴよーんy) * (大きさ)) - (((y position) - (y)) / (速さ)))\n    change y by (ぴよーんy)\n    if <<(x position) = [0]> and <(y position) = [0]>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n        set [加速速度 v] to [1]\n        broadcast (w v)\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [w v]\nif <<(加速速度) = [1]> and <(w) = [0]>> then\n    broadcast (スタート v)\n    set [w v] to [1]\nend\n\n@マグマ\n\nwhen I receive [スタート v]\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [6]> then\nend\n\nglide (0.5) secs to x: (.....) y: (0)\n\n@おしまい\n\nwhen flag clicked\nset [負け？ v] to [0]\nhide\ngo to [front v] layer\nforever\n    if <(体力) = [-2]> then\n        show\n        broadcast (にゃは v)\n        set [体力 v] to [-10]\n        broadcast (wt v)\n        set [負け？ v] to [1]\n    end\nend\n\nwhen I receive [リスポーン v]\nhide\n\nwhen flag clicked\nforever\nend\n\ngo to [front v] layer\n\n@体力\n\nwhen flag clicked\ngo to [front v] layer\nset size to (150) %\n1\n\nwhen I receive [メッセージ1 v]\n\ndefine 1\nset [1 v] to [0]\ngo to x: (-140) y: (-160)\nrepeat (10)\n    change [1 v] by (10)\n    change x by (28)\n    create clone of (_myself_ v)\n    go to [front v] layer\nend\n\nwhen I start as a clone\nset [@ v] to (1)\ngo to [front v] layer\nshow\nforever\n    if <(1) > (体力)> then\n        if <((1) - (5)) > (体力)> then\n            switch costume to (コスチューム2 v)\n        else\n            switch costume to (コスチューム1 v)\n        end\n    else\n        switch costume to (02 v)\n    end\nend\n\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@スプライト11\n\n@表示\n\nwhen I receive [眠り v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (58)\nswitch costume to (あぁぁぁぁぁぁ v)\nif <(今) = [夜]> then\n    broadcast (眠る v)\nelse\nend\nwait (1.9) seconds\nhide\n\nset [今 v] to [夜]\n\n@next\n\nwhen flag clicked\n\nwhen I start as a clone\ngo to [front v] layer\ngo to [front v] layer\nset size to (110) %\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <(costume [number v]) = [3]>>> then\n    go to x: (0) y: (-342)\n    forever\n        change y by (((0) - (y position)) / (5))\n    end\nelse\n    go to x: (-493) y: (0)\n    if <(costume [number v]) = [7]> then\n        forever\n            change x by (((0) - (x position)) / (5))\n        end\n    else\n        forever\n            change x by (((30) - (x position)) / (5))\n        end\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [ネクスト v]\nswitch costume to (コスチューム3 \(1\) v)\nrepeat (7)\n    create clone of (_myself_ v)\n    next costume\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go to [front v] layer\n    go [forward v] (10000) layers\nend\n\n@障害物\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\n    set [ghost v] effect to (0)\n    show\n    go to x: (0) y: (0)\n    if <<<(ステージ) = [6]> or <(ステージ) = [7]>> or <(ステージ) = [11]>> then\n        switch costume to (コスチューム6 v)\n        set [ghost v] effect to (0)\n        show\n        go to (ゾンビ v)\n        repeat until <touching (_edge_ v)?>\n            change x by (-20)\n        end\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n        wait (pick random (0.5) to (1)) seconds\n    end\nend\n\n@ベット\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    if <touching (プレイヤー v)?> then\n        broadcast (眠り v)\n        set [解除？ v] to [1]\n        broadcast (実績解除 v)\n        set [リスポーン場所 v] to (ステージ)\n        wait until <not <touching (プレイヤー v)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [1]> then\n        go to x: (-180) y: (-90)\n        show\n    else\n        if <(ステージ) = [3]> then\n            show\n            go to x: (85) y: (-20)\n        else\n            if <(ステージ) = [6]> then\n                show\n                go to x: (-55) y: (-20)\n            else\n                if <(ステージ) = [9]> then\n                    show\n                    go to x: (-65) y: (-91)\n                else\n                    if <(ステージ) = [11]> then\n                        show\n                        go to x: (-165) y: (-73)\n                    else\n                        if <(ステージ) = [13]> then\n                            show\n                            go to x: (-155) y: (-117)\n                        else\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nbroadcast (sabaku v)\n\n@Splash_select\n\nwhen flag clicked\ngo to [front v] layer\nhide\nset size to (0) %\n\nwhen I receive [オーバー v]\n\nwhen I receive [wt v]\nset size to (220) %\ngo to [front v] layer\ngo to x: (0) y: (-40)\nshow\nset [time v] to [1]\n\nrepeat (3)\n    change size by (50)\nend\n\nwhen this sprite clicked\nbroadcast (リスポーン v)\nhide\nset [負け？ v] to [0]\nset [time v] to [0]\n\nwhen flag clicked\nforever\n    repeat (1000000000000000)\n        go to [front v] layer\n        go to [front v] layer\n    end\n    go to [front v] layer\nend\n\n@太陽\n\nwhen flag clicked\nshow\nset [こｓ v] to [0]\nset size to (100) %\nforever\n    go to [back v] layer\n    change size by ([cos v] of (こｓ) )\n    change [こｓ v] by (7)\nend\n\nwhen flag clicked\n\nwhen flag clicked\n\nhide\n\nwhen I receive [びょ v]\nhide\n\nwhen I receive [ネザー v]\nhide\n\n@サムネ\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n@雲\n\nwhen flag clicked\nset [うぉぉぉぉぉ v] to [0]\nrepeat until <(うぉぉぉぉぉ) = [1]>\n    create clone of (_myself_ v)\n    wait (pick random (1.5) to (2)) seconds\nend\n\nwhen I start as a clone\nset [必需品 v] to (pick random (50) to (120))\ngo to x: (280) y: ((170) - (必需品))\nswitch costume to (pick random (1) to (6))\nset [ghost v] effect to (pick random (0) to (50))\ngo to [back v] layer\ngo [forward v] (5) layers\nset rotation style [left-right v]\npoint in direction (pick random (-90) to (90))\nset size to ((85) + ((必需品) / (2))) %\nshow\nrepeat until <(x position) < [-260]>\n    change x by ((0) - (round ((必需品) / (15))))\nend\nrepeat (5)\n    change [ghost v] effect by (20)\n    change x by ((0) - (round ((必需品) / (15))))\nend\ndelete this clone\n\nwhen I receive [ネザー v]\nset [うぉぉぉぉぉ v] to [1]\n\n@実績\n\nwhen flag clicked\n\nwhen I receive [実績解除 v]\n\nwhen flag clicked\ndelete all of [実績 v]\nadd [1ベットは最高] to [実績 v]\nadd [2ジャンプ] to [実績 v]\n\nif <not <(item (ステージ) of [実績 v]) = [おしまい]>> then\n    switch costume to (letter ((実績) + (1)) of (実績))\n    show\n    start sound [in \(1\) v]\n    repeat (13)\n        wait (0.00000000000000000000000000001) seconds\n        move (10) steps\n    end\n    wait (2) seconds\n    repeat (15)\n        wait (0.00000000000000000000000000001) seconds\n        move (-10) steps\n    end\n    hide\n    go to x: (-274) y: (148)\n    set [解除？ v] to [0]\n    replace item (ステージ) of [実績 v] with [おしまい]\nend\n\n@げーと\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\n    go to [back v] layer\nend\n\nif <<(ステージ) = [18]> and <touching (プレイヤー v)?>> then\n    broadcast (地上 v)\nend\n\n
新作！！！絶対見てね！！\nhttps://scratch.mit.edu/projects/883993702/\nフォローしてから宣伝してください。\n見るよ！\n日本語は下\n\n<English>\nTouch the screen to control the game. Be careful not to hit zombies or magma. I'd be happy if you clicked the stars and hearts.\n\n<日本語>\n画面をタッチして操作\nゾンビやマグマなどに当たらないように気をつけて進んでください\n星やハートを押してくださると嬉しいです\n\n\n\n拡散してくれた方/Those who spread the word\n@ge-mu1028--様\n@shuukun_15様\n@oreo_tabetai様\n@yuki9125様\n@yakisoba2222様\n@tattkunndoragonn様\n@aiueokanozou様\n@HONDALOVE9614様\n@THE_SOOSU-_-様\n@Qnly_FAN様\n@dinosaursTV様\n@kotamio様\n@SYABUSYABUkunn様\n@bayasi1100様\n@yorureozero様\n@Asuru_scratch様\n@innpu様\n@shuukun_15様\n@purojekutome-ka-desu様\n@Yuto_1215様