Minecraft Platformer 豚編
@Stage\n\n@サムネ\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    play sound [Inferno v] until done\nend\n\n@プレイヤー\n\nwhen flag clicked\nclear graphic effects\nset size to (35) %\nwait (0.01) seconds\nset rotation style [left-right v]\npoint in direction (90)\ngo to [front v] layer\nset [x v] to [0]\nset [y v] to [0]\nset [ステージ v] to [1]\nclear graphic effects\ngo to x: (-200) y: (0)\nshow\nforever\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.92))\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 (1)\n                            if <touching (地面 v)?> then\n                                change x by ((0) - (x))\n                                change y by (-5)\n                                if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                    if <[0] < (x)> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                    set [y 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    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> and <touching (地面 v)?>> then\n        start sound [jump-cute1 v]\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<<<<<(y position) < [-165]> or <touching (マグマ v)?>> or <touching (マグマ2 v)?>> or <touching (マグマ3 v)?>> or <touching (マグマ4 v)?>> or <touching (マグマ5 v)?>> then\n        start sound [Teleport2 v]\n        repeat (15)\n            change [ghost v] effect by (5)\n            change [brightness v] effect by (5)\n        end\n        hide\n        clear graphic effects\n        go to x: (-200) y: (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        show\n    end\n    if <[239] < (x position)> then\n        if <not <(ステージ) = [10]>> then\n            hide\n            clear graphic effects\n            go to x: (-200) y: (0)\n            set [x v] to [0]\n            set [y v] to [0]\n            change [ステージ v] by (1)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (-1.5)\nend\ndelete this clone\n\nwhen flag clicked\nset size to (35) %\n\nwhen I receive [メッセージ1 v]\nstart sound [Teleport2 v]\nrepeat (15)\n    change [brightness v] effect by (5)\n    change [ghost v] effect by (5)\nend\nhide\nclear graphic effects\ngo to x: (-200) y: (0)\n\nwhen [down arrow v] key pressed\nforever\n    if <(y position) = [−145]> then\n        broadcast (メッセージ1 v)\n    end\nend\n\n@地面\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(costume [name v]) = [10]> then\n        if <(☁ 世界記録) > (かかった時間)> then\n            set [☁ 世界記録 v] to (かかった時間)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<[9] > (costume [name v])> or <[9] = (costume [number v])>> then\n        change [かかった時間 v] by (1)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nset [かかった時間 v] to [0]\n\nwhen flag clicked\nchange [☁ プレイした回数 v] by (1)\n\nwhen flag clicked\nif <(☁ 世界記録) = [0]> then\n    set [☁ 世界記録 v] to [20]\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\ngo to x: (-145) y: (-153)\nset size to (50) %\n\n
矢印キー操作\nモバイルも対応してます。