MINECRAFT　PLATFORMER Level 1
@Stage\n\n@プレイヤー\n\nwhen flag clicked\nbroadcast (Game Start v)\nhide\nset size to (60) %\n\nwhen I receive [game start v]\nset [x v] to [0]\nset [y v] to [0]\nset size to (60) %\nswitch costume to (mae v)\ngo to x: (-160) y: (-30)\npoint in direction (90)\nshow\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        if <(y) = [0]> then\n            switch costume to (migi v)\n        end\n        change y by (-5)\n        if <touching (地形 v)?> then\n            change [x v] by (1)\n        else\n            change [x v] by (1)\n        end\n        change y by (5)\n    else\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            point in direction (-90)\n            if <(y) = [0]> then\n                switch costume to (migi v)\n            end\n            change y by (-5)\n            if <touching (地形 v)?> then\n                change [x v] by (-1)\n            else\n                change [x v] by (-1)\n            end\n            change y by (5)\n        else\n            if <(y) = [0]> then\n                switch costume to (mae v)\n            end\n        end\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                            set [x v] to [0]\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                set [y v] to [10]\n                                if <(direction) = [90]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\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 ((y) * (-1))\n        set [y v] to [0]\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(y position) < (mouse y)> and <mouse down?>>> then\n            set [地形仮3 v] to [0]\n            change y by (10)\n            if <touching (地形 v)?> then\n                set [地形仮3 v] to [1]\n            end\n            change y by (-10)\n            if <(地形仮3) = [0]> then\n                set [y v] to [15]\n                if <(costume [name v]) = [r]> then\n                    switch costume to (hidari v)\n                else\n                    switch costume to (ue v)\n                end\n            end\n        end\n    end\n    if <(x position) > [230]> then\n        set size to (60) %\n        set rotation style [left-right v]\n        set [x v] to [0]\n        set [y v] to [0]\n        switch costume to (mae v)\n        point in direction (90)\n        clear graphic effects\n        show\n        broadcast (Next Steage v)\n        go to x: (-160) y: (-30)\n    end\n    if <<(y position) < [-180]> or <touching (障害物 v)?>> then\n        set rotation style [all around v]\n        start sound [_oof v]\n        repeat (20)\n            turn right (15) degrees\n            change size by (-2.5)\n            change [ghost v] effect by (5)\n            change y by (8)\n        end\n        set size to (60) %\n        set rotation style [left-right v]\n        set [x v] to [0]\n        set [y v] to [0]\n        switch costume to (mae v)\n        go to x: (-160) y: (-30)\n        point in direction (90)\n        clear graphic effects\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen [timer v] > (1)\nhide\n\nwhen flag clicked\nforever\n    play sound [１ v] until done\nend\n\nwhen flag clicked\nforever\n\n@地形\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\n\nwhen I receive [next steage v]\nnext costume\n\nwhen flag clicked\nset [time v] to [0]\nrepeat until <(costume [number v]) = [14]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen flag clicked\nforever\n    ブロック名\nend\n\ndefine ブロック名\nif <(costume [number v]) = [14]> then\n    broadcast (1 v)\nend\n\nwhen I receive [1 v]\nforever\n    if <(time) < (☁ time)> then\n        set [☁ time v] to (time)\n    end\nend\n\n@障害物\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\ngo to x: (36) y: (28)\npoint in direction (90)\n\nwhen I receive [next steage v]\nnext costume\n\n@スプライト1\n\nwhen flag clicked\nforever\n    go to x: (20) y: (29)\n    show\n    set [ghost v] effect to (100)\nend\n\n@スプライト2\n\nwhen flag clicked\nhide\n\n
Operate with arrow keys or wdas keys or tap\n