◆Minecraft Platformer◆story1
@Stage\n\nwhen I receive [next stage v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen flag clicked\nstart sound [Minecraft v]\n\n@road-\n\nwhen I receive [あ v]\nwait (0.5) seconds\nnext costume\nif <(costume [number v]) = [1]> then\n    broadcast (1 v)\nend\nif <(costume [number v]) = [2]> then\n    broadcast (2 v)\nend\nif <(costume [number v]) = [3]> then\n    broadcast (3 v)\nend\nif <(costume [number v]) = [4]> then\n    broadcast (4 v)\nend\nif <(costume [number v]) = [5]> then\n    broadcast (5 v)\nend\nif <(costume [number v]) = [6]> then\n    broadcast (6 v)\nend\nif <(costume [number v]) = [7]> then\n    broadcast (7 v)\nend\nif <(costume [number v]) = [8]> then\n    broadcast (8 v)\nend\nif <(costume [number v]) = [9]> then\n    broadcast (9 v)\nend\nif <(costume [number v]) = [10]> then\n    broadcast (10 v)\nend\nif <(costume [number v]) = [11]> then\n    broadcast (11 v)\nend\nif <(costume [number v]) = [12]> then\n    broadcast (12 v)\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nset [ghost v] effect to (100)\n\nwhen I receive [suta-to  v]\n\nwhen flag clicked\nset [time v] to [0]\nshow variable [time v]\nshow variable [☁ world record v]\n\nwhen I receive [suta-to  v]\nwait (3) seconds\nrepeat until <(costume [number v]) = [12]>\n    wait (1) seconds\n    change [time v] by (1)\n    if <(costume [number v]) = [12]> then\n        show variable [time v]\n        show variable [☁ world record v]\n        wait (10) seconds\n        hide variable [☁ world record v]\n        hide variable [time v]\n        if <(time) < (☁ world record)> then\n            set [☁ world record v] to (time)\n        end\n    end\nend\n\nwhen flag clicked\nwait (2.4) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [next stage v]\nnext costume\n\nmove (10) steps\nmove (10) steps\n\nwhen flag clicked\nbroadcast (suta-to  v)\n\nset [☁ world record v] to [48]\n\n@player\n\nwhen I receive [suta-to  v]\nset volume to (100) %\n\nwhen flag clicked\nhide\nset size to (60) %\ngo to x: (-220) y: (50)\nset [ghost v] effect to (100)\ngo to [back v] layer\n\nwhen I start as a clone\nrepeat (9)\n    change [ghost v] effect by (7)\n    change size by (-5.2)\nend\ndelete this clone\n\nwhen [z v] key pressed\n\nwhen flag clicked\nwait (1) seconds\nshow\nwait (2.4) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <touching (spike v)?> then\n        start sound [重いパンチ1 v]\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-210) y: (100)\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (1)\n        point in direction (90)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    if <touching (road- v)?> then\n        change y by (1)\n        if <touching (road- v)?> then\n            change y by (1)\n            if <touching (road- v)?> then\n                change y by (1)\n                if <touching (road- v)?> then\n                    change y by (1)\n                    if <touching (road- v)?> then\n                        change y by (1)\n                        if <touching (road- v)?> then\n                            change x by ((xのやつ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [ポコン v]\n                                if <(xのやつ) > [0]> then\n                                    set [xのやつ v] to [-7]\n                                else\n                                    set [xのやつ v] to [7]\n                                end\n                                set [ｙだー v] to [15]\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 (road- v)?> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [ｙだー v] to [16.3]\n            start sound [ポコン v]\n        end\n    end\n    change y by (1)\n    change [ｙだー v] by (-1)\n    change y by (ｙだー)\n    if <touching (road- v)?> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        broadcast (next v)\n        start sound [Rip v]\n        wait (0.5) seconds\n        go to x: (-220) y: (50)\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [next stage v]\nwait (0.000000000001) seconds\ngo to x: (-220) y: (50)\n\n\n\n@spike\n\nwhen flag clicked\nwait (1) seconds\nshow\nswitch costume to (コスチューム1 v)\n\nwhen I receive [next stage v]\nnext costume\n\n@NEXT\n\nwhen I receive [next v]\nset [動く v] to [0]\ngo to [front v] layer\nstart sound [メニューを開く4 v]\nshow\nswitch costume to (コスチューム1 v)\nrepeat (5)\n    next costume\nend\nwait (1) seconds\nrepeat (5)\n    next costume\nend\nset [動く v] to [1]\nhide\nbroadcast (next Stage v)\n\nwhen flag clicked\nhide\n\nwhen I receive [next stage v]\n\n@効果音２\n\n@効果音\n\n@サムネ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nforever\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n
https://scratch.mit.edu/projects/906300591\n↑宣伝\n\n傾向1P13位ありがとうございます！