0.1k platformer/0.1kプラットフォーマー
@Stage\n\nwhen flag clicked\nstart sound [Treenan v]\n\n@たけし君\n\nwhen flag clicked\nset [ghost v] effect to (100)\npoint in direction (90)\nset rotation style [left-right v]\nswitch costume to (右 v)\nset size to (70) %\nset [ghost v] effect to (0)\ngo to x: (-205) y: (0)\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\nforever\n    if <<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 (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.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                            if <<key (up arrow v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-6]\n                                else\n                                    set [x v] to [6]\n                                end\n                                set [y v] to [10]\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 <<key (up arrow v) pressed?> or <<[-50] < (mouse y)> and <mouse down?>>> then\n        if <touching (ステージ v)?> then\n            set [y v] to [13]\n        end\n    end\n    if <touching color (#0084ff)?> then\n        set [y v] to [20]\n    end\n    if <<touching (障害物 v)?> or <touching (_edge_ v)?>> then\n        hide\n        go to x: (-205) y: (0)\n        show\n    end\n    change y by (y)\n    change [y v] by (-1)\n    if <touching (ステージ v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <(x position) > [200]> then\n        set x to (200)\n        broadcast (NEXT v)\n        set [x v] to [0]\n        set [y v] to [0]\n        repeat until <[150] < (y position)>\n            change [y v] by (1)\n            change y by (((y) * (3)) / (5))\n        end\n        broadcast (ナイストゥみーとぅー v)\n        go to x: (-200) y: (150)\n        set [y v] to [0]\n        repeat (28)\n            change [y v] by (-1)\n            change y by (((y) * (-3)) / (-5))\n        end\n        set [y v] to [0]\n    end\nend\n\n@ステージ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to [back v] layer\n\nwhen I receive [ﾄﾞｺﾞｫﾝ v]\nnext costume\n\n@障害物\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to [back v] layer\n\nwhen I receive [ﾄﾞｺﾞｫﾝ v]\nnext costume\n\n@実験\n\nwhen flag clicked\ngo to x: (0) y: (200)\ngo to [front v] layer\nset [ghost v] effect to (30)\nhide\n\nwhen I receive [next v]\nshow\nglide (0.5) secs to x: (0) y: (0)\n\nwhen I receive [ナイストゥみーとぅー v]\nbroadcast (ﾄﾞｺﾞｫﾝ v)\nwait (0.5) seconds\nglide (0.5) secs to x: (0) y: (200)\nhide\n\n@たけし君2\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n
十字キーorTAPで操作