Platformer World
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nforever\n    play sound [ᴍᴜsɪᴄs v] until done\nend\n\nwhen I receive [メッセージ1 v]\nnext backdrop\n\n@you\n\ngo to x: (-200) y: (-93)\n\nwhen flag clicked\nshow\nset [x v] to [0]\nset [y v] to [0]\ngo to [front v] layer\nset size to (90) %\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (-200) y: (999)\nforever\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        change [x v] by (1)\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (.89))\n    change x by (x)\n    if <touching (スプライト2 v)?> then\n        change y by (1)\n        if <touching (スプライト2 v)?> then\n            change y by (1)\n            if <touching (スプライト2 v)?> then\n                change y by (1)\n                if <touching (スプライト2 v)?> then\n                    change y by (1)\n                    if <touching (スプライト2 v)?> then\n                        change y by (1)\n                        if <touching (スプライト2 v)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [12]\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 (スプライト2 v)?> then\n        if <<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n            start sound [Jump v]\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (スプライト2 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <(x position) > [190]> then\n        go to x: (-200) y: (999)\n        broadcast (メッセージ1 v)\n    end\n    if <<touching color (#ff0000)?> or <touching color (#a70000)?>> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        wait (0.5) seconds\n        go to x: (-200) y: (999)\n        repeat (20)\n            change [ghost v] effect by (-5)\n        end\n        show\n    end\nend\n\ngo to x: (-200) y: (-93)\n\n@スプライト2\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム1 v)\n\nwhen I receive [メッセージ1 v]\nnext costume\n\n@スプライト1\n\nwhen flag clicked\nhide\n\n
シンプルなplatformerです。\n\n操作・・矢印キーorクリック