Bomb platformer  / 爆弾　プラットフォーマー
@Stage\n\nwhen flag clicked\nforever\n    play sound [KARAAGEPさんから v] until done\nend\n\n@主人公\n\nwhen I start as a clone\n\nwhen flag clicked\nset rotation style [all around v]\nset [x v] to [0]\nset [y v] to [0]\nset [ugoku? v] to [0]\npoint in direction (90)\ngo to x: (-210) y: (-13)\nclear graphic effects\nset [pixelate v] effect to (20)\nbroadcast (Aaaa v)\nset [ugoku? v] to [1]\nshow variable [タイム v]\nset [タイム v] to [0]\nhide variable [y v]\nhide variable [x v]\nshow\nset size to (80) %\nforever\n    if <(Ugoku?) = [1]> then\n        if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n            change [x v] by (1)\n        end\n        if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n            change [x v] by (-1)\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\n        if <<touching color (#35ff00)?> or <touching color (#e68600)?>> then\n            change y by (1)\n            if <<touching color (#35ff00)?> or <touching color (#e68600)?>> then\n                change y by (1)\n                if <<touching color (#35ff00)?> or <touching color (#e68600)?>> then\n                    change y by (1)\n                    if <<touching color (#35ff00)?> or <touching color (#e68600)?>> then\n                        change y by (1)\n                        if <<touching color (#35ff00)?> or <touching color (#e68600)?>> then\n                            change y by (1)\n                            if <<touching color (#35ff00)?> or <touching color (#e68600)?>> then\n                                change x by ((x) * (-1))\n                                change y by (-5)\n                                if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                    if <[0] > (x)> then\n                                        set [x v] to [7]\n                                    else\n                                        set [x v] to [-7]\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 <<<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> and <<touching color (#35ff00)?> or <touching color (#e68600)?>>> then\n            start sound [Jump v]\n            set [y v] to [15]\n        end\n        change y by (1)\n        change [y v] by (-1)\n        change y by (y)\n        if <<touching color (#35ff00)?> or <touching color (#e68600)?>> then\n            change y by ((y) * (-1))\n            set [y v] to [0]\n        end\n        if <<touching (sozai v)?> or <<touching color (#ff0000)?> or <<(y position) < [-160]> and <touching (_edge_ v)?>>>> then\n            リセット\n            start sound [Connect v]\n        end\n        if <touching color (#3500ff)?> then\n            start sound [Jump3 v]\n            set [y v] to [20]\n        end\n    end\nend\n\nset [ghost v] effect to (20)\n\nplay sound [Jump v] until done\n\nwhen flag clicked\nforever\n    if <<<touching (_edge_ v)?> and <[200] < (x position)>> and <[14] > (背景)>> then\n        リセット\n        broadcast (次のステージ v)\n    end\n    \nend\n\ndefine リセット\nset [x v] to [0]\nset [y v] to [0]\nset [ugoku? v] to [0]\nrepeat (30)\n    change [ghost v] effect by (1)\n    change [brightness v] effect by (3)\nend\npoint in direction (90)\ngo to x: (-210) y: (-13)\nclear graphic effects\nset [pixelate v] effect to (20)\nset [ああはっはっは v] to [1]\nbroadcast (Aaaa v)\nset [ああはっはっは v] to [0]\nset [ugoku? v] to [1]\n\ngo to x: (-207) y: (-64)\n\nwhen flag clicked\nforever\n    if <<(y position) > [170]> and <<(y) > [0]> and <touching (_edge_ v)?>>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nrepeat until <not <[14] > (背景)>>\n    change [タイム v] by (0.1)\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nforever\n    turn right ((x) * (3.14)) degrees\nend\n\nwhen [r v] key pressed\nリセット\n\nwhen I receive [リセット v]\nリセット\n\n@基本のステージ\n\nwhen flag clicked\ngo to x: (36) y: (28)\nswitch costume to (コスチューム2 v)\nforever\n    set [背景 v] to (costume [number v])\nend\n\nwhen I receive [次のステージ v]\nif <not <(costume [number v]) = [14]>> then\n    next costume\nend\n\nwhen I receive [うぎゃあああ v]\nnext costume\n\n@Bom\n\nwhen flag clicked\nhide\nset [持ってる？ v] to [0]\n\nwhen I start as a clone\nchange [クローン数 v] by (1)\nshow\nwait until <<touching (主人公 v)?> and <(持ってる？) = [0]>>\nwait (0.01) seconds\nset [持ってる？ v] to [1]\nrepeat until <<(Ugoku?) = [0]> or <<key (down arrow v) pressed?> or <key (s v) pressed?>>>\n    go to (主人公 v)\n    change y by (20)\nend\nchange y by (-20)\nset [持ってる？ v] to [0]\nset [ボムのy v] to [0]\nforever\n    change [ボムのy v] by (-1)\n    change y by (ボムのy)\n    if <<touching color (#35ff00)?> or <touching color (#e68600)?>> then\n        change y by ((ボムのy) * (-1))\n        set [ボムのy v] to [0]\n    end\nend\n\nwhen I start as a clone\nwait until <<touching (主人公 v)?> and <(持ってる？) = [0]>>\nwait (2) seconds\nrepeat (5)\n    change [brightness v] effect by (50)\n    wait (0.3) seconds\n    set [brightness v] effect to (0)\n    wait (0.3) seconds\nend\nset [y v] to (y position)\nset [x v] to (x position)\nset [持ってる？ v] to [0]\nbroadcast (Ba v)\nchange [クローン数 v] by (-1)\ndelete this clone\n\ngo to x: (-73) y: (-20)\n\nwhen I receive [aaaa v]\nwait until <(Ugoku?) = [1]>\nwait (0.1) seconds\nif <<([costume # v] of [基本のステージ v]) = [8]> or <<([costume # v] of [基本のステージ v]) = [5]> or <([costume # v] of [基本のステージ v]) = [9]>>> then\n    go to x: (-97) y: (-109)\n    create clone of (_myself_ v)\nend\nif <([costume # v] of [基本のステージ v]) = [10]> then\n    go to x: (-120) y: (-109)\n    create clone of (_myself_ v)\nend\nif <([costume # v] of [基本のステージ v]) = [11]> then\n    go to x: (-80) y: (117)\n    create clone of (_myself_ v)\nend\nif <([costume # v] of [基本のステージ v]) = [13]> then\n    go to x: (-159) y: (-128)\n    create clone of (_myself_ v)\n    go to x: (-136) y: (-128)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    show\n    if <(Ugoku?) = [0]> then\n        change [クローン数 v] by (-1)\n        delete this clone\n    end\nend\n\n\n\nif <(ああはっはっは) = [0]> then\n\nif <(Ugoku?) = [1]> then\n\ndelete this clone\n\nset [クローン数 v] to [0]\n\n@sozai\n\nwhen flag clicked\n\nwhen I receive [ba v]\nset size to (60) %\ngo to x: (X) y: (Y)\nswitch costume to (explode-05-june\[2 v)\nshow\nstart sound [Crunch v]\nrepeat (25)\n    next costume\nend\nhide\ngo to [front v] layer\n\nshow\nforever\n\nwhen flag clicked\nhide\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nwait until <touching (sozai v)?>\nrepeat (5)\n    change size by (-10)\nend\ndelete this clone\n\nwhen I receive [aaaa v]\nset [持ってる？ v] to [0]\nwait (0.1) seconds\nif <([costume # v] of [基本のステージ v]) = [5]> then\n    go to x: (12) y: (-109)\n    create clone of (_myself_ v)\nend\nif <([costume # v] of [基本のステージ v]) = [8]> then\n    go to x: (-112) y: (17)\n    create clone of (_myself_ v)\n    go to x: (-112) y: (56)\n    create clone of (_myself_ v)\nend\nif <([costume # v] of [基本のステージ v]) = [9]> then\n    go to x: (0) y: (162)\n    create clone of (_myself_ v)\nend\nif <([costume # v] of [基本のステージ v]) = [10]> then\n    go to x: (22) y: (-116)\n    create clone of (_myself_ v)\nend\nif <([costume # v] of [基本のステージ v]) = [13]> then\n    go to x: (-73) y: (-124)\n    create clone of (_myself_ v)\n    go to x: (10) y: (-124)\n    create clone of (_myself_ v)\n    go to x: (79) y: (-124)\n    create clone of (_myself_ v)\n    go to x: (160) y: (-124)\n    create clone of (_myself_ v)\nend\n\n@ボタン\n\nwhen I receive [aaaa v]\n\n\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <([costume # v] of [基本のステージ v]) = [6]> then\n        go to x: (-44) y: (-116)\n        switch costume to (コスチューム1 v)\n        show\n        wait until <<touching (主人公 v)?> or <touching (sozai v)?>>\n        switch costume to (コスチューム2 v)\n        broadcast (うぎゃあああ v)\n    else\n        if <([costume # v] of [基本のステージ v]) = [7]> then\n            go to x: (-44) y: (-116)\n            show\n            switch costume to (コスチューム2 v)\n        else\n            if <([costume # v] of [基本のステージ v]) = [11]> then\n                switch costume to (コスチューム1 v)\n                go to x: (38) y: (-154)\n                show\n                wait until <<touching (主人公 v)?> or <touching (sozai v)?>>\n                switch costume to (コスチューム2 v)\n                broadcast (うぎゃあああ v)\n            else\n                if <([costume # v] of [基本のステージ v]) = [12]> then\n                    go to x: (38) y: (-154)\n                    switch costume to (コスチューム2 v)\n                    show\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\n\n\ngo to x: (-44) y: (-116)\nshow\nswitch costume to (コスチューム2 v)\n\n@スプライト2\n\nwhen flag clicked\nforever\n    go to x: (211) y: (152)\n    show\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (リセット v) and wait\n    end\n    go to [back v] layer\nend\n\n@Bom2\n\nwhen flag clicked\nhide\n\ngo to x: (0) y: (0)\nset size to (100) %\ngo to [front v] layer\nshow\n\n
【←↑→key or tap】移動，move\n【爆弾に触れる，Touch the bomb】爆弾をもつ，have a bomb\n【s key or ↓ key】爆弾を落とす，drop tha bomb\n【r  key】リセット，reset