ATAMANOWARUIHITO Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景2 v)\n\nwhen I receive [aaa v]\nswitch backdrop to (背景1 v)\n\n@スプライト2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nshow\nhide\ngo to [back v] layer\nwait (0.7) seconds\nrepeat (30)\n    create clone of (_myself_ v)\nend\n\nwait (0.01) seconds\n\nwhen I start as a clone\ngo to x: (0) y: (0)\nshow\npoint in direction (pick random (180) to (-180))\nrepeat until <touching (_edge_ v)?>\n    move (10) steps\nend\ndelete this clone\n\n@スプライト3\n\nwhen flag clicked\nshow\nstart sound [WindowsXP起動音・終了音 v]\nset y to (155)\nset size to (2) %\nrepeat (20)\n    change size by (pick random (5) to (7.5))\n    change y by (-7.5)\nend\nwait (2.5) seconds\nhide\nbroadcast (aaa v)\n\n@スプライト1\n\nwhen I receive [aaa v]\npoint in direction (90)\nset rotation style [left-right v]\nset size to (30) %\nshow\ngo to x: (-205) y: (90)\nset [ｘ v] to [0]\nset [ｙ 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        next costume\n        change [ｘ v] by (-1.5)\n        point in direction (-90)\n    end\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        next costume\n        change [ｘ v] by (1.5)\n        point in direction (90)\n    end\n    set [ｘ v] to ((ｘ) * (0.9))\n    change x by (ｘ)\n    if <<touching color (#ffffff)?> or <touching color (#dadada)?>> then\n        change y by (1)\n        if <<touching color (#ffffff)?> or <touching color (#dadada)?>> then\n            change y by (1)\n            if <<touching color (#ffffff)?> or <touching color (#dadada)?>> then\n                change y by (1)\n                if <<touching color (#ffffff)?> or <touching color (#dadada)?>> then\n                    change y by (1)\n                    if <<touching color (#ffffff)?> or <touching color (#dadada)?>> then\n                        change y by (1)\n                        if <<touching color (#ffffff)?> or <touching color (#dadada)?>> then\n                            change x by ((ｘ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<[-45] < (mouse y)> and <mouse down?>>> then\n                                if <(ｘ) > [0]> then\n                                    set [ｘ v] to [-6]\n                                else\n                                    set [ｘ v] to [6]\n                                end\n                                set [ｙ v] to [10]\n                            else\n                                set [ｘ 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 <<[-45] < (mouse y)> and <mouse down?>>> then\n        if <<touching color (#ffffff)?> or <touching color (#dadada)?>> then\n            start sound [Jump v]\n            set [ｙ v] to [15]\n        end\n    end\n    if <touching color (#2b3cff)?> then\n        start sound [Jump v]\n        set [ｙ v] to [20]\n    end\n    if <<touching color (#ff2c2c)?> or <(y position) < [-155]>> then\n        start sound [crashed oof v]\n        hide\n        go to x: (-205) y: (90)\n        show\n    end\n    change y by (ｙ)\n    change [ｙ v] by (-1)\n    if <<touching color (#ffffff)?> or <touching color (#dadada)?>> then\n        change y by ((ｙ) * (-1))\n        set [ｙ v] to [0]\n    end\n    if <(x position) > [240]> then\n        if <(backdrop [number v]) = [14]> then\n    end\nend\n\nwhen flag clicked\nhide\n\n@スプライト4\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nswitch costume to (1 v)\n\nwhen I receive [aaa v]\nshow\n\nwhen I receive [次 v]\nnext costume\n\ngo to (スプライト1 v)\n\n@スプライト5\n\nwhen flag clicked\nhide\n\n@スプライト6\n\nwhen flag clicked\n\ngo to x: () y: ()\nshow\nstart sound [yuuenchi v]\nclear sound effects\nstop all sounds\nstart sound [yuuenchi v]\nforever\n    next costume\n    wait (0.5) seconds\nend\n\n@スプライト7\n\nwhen flag clicked\nhide\n\nwhen I receive [aaa v]\nshow\nforever\n    if <key (space v) pressed?> then\n        go to (スプライト1 v)\n        show\n    else\n        hide\n    end\nend\n\n
モバイル対応\n矢印キーで操作\n赤に触れると死にます。\n青はジャンプ台です。\n＿＿＿＿＿＿＿＿＿＿＿\nMobile Support\nUse arrow keys to control\nTouch the red to die.\nBlue is a jumping board.\n