||  Minecraft Platformer マインクラフトプラットフォーマー || #All #games

Instructions: °˖✧˖°✧˖°°˖✧˖°✧˖°°˖✧˖°✧˖°°˖✧˖°✧˖°°˖✧˖°✧˖°°˖✧˖°✧˖°\n\nWelcome to my platformer!\nhave fun.\n*Be sure to press the flag twice.\n\nThis time, I made a Minecraft platformer for the first time!\n\nturbo Warp ⇩\nhttps://turbowarp.org/721842423\n\n▼Description\nOperate with the arrow keys.\nIt will die if hit by magma or cacti.\nPlease be careful.\nYou can swing the sword with the space key.\n\nEnglish and mobile compatible!\n\n°˖✧˖°✧˖°°˖✧˖°✧˖°°˖✧˖°✧˖°°˖✧˖°✧˖°°˖✧˖°✧˖°°˖✧˖°✧˖°\n\n僕のプラットフォーマーへようこそ!\n楽しんでください。\n※必ず旗を二回押してください。\n\n今回は初めてマインクラフトのプラットフォーマーを作りました！\n\n重い人は⇩\nhttps://turbowarp.org/721842423\n\n▼説明\n矢印キーで操作します。\nスペースキーで剣を振れる。\n\nマグマやサボテンに当たると死んでしまいます。\n気を付けてください。\n\n英語・モバイル対応です！

@Stage\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [bgm v] until done\nend\n\nwhen flag clicked\nset [音 v] to [0]\nforever\n    if <<(ステージ) = [6]> or <<(ステージ) = [7]> or <(ステージ) = [8]>>> then\n        switch backdrop to (背景2 v)\n    else\n        switch backdrop to (背景1 v)\n    end\nend\n\nwhen I receive [outro / start v]\nset [音 v] to [1]\n\nset [ステージ v] to [15]\n\nwhen flag clicked\nforever\n    if <(音) = [1]> then\n        set volume to (0) %\n        stop [this script v]\n    end\nend\n\n@Player\n\nwhen I receive [スタート v]\nset volume to (100) %\nshow\n初期設定プログラム\nforever\n    if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n        point in direction (90)\n        change [x v] by (1)\n        next costume\n        if <(costume [number v]) = [9]> then\n            switch costume to (walk1 v)\n        end\n    end\n    if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n        next costume\n        if <(costume [number v]) = [9]> then\n            switch costume to (walk1 v)\n            if <not <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>>> then\n        end\n    end\n    if <not <<<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> or <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>>>> then\n        switch costume to (idle v)\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                                    set [x v] to [10]\n                                else\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 (-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    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            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <[242] < (x position)> then\n        if <not <(ステージ) = [15]>> then\n            if <not <<(ステージ) = [10]> or <(ステージ) = [14]>>> then\n                初期設定プログラム\n                broadcast (ネクスト v)\n            end\n        end\n    end\n    if <<<(y position) < [-180]> or <touching (マグマ v)?>> or <touching (ゾンビ v)?>> then\n        start sound [ダメージ v]\n        初期設定プログラム\n        broadcast (死んだ v)\n    end\n    if <<(ステージ) = [10]> or <(ステージ) = [14]>> then\n        if <[242] < (x position)> then\n            if <(ゾンビHP) = [0]> then\n                初期設定プログラム\n                broadcast (ネクスト v)\n            end\n        end\n    end\nend\n\ndefine 初期設定プログラム\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (-210) y: (-30)\ngo to [front v] layer\nset size to (650) %\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nhide variable [time v]\nset [time v] to [0]\nrepeat until <(ステージ) = [15]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen flag clicked\nhide variable [time v]\nforever\n    if <(ステージ) = [15]> then\n        show variable [time v]\n    end\nend\n\nwhen I receive [死んだ v]\nchange [hp v] by (-1)\n\nwhen I receive [死んだー v]\nchange [hp v] by (-1)\n\nwhen I receive [outro / start v]\nhide\n\nwhen flag clicked\nforever\n    if <(音) = [1]> then\n        set volume to (0) %\n    end\nend\n\nwhen flag clicked\nbroadcast (起動 v)\n\nwhen I receive [起動 v]\nforever\n    if <(Y) < [-20]> then\n        start sound [hurt v]\n        broadcast (死んだ v)\n        broadcast (起動 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> or <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>>> and <(Y) = [0]>> then\n        if <<(ステージ) = [1]> or <<(ステージ) = [2]> or <<(ステージ) = [3]> or <<(ステージ) = [4]> or <<(ステージ) = [5]> or <<(ステージ) = [9]> or <<(ステージ) = [10]> or <<(ステージ) = [14]> or <(ステージ) = [15]>>>>>>>>> then\n            start sound [grass3 v]\n            wait (0.5) seconds\n        end\n        if <<(ステージ) = [6]> or <<(ステージ) = [7]> or <(ステージ) = [8]>>> then\n            start sound [stone1 v]\n            wait (0.5) seconds\n        end\n        if <<(ステージ) = [11]> or <<(ステージ) = [12]> or <(ステージ) = [13]>>> then\n            start sound [sand2 v]\n            wait (0.5) seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (スプライト1 v)?> then\n        set [x v] to ((X) / (1.3))\n        set [y v] to [0]\n        if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n            change [y v] by (4)\n        else\n            change [y v] by (-2)\n        end\n    end\nend\n\n@地面\n\nwhen flag clicked\nset [ステージ v] to [1]\nbroadcast (スタート v)\n\nwhen I receive [ネクスト v]\nchange [ステージ v] by (1)\n\nwhen I receive [スタート v]\nshow\ngo to [back v] layer\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [outro / start v]\nhide\n\n@マグマ\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    switch costume to (ステージ)\nend\n\n@雑草\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\nforever\n    go to [back v] layer\n    switch costume to (ステージ)\nend\n\nset [ゾンビhp v] to [5]\nset [ステージ v] to [10]\n\nwhen I receive [outro / start v]\nhide\n\n@剣\n\nwhen flag clicked\nshow\npoint in direction (90)\nset rotation style [left-right v]\nforever\n    go to (player v)\n    go to [front v] layer\n    if <([direction v] of [player v]) = [90]> then\n        point in direction (90)\n    end\n    if <([direction v] of [player v]) = [-90]> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (剣を振る v)\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\nwhen I receive [剣を振る v]\nset rotation style [left-right v]\nrepeat (1)\n    move (10) steps\nend\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        set [剣を振った v] to [y]\n    end\nend\n\nwhen I receive [outro / start v]\nhide\n\n@ゾンビ\n\nwhen flag clicked\nhide\nswitch costume to (zombie5 v)\nforever\n    if <(ステージ) = [14]> then\n        if <(ゾンビHP) = [0]> then\n            hide\n        else\n            show\n        end\n        switch costume to (zombie5 v)\n        set rotation style [left-right v]\n        go to x: (175) y: (6)\n        point in direction (-90)\n        glide (2) secs to x: (10) y: (6)\n        point in direction (90)\n        glide (2) secs to x: (175) y: (6)\n    end\n    if <(ステージ) = [11]> then\n        set [ゾンビhp v] to [5]\n    end\nend\n\nwhen flag clicked\nhide\nset [ゾンビhp v] to [5]\nforever\n    if <touching (剣 v)?> then\n        if <(剣を振った) = [y]> then\n            change [ゾンビhp v] by (-1)\n        end\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\nwhen flag clicked\nhide\nclear graphic effects\nset [ゾンビhp v] to [5]\nforever\n    if <(ゾンビHP) = [0]> then\n        hide\n    end\n    if <(ステージ) = [11]> then\n        clear graphic effects\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (剣 v)?> then\n        if <(剣を振った) = [y]> then\n            switch costume to (zombie_h5 v)\n            wait (0.1) seconds\n            switch costume to (zombie5 v)\n        end\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\nwhen flag clicked\nhide\nswitch costume to (zombie5 v)\nforever\n    if <(ステージ) = [10]> then\n        if <(ゾンビHP) = [0]> then\n            hide\n        else\n            show\n        end\n        switch costume to (zombie5 v)\n        set rotation style [left-right v]\n        go to x: (175) y: (-66)\n        point in direction (-90)\n        glide (3) secs to x: (-175) y: (-66)\n        point in direction (90)\n        glide (3) secs to x: (175) y: (-66)\n    end\nend\n\nwhen I receive [outro / start v]\nhide\n\n@Health\n\nwhen flag clicked\nshow\nset [hp v] to [20]\nset [コスチューム v] to [21]\nforever\n    switch costume to (コスチューム)\nend\n\nwhen I receive [死んだ v]\nchange [コスチューム v] by (-1)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        if <not <(ステージ) = [15]>> then\n            broadcast (ゲームオーバー v)\n        end\n    end\nend\n\nwhen I receive [outro / start v]\nhide\n\n@サムネイル\n\nwhen flag clicked\ngo [forward v] (15) layers\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\nend\n\n@ゲームオーバー\n\nwhen I receive [ゲームオーバー v]\nshow\ngo to [front v] layer\nstop [all v]\n\nwhen flag clicked\nhide\n\nwhen I receive [outro / start v]\nhide\n\n@太陽\n\nwhen flag clicked\nshow\nset size to (100) %\ngo to x: (140) y: (100)\nforever\n    if <<(ステージ) = [6]> or <<(ステージ) = [7]> or <(ステージ) = [8]>>> then\n        hide\n    else\n        show\n        go to [back v] layer\n        change [三角関数 v] by (8)\n        change size by ([cos v] of (三角関数) )\n    end\nend\n\nwhen I receive [outro / start v]\nhide\n\n@アタック\n\nwhen flag clicked\nshow\ngo to x: (168) y: (-148)\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        set [剣を振った v] to [y]\n        broadcast (剣を振る v)\n    else\n        if <not <key (space v) pressed?>> then\n            set [剣を振った v] to [n]\n        end\n    end\nend\n\nwhen I receive [outro / start v]\nhide\n\n@outro\n\ndefine clone (id)\nset [cloneid v] to (id)\ncreate clone of (_myself_ v)\n\nwhen I receive [outro / start v]\nreset timer\nswitch costume to (back v)\ngo to x: (0) y: (0)\nset size to (100) %\nshow list [project 1 url v]\nshow list [project 2 url v]\ndelete all of [project 1 url v]\ndelete all of [project 2 url v]\nadd [|| A loophole!? Platformer! || #games #All] to [project 1 url v]\nadd [https://scratch.mit.edu/projects/720936396/] to [project 1 url v]\nadd [never die platformer!  #games #all] to [project 2 url v]\nadd [https://scratch.mit.edu/projects/719768988/] to [project 2 url v]\nshow\nclone [ss 1-1]\nwait (0.3) seconds\nclone [ss 1-2]\nwait (0.5) seconds\nclone [Thanks]\nwait (0.1) seconds\nclone [for]\nwait (0.1) seconds\nclone [watching!]\nparticle [] []\nwait (1) seconds\nclone [ss 2-1]\nwait (0.1) seconds\nclone [ss 2-2]\nwait (0.5) seconds\nclone [3DText]\nclone [logo]\nwait (0.2) seconds\nclone [project1]\nclone [project2]\n♥,★ and follow ....\n\nwhen I start as a clone\nif < (cloneID) contains [ss 1]?> then\n    switch costume to (ss1 v)\n    go to x: (0) y: (340)\n    point in direction (90)\n    set size to (100) %\n    if <(cloneID) = [ss 1-2]> then\n        set [brightness v] effect to (100)\n    end\n    set [speed v] to [0]\n    repeat (17)\n        change y by (speed)\n        change [speed v] by (-1)\n    end\n    repeat (30)\n        change y by (((-95) - (y position)) / (6))\n    end\nend\n\nwhen I start as a clone\nif <<(cloneID) = [Thanks]> or <<(cloneID) = [for]> or <(cloneID) = [watching!]>>> then\n    switch costume to (cloneID)\n    go to x: (0) y: (0)\n    point in direction (90)\n    set size to (0) %\n    repeat (50)\n        change [bound v] by ((((100) - (size)) / (10)) - ((bound) / (5)))\n        change size by (bound)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [particle]> then\n    go to [front v] layer\n    switch costume to (join [particle-] (pick random (1) to (2)))\n    set size to (pick random (5.) to (15)) %\n    set [rn v] to (pick random (50.) to (150))\n    move (RN) steps\n    set [particle dx v] to (x position)\n    set [particle dy v] to (y position)\n    move (() - (RN)) steps\n    show\n    repeat until <(size) < [1.5]>\n        change x by (((particle Dx) - (x position)) / (4))\n        change y by (((particle Dy) - (y position)) / (4))\n        change size by (-0.5)\n    end\n    delete this clone\nend\n\ndefine particle (x) (y)\nset [particle bmx v] to (x position)\nset [particle bmy v] to (y position)\ngo to x: (x) y: (y)\nrepeat (36)\n    clone [particle]\n    turn right (10) degrees\nend\ngo to x: (particle BMx) y: (particle BMy)\n\nwhen I start as a clone\nif < (cloneID) contains [ss 2]?> then\n    switch costume to (ss 2 v)\n    go to x: (0) y: (0)\n    point in direction (90)\n    set size to (100) %\n    if <(cloneID) = [ss 2-2]> then\n        set [brightness v] effect to (100)\n    end\n    go to [front v] layer\n    set [speed v] to [0]\n    repeat (10)\n        switch costume to (back v)\n        change [speed v] by (30)\n        change size by (speed)\n        switch costume to (ss 2 v)\n    end\n    repeat (50)\n        switch costume to (back v)\n        change size by (((5150) - (size)) / (4))\n        switch costume to (ss 2 v)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [3DText]> then\n    switch costume to (3dtext v)\n    go to [front v] layer\n    set size to (0) %\n    go to x: (0) y: (115)\n    point in direction (90)\n    Reset the timer\n    repeat (50)\n        change size by (((90) - (size)) / (4))\n        set y to ((115) + (([cos v] of ((timer) * (120)) ) * (10)))\n        if <touching (mouse-pointer v)?> then\n            change size by (((110) - (size)) / (4))\n        else\n            change size by (((90) - (size)) / (4))\n        end\n    end\n    forever\n        set y to ((115) + (([cos v] of ((timer) * (120)) ) * (10)))\n        if <touching (mouse-pointer v)?> then\n            change size by (((100) - (size)) / (4))\n            if <mouse down?> then\n                particle (x position) (y position)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((85) - (size)) / (4))\n        end\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [logo]> then\n    switch costume to (logo v)\n    go to [front v] layer\n    set size to (85) %\n    go to x: (0) y: (-270)\n    point in direction (90)\n    set [y v] to [-270]\n    Reset the timer\n    forever\n        change [y v] by (((-20) - (y)) / (6))\n        set y to ((y) + (([cos v] of ((timer) * (50)) ) * (15)))\n        if <touching (mouse-pointer v)?> then\n            change size by (((110) - (size)) / (4))\n            if <mouse down?> then\n                particle (x position) (y position)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((85) - (size)) / (4))\n        end\n        if <key (space v) pressed?> then\n            particle (x position) (y position)\n            wait until <not <key (space v) pressed?>>\n        end\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [project1]> then\n    switch costume to (project1 v)\n    go to [front v] layer\n    set size to (30) %\n    go to x: (297) y: (-20)\n    point in direction (90)\n    Reset the timer\n    repeat (20)\n        change x by (((140) - (x position)) / (4))\n        set y to ((-20) + (([cos v] of ((timer) * (100)) ) * (15)))\n    end\n    forever\n        set y to ((-20) + (([cos v] of ((timer) * (100)) ) * (15)))\n        if <touching (mouse-pointer v)?> then\n            change size by (((35) - (size)) / (4))\n            if <mouse down?> then\n                if <(Are you viewing a list?) = [0]> then\n                    set [are you viewing a list? v] to [1]\n                else\n                    show list [project 1 url v]\n                    set [are you viewing a list? v] to [0]\n                end\n                particle (x position) (y position)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((30) - (size)) / (4))\n        end\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [project2]> then\n    switch costume to (project2 v)\n    go to [front v] layer\n    set size to (30) %\n    go to x: (-297) y: (-20)\n    point in direction (90)\n    set [are you viewing a list? v] to [0]\n    Reset the timer\n    repeat (20)\n        change x by (((-140) - (x position)) / (4))\n        set y to ((-20) + (([cos v] of ((timer) * (150)) ) * (15)))\n    end\n    forever\n        set y to ((-20) + (([cos v] of ((timer) * (150)) ) * (15)))\n        if <touching (mouse-pointer v)?> then\n            change size by (((35) - (size)) / (4))\n            if <mouse down?> then\n                if <(Are you viewing a list?) = [0]> then\n                    set [are you viewing a list? v] to [1]\n                else\n                    show list [project 2 url v]\n                    set [are you viewing a list? v] to [0]\n                end\n                particle (x position) (y position)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((30) - (size)) / (4))\n        end\n    end\nend\n\nwhen I receive [outro / start v]\nwait (2.5) seconds\nforever\n    set [bmx v] to (x position)\n    set [bmy v] to (y position)\n    set [rn v] to (pick random (1) to (2))\n    if <(RN) = [1]> then\n        go to x: (pick random (-300) to (300)) y: (-220)\n    else\n        go to x: (-300) y: (pick random (-220) to (220))\n    end\n    clone [●]\n    go to x: (BMx) y: (BMy)\n    wait (0.05) seconds\nend\n\nwhen I start as a clone\nif <(cloneID) = [●]> then\n    switch costume to (● v)\n    set [ghost v] effect to (100)\n    set size to (pick random (20) to (50)) %\n    go to [front v] layer\n    go [backward v] (9) layers\n    repeat until <<([abs v] of (x position) ) > [270]> or <([abs v] of (y position) ) > [190]>>\n        change x by ((size) / (10))\n        change y by ((size) / (10))\n        change [ghost v] effect by (-1)\n    end\n    delete this clone\nend\n\ndefine ♥,★ and follow ....\nswitch costume to (★ v)\ngo to x: (-120) y: (-130)\nrepeat (5)\n    clone [♥,★ and follow]\n    next costume\n    change x by (65)\nend\nswitch costume to (back v)\n\nwhen I start as a clone\nif <(cloneID) = [♥,★ and follow]> then\n    go to [front v] layer\n    set size to (30) %\n    set [y v] to [-183]\n    set [rn v] to (pick random (50) to (200))\n    Reset the timer\n    forever\n        set y to ((y) + (([cos v] of ((timer) * (RN)) ) * (10)))\n        change [y v] by (((-130) - (y)) / (6))\n        if <touching (mouse-pointer v)?> then\n            change size by (((40) - (size)) / (4))\n            if <mouse down?> then\n                particle (x position) (y position)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((30) - (size)) / (4))\n        end\n    end\nend\n\ndefine Reset the timer\nset [number of days from 200 years at reset v] to (days since 2000)\n\nwhen I start as a clone\nforever\n    set [timer v] to (((days since 2000) - (Number of days from 200 years at reset)) * (86400))\nend\n\nwhen I receive [outro / start v]\nforever\n    play sound [Vexento  Northern Lights v] until done\n    wait (1) seconds\nend\n\nbroadcast (Outro / start v)\n\nset [ステージ v] to [15]\n\nwhen flag clicked\nhide\n\n@GOAL\n\nwhen flag clicked\nhide\nforever\n    if <(ステージ) = [15]> then\n        show\n        if <touching (player v)?> then\n            hide\n            broadcast (Outro / start v)\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\n    if <(ステージ) = [9]> then\n        show\n    end\n    if <(ステージ) = [10]> then\n        hide\n    end\nend\n\n