【モバイル対応】マインクラフトプラットフォーマー 〜村人の冒険〜/Minecraft platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen I receive [intro end v]\nforever\n    play sound [Lost and stoned v] until done\nend\n\n@サムネ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nshow\ngo to x: (0) y: (0)\nrepeat (100)\n    go to [back v] layer\nend\n\nwhen I receive [p t b t v]\nhide\n\n@Intro\n\nwhen flag clicked\nreset timer\nhide\nbroadcast (Intro start v)\n\nwhen I receive [intro start v]\nreset timer\nstart sound [Subtact - Restart v]\nwait until <(timer) > [0.8]>\nset [変数 v] to [背景]\ncreate clone of (_myself_ v)\nwait until <(timer) > [1.6]>\nset [変数 v] to [logo]\ncreate clone of (_myself_ v)\nwait (0.3) seconds\nset [変数 v] to [ショックウェーブ]\ncreate clone of (_myself_ v)\nwait () seconds\nエフェクト\nwait until <(timer) > [4]>\nset [変数 v] to [てれれ♪]\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [変数 v] to [\( ^ω^ \)]\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [変数 v] to [〠]\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [変数 v] to [Idontknow]\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [変数 v] to [ショックウェーブ]\ncreate clone of (_myself_ v)\nwait (0.001) seconds\nset [変数 v] to [枠]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [変数 v] to [枠]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [変数 v] to [枠]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [変数 v] to [枠]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [変数 v] to [枠]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [変数 v] to [枠]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [変数 v] to [シャキン✨]\ncreate clone of (_myself_ v)\nwait (0.15) seconds\nset [変数 v] to [2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(変数) = [背景]> then\n    set size to (100) %\n    set [ghost v] effect to (100)\n    show\n    switch costume to (色 v)\n    go to x: (0) y: (0)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    broadcast (P t b t v)\n    wait until <(timer) > [10]>\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(変数) = [logo]> then\n    set size to (100) %\n    show\n    switch costume to (logo v)\n    go to x: (0) y: (216)\n    Y座標《下》 [0]\n    point in direction (90)\n    turn right (1) degrees\n    repeat (30)\n        turn right ([abs v] of (((90) - (direction)) / (3)) ) degrees\n    end\nend\n\ndefine Y座標《下》 (数字)\nrepeat until <(round (y position)) = (数字)>\n    set size to (100000) %\n    change y by (((y position) - (数字)) / (-5))\n    set size to (100) %\nend\n\nwhen I start as a clone\nif <(変数) = [logo]> then\n    wait (1.5) seconds\n    Y座標《下》 [-245]\n    delete this clone\nend\n\nwhen I start as a clone\nif <(変数) = [枠]> then\n    go to [front v] layer\n    go [backward v] (2) layers\n    switch costume to (ない v)\n    go to x: (0) y: (0)\n    set size to (0) %\n    point in direction (90)\n    show\n    repeat (30)\n        switch costume to (ない v)\n        change size by (((1000) - (size)) / (10))\n        switch costume to (枠枠すっぞ\(\( v)\n    end\n    repeat (30)\n        switch costume to (ない v)\n        change size by (((1800) - (size)) / (10))\n        switch costume to (枠枠すっぞ\(\( v)\n    end\n    repeat (30)\n        switch costume to (ない v)\n        change size by (((3000) - (size)) / (15))\n        switch costume to (枠枠すっぞ\(\( v)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(変数) = [シャキン✨]> then\n    start sound [〆 v]\n    go to x: (99999) y: (-5)\n    set [ghost v] effect to (0)\n    go to [front v] layer\n    switch costume to (〆 v)\n    set size to (100) %\n    point in direction (90)\n    show\n    repeat (30)\n        change x by (((-50) - (x position)) / (10))\n    end\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(変数) = [2]> then\n    go to x: (999999) y: (-5)\n    go to [front v] layer\n    switch costume to (〆2 v)\n    set [ghost v] effect to (0)\n    set size to (100) %\n    point in direction (90)\n    show\n    repeat (30)\n        change x by (((-50) - (x position)) / (10))\n    end\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    broadcast (Intro end v) and wait\n    delete this clone\nend\n\nwhen I start as a clone\nif <(変数) = [Idontknow]> then\n    go to [front v] layer\n    show\n    switch costume to (idontknow v)\n    point in direction (180)\n    go to x: (0) y: (0)\n    set size to (100) %\n    repeat (60)\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    エフェクト\n    repeat (40)\n        turn right ([abs v] of (((89) - (direction)) / (7)) ) degrees\n    end\n    repeat (40)\n        turn right ([abs v] of (((90) - (direction)) / (7)) ) degrees\n    end\n    wait (2.5) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(変数) = [てれれ♪]> then\n    set size to (100) %\n    go to [front v] layer\n    show\n    switch costume to (形 v)\n    go to x: (0) y: (-376)\n    Y座標《上》 [0]\n    delete this clone\nend\n\ndefine Y座標《上》 (数字)\nrepeat until <(round (y position)) = (数字)>\n    change y by (((y position) - (数字)) / (-5))\nend\n\nwhen I start as a clone\nif <(変数) = [\( ^ω^ \)]> then\n    set size to (100) %\n    go to [front v] layer\n    show\n    switch costume to (形2 v)\n    go to x: (0) y: (-376)\n    Y座標《上》 [0]\n    delete this clone\nend\n\nwhen I start as a clone\nif <(変数) = [〠]> then\n    set size to (100) %\n    go to [front v] layer\n    show\n    switch costume to (形3 v)\n    go to x: (0) y: (-376)\n    Y座標《上》 [0]\n    wait until <(timer) > [10.7]>\n    delete this clone\nend\n\nwhen I start as a clone\nif <(変数) = [ショックウェーブ]> then\n    switch costume to (1 v)\n    show\n    go to [front v] layer\n    go [backward v] (1) layers\n    clear graphic effects\n    go to x: (0) y: (0)\n    set size to (1) %\n    switch costume to (ひし形ショックウェーブその2 v)\n    set [ショックウェーブ v] to [20]\n    repeat (15)\n        change size by (ショックウェーブ)\n        change [ショックウェーブ v] by (-1)\n        next costume\n    end\n    repeat (20)\n        change [ghost v] effect by (20)\n        change size by (ショックウェーブ)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(変数) = [Idontknow]> then\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif <(変数) = [エフェクト]> then\n    set size to (50) %\n    show\n    switch costume to (エフェクト v)\n    go to x: (284) y: (140)\n    X座標 [-300]\n    delete this clone\nend\n\ndefine エフェクト\nset [変数 v] to [エフェクト]\ncreate clone of (_myself_ v)\nwait () seconds\nset [変数 v] to [エフェクト2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(変数) = [エフェクト2]> then\n    set size to (50) %\n    show\n    switch costume to (エフェクト v)\n    go to x: (-284) y: (-140)\n    X座標 [300]\n    delete this clone\nend\n\ndefine X座標 (数字)\nrepeat until <(round (x position)) = (数字)>\n    set size to (10000000) %\n    change x by (((x position) - (数字)) / (-5))\n    set size to (50) %\nend\n\n@地面\n\nwhen flag clicked\nhide\n\nwhen I receive [intro end v]\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next v]\nnext costume\n\n@村人\n\nwhen flag clicked\nset drag mode [not draggable v]\ngo to [front v] layer\ngo [backward v] (2) layers\nswitch costume to (villager-walk-1 v)\nhide\n\nwhen I receive [intro end v]\ngo to x: (-200) y: (-50)\nshow\nforever\n    if <(45) = []> then\n        if <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n            next costume\n            wait (0.07) seconds\n            if <(costume [number v]) = [5]> then\n                switch costume to (villager-walk-1 v)\n            end\n            if <not <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>>>> then\n                switch costume to (villager-walk-3 v)\n            end\n        end\n    end\nend\n\nwhen I receive [intro end v]\nset [saqwesrdtghyjik v] to []\nswitch costume to (villager-walk-3 v)\nset [45 v] to []\nset rotation style [left-right v]\npoint in direction (90)\nshow\nforever\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        set rotation style [left-right v]\n        change [動力\(x\) v] by (-0.65)\n        point in direction (-90)\n        broadcast (左 v)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        set rotation style [left-right v]\n        change [動力\(x\) v] by (0.65)\n        point in direction (90)\n        broadcast (右 v)\n    end\n    set [動力\(x\) v] to ((動力\(x\)) * (0.9))\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 (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(動力\(x\)) > [0]> then\n                                    set [動力\(x\) v] to [-5]\n                                else\n                                    set [動力\(x\) v] to [5]\n                                end\n                                set [動力\(y\) v] to [10]\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 <touching (地面 v)?> then\n        if <<<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> or <key (w v) pressed?>> then\n            set [動力\(y\) v] to [13]\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    hide variable [動力\(x\) v]\n    if <<key (down arrow v) pressed?> or <<<mouse down?> and <(mouse y) < (y position)>> or <key (s v) pressed?>>> then\n        switch costume to (コスチューム4 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\n    if <(x position) > [230]> then\n        if <not <([costume # v] of [stage v]) = [10]>> then\n            set [動力\(y\) v] to [0]\n            set [動力\(x\) v] to [0]\n            go to x: (-180) y: (-50)\n            broadcast (Next v)\n        end\n    end\n    if <<<<touching (障害物 v)?> or <(y position) < [-170]>> or <touching (敵mob v)?>> or <touching (敵mob2 v)?>> then\n        start sound [hurt v]\n        set [45 v] to [0]\n        broadcast (死んだ v) and wait\n        set [45 v] to []\n    end\nend\n\nwhen I receive [死んだ v]\nset [saqwesrdtghyjik v] to [0]\nお前はもう死んでいる\n\ndefine お前はもう死んでいる\nswitch costume to (villager-walk-1-hurt v)\nset [動力\(y\) v] to [0]\nset [動力\(x\) v] to [0]\nbroadcast (飛んで飛んで飛んで飛んで飛んで回って回って回って回ーるー v)\nrepeat (5)\n    change y by (10)\nend\nrepeat (3)\n    change y by (7)\nend\nrepeat (3)\n    change y by (4)\nend\nrepeat (3)\n    change y by (2)\nend\nrepeat (2)\n    change y by (-2)\nend\nrepeat (3)\n    change y by (-5)\nend\nrepeat (3)\n    change y by (-7)\nend\nrepeat until <(y position) < [-170]>\n    change y by (-15)\nend\nset rotation style [don't rotate v]\ngo to x: (-180) y: (-50)\nswitch costume to (villager-walk-1 v)\nset [saqwesrdtghyjik v] to []\n\nwhen I receive [飛んで飛んで飛んで飛んで飛んで回って回って回って回ーるー v]\nset rotation style [all around v]\nrepeat until <(y position) < [-170]>\n    set rotation style [all around v]\n    turn right (15) degrees\nend\n\nwhen I receive [intro end v]\nforever\n    if <(45) = []> then\n        if <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n            if <not <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n                set [griffpatch様 v] to (pick random (1) to (2))\n                if <(Griffpatch様) = [1]> then\n                    play sound [fallbig1 v] until done\n                end\n                if <(Griffpatch様) = [2]> then\n                    play sound [fallbig2 v] until done\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [intro end v]\nforever\n    if <key (r v) pressed?> then\n        start sound [hurt v]\n        switch costume to (villager-walk-1-hurt v)\n        glide (1) secs to x: (-200) y: (-50)\n        switch costume to (villager-walk-3 v)\n    end\nend\n\nwhen I receive [リスポーン v]\nstart sound [hurt v]\nswitch costume to (villager-walk-1-hurt v)\nglide (1) secs to x: (-200) y: (-50)\nswitch costume to (villager-walk-3 v)\n\n@障害物\n\nwhen flag clicked\nhide\n\nwhen I receive [intro end v]\nswitch costume to (コスチューム2 v)\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\n\nwhen I receive [next v]\nnext costume\n\n@剣\n\nwhen flag clicked\nset [剣の判定 v] to [なし\(?\)]\npoint in direction (90)\nhide\nset size to (30) %\nforever\n    go to (村人 v)\nend\n\nwhen I receive [intro end v]\nshow\n\nwhen I receive [右 v]\npoint in direction (90)\nset rotation style [left-right v]\n\nwhen I receive [左 v]\npoint in direction (-90)\nset rotation style [left-right v]\n\nwhen I receive [飛んで飛んで飛んで飛んで飛んで回って回って回って回ーるー v]\nset rotation style [all around v]\nrepeat (24)\n    turn right (15) degrees\nend\n\nwhen I receive [剣 v]\nset rotation style [all around v]\nstart sound [〆 v]\nif <(direction) = [90]> then\n    point in direction (90)\n    repeat (5)\n        turn right (15) degrees\n    end\n    repeat (5)\n        turn right (-15) degrees\n    end\n    set rotation style [left-right v]\n    point in direction (90)\n    set [& v] to [1]\nend\nif <(direction) = [-90]> then\n    point in direction (-90)\n    repeat (5)\n        turn left (15) degrees\n    end\n    repeat (5)\n        turn left (-15) degrees\n    end\n    set rotation style [left-right v]\n    point in direction (-90)\n    set [& v] to [1]\nend\n\nwhen [space v] key pressed\nif <(Saqwesrdtghyjik) = []> then\n    set [& v] to [0]\n    broadcast (剣 v)\n    set [剣の判定 v] to [はい]\n    wait until <(&) = [1]>\n    set [反応 v] to [^_^]\n    set [剣の判定 v] to [なし\(?\)]\nend\n\nwhen I receive [押 v]\nif <(Saqwesrdtghyjik) = []> then\n    set [& v] to [0]\n    set [剣の判定 v] to [はい]\n    broadcast (剣 v)\n    wait until <(&) = [1]>\n    set [剣の判定 v] to [なし\(?\)]\nend\n\n@敵MOB\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\nset rotation style [left-right v]\n\nwhen I receive [intro end v]\nwait (0.01) seconds\nhide\nswitch costume to (zombie5 v)\nforever\n    if <([costume # v] of [地面 v]) = [4]> then\n        go to x: (118) y: (-74)\n        show\n        forever\n            if <([costume # v] of [地面 v]) = [4]> then\n                point in direction (-90)\n                repeat until <(x position) < [-35]>\n                    change x by (-2)\n                end\n                wait (1) seconds\n                point in direction (90)\n                repeat until <(x position) > [115]>\n                    change x by (2)\n                end\n                wait (1) seconds\n            else\n                hide\n                stop [this script v]\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [剣 v]\nif <touching (剣 v)?> then\n    start sound [zombiedeath v]\n    switch costume to (zombie_h4 v)\n    stop [other scripts in sprite v]\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    hide\nend\n\nwhen I receive [intro end v]\nwait (0.01) seconds\nforever\n    if <([costume # v] of [地面 v]) = [4]> then\n        if <([costume # v] of [地面 v]) = [4]> then\n            forever\n                set [鳴き声 v] to (pick random (1) to (3))\n                broadcast (鳴き声 v)\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen I receive [鳴き声 v]\nif <(鳴き声) = [1]> then\n    start sound [zombie1 v]\nend\nif <(鳴き声) = [2]> then\n    start sound [zombie2 v]\nend\nif <(鳴き声) = [3]> then\n    start sound [zombie3 v]\nend\n\n@敵MOB2\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\nset rotation style [left-right v]\n\nwhen I receive [intro end v]\nwait (0.01) seconds\nhide\nswitch costume to (zombie5 v)\nforever\n    if <([costume # v] of [地面 v]) = [6]> then\n        go to x: (29) y: (-68)\n        show\n        forever\n            if <([costume # v] of [地面 v]) = [6]> then\n                point in direction (-90)\n                repeat until <(x position) < [-50]>\n                    change x by (-2)\n                end\n                wait (1) seconds\n                point in direction (90)\n                repeat until <(x position) > [25]>\n                    change x by (2)\n                end\n                wait (1) seconds\n            else\n                hide\n                stop [this script v]\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [剣 v]\nforever\n    if <(剣の判定) = [はい]> then\n        if <touching (剣 v)?> then\n            start sound [zombiedeath v]\n            switch costume to (zombie_h4 v)\n            stop [other scripts in sprite v]\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [intro end v]\nwait (0.01) seconds\nforever\n    if <([costume # v] of [地面 v]) = [6]> then\n        if <([costume # v] of [地面 v]) = [6]> then\n            forever\n                set [鳴き声 v] to (pick random (1) to (3))\n                broadcast (鳴き声 v)\n                wait (3) seconds\n            end\n        end\n    end\nend\n\n@広告\n\nwhen flag clicked\nhide\n\nwhen I receive [intro end v]\nhide\nforever\n    wait (pick random (8) to (5)) seconds\n    show\n    go to [front v] layer\n    start sound [ポップ v]\n    go to x: (-150) y: (400)\n    point in direction (90)\n    set size to (100) %\n    repeat until <[135] > (y position)>\n        change y by (((2) - (y position)) / (20))\n    end\n    wait (2.9) seconds\n    repeat until <(y position) > [207]>\n        change y by ((y position) / (20))\n    end\n    hide\nend\n\n@5億年ボタン2\n\nwhen I receive [かくせぇ v]\nif <(かくせぇ) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nelse\n    if <[1] = (かくせぇ)> then\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n        show\n    end\nend\n\nwhen flag clicked\nset [かくせぇ v] to [0]\n\nwhen flag clicked\ngo to x: (0) y: (-240)\nhide\n\nwhen I receive [intro end v]\nshow\nset [ghost v] effect to (0)\ngo to [front v] layer\n\nwhen this sprite clicked\nbroadcast (押 v)\n\n@スプライト1\n\nwhen this sprite clicked\nbroadcast (かくせぇ v)\n\nwhen I receive [intro end v]\nwait (0.1) seconds\ngo to [front v] layer\nshow\n\nwhen flag clicked\ngo to x: (-177) y: (152)\nhide\n\n@スプライト2\n\nwhen flag clicked\nhide\ngo to x: (-190) y: (-151)\n\nwhen I receive [intro end v]\nset [ghost v] effect to (0)\nshow\n\nwhen this sprite clicked\nbroadcast (リスポーン v)\nwait (1) seconds\n\nwhen I receive [かくせぇ v]\nif <(かくせぇ) = [0]> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\n    change [かくせぇ v] by (1)\nelse\n    if <[1] = (かくせぇ)> then\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n        show\n        set [かくせぇ v] to [0]\n    end\nend\n\n
|| 剣の判定直しました!! ||\n\nー【モバイル対応】マインクラフトプラットフォーマー 〜村人の冒険〜/minecraft platformerー\n\n⚠️I am Japanese.\nEnglish is below.\n\n〜日本語〜\n矢印キー操作。\nスペースキーで剣を振ります。\n「R」キーで、リスポーンします。\nモバイルにも一応対応はしていますが、かなり操作が難しくなっています()すみませんm(_ _)m\nマイクラの世界で冒険しよう！\n頑張ってね！\n\n〜English〜\nArrow key operation. Press the space bar to swing the sword. Press the R key to respawn. It is compatible with mobile, but it is quite difficult to operate () I'm sorry m (_ _) m Adventure in the world of Minecraft! Good luck with!