Platformer  Mobile compatible　プラットフォーマー 　モバイル対応
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen backdrop switches to [ゴール１ v]\nbroadcast (GOAL v)\n\nwhen backdrop switches to [ゴール２ v]\nbroadcast (GOAL v)\n\n@スプライト1\n\nwhen flag clicked\nset [yy v] to [0]\nset [xx v] to [0]\nset [スキップした数 v] to [0]\nset [スキップの制限 v] to [0]\ngo to x: (-179) y: (-64)\nswitch backdrop to (背景1 v)\nshow\nset rotation style [left-right v]\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n        point in direction (90)\n        change [xx v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>> then\n        point in direction (-90)\n        change [xx v] by (-1)\n    end\n    if <key (down arrow v) pressed?> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\n    set [xx v] to ((Xx) * (0.9))\n    change x by (Xx)\n    if <<touching color (#4bff6f)?> or <<touching color (#4bea6b)?> or <touching color (#de7a16)?>>> then\n        change y by (6)\n        if <<touching color (#4bff6f)?> or <<touching color (#4bea6b)?> or <touching color (#de7a16)?>>> then\n            change y by (-6)\n            change x by ((Xx) * (-1))\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n                set [yy v] to [15]\n                if <(Xx) > [0]> then\n                    set [xx v] to [-10]\n                else\n                    set [xx v] to [10]\n                end\n            else\n                set [xx v] to [0]\n            end\n        end\n    end\n    change [yy v] by (-1)\n    change y by (Yy)\n    if <<touching color (#4bff6f)?> or <<touching color (#4bea6b)?> or <touching color (#de7a16)?>>> then\n        change y by (() - (Yy))\n        set [yy v] to [0]\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [yy v] to [15]\n        end\n    end\n    if <<touching color (#808080)?> or <<touching color (#8f8f8f)?> or <touching (奈落 v)?>>> then\n        go to x: (-179) y: (-64)\n    end\n    if <touching (ゴール v)?> then\n        broadcast (NEXT v)\n        next backdrop\n        go to x: (-179) y: (-64)\n    end\n    if <<touching (トランポリン v)?> or <touching (トランポリン2 v)?>> then\n        set [yy v] to [20]\n    end\n    if <key (space v) pressed?> then\n        if <[0] > (スキップした数)> then\n    end\n    if <<key (down arrow v) pressed?> or <<mouse down?> and <[-66] > (mouse y)>>> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen flag clicked\nwait (1.5) seconds\nforever\n    play sound [Tobu - Candyland \[NCS Release\].mp3 v] until done\nend\n\nwhen I receive [スプライト１表示 v]\ngo to x: (-179) y: (-64)\n\nwhen backdrop switches to [ゴール２ v]\nset [スキップの制限 v] to [1]\n\nwhen backdrop switches to [ゴール１ v]\nset [スキップの制限 v] to [2]\n\nwhen backdrop switches to [背景16 v]\nset [スキップの制限 v] to [0]\n\nwhen backdrop switches to [背景17 v]\nset [スキップの制限 v] to [0]\n\n@地形１（試し）\n\nwhen flag clicked\ngo to x: (12) y: (-53)\nhide\n\n@奈落\n\nwhen flag clicked\ngo to x: (-1) y: (-178)\nset [ghost v] effect to (100)\n\n@ゴール\n\nwhen flag clicked\ngo to x: (239) y: (0)\nset [ghost v] effect to (100)\nshow\n\n@トランポリン\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (-64) y: (-72)\nhide\nforever\n    if <touching (スプライト1 v)?> then\n        switch costume to (コスチューム2 v)\n        wait (0.3) seconds\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen backdrop switches to [背景14 v]\nshow\n\nwhen backdrop switches to [背景13 v]\nhide\n\nwhen backdrop switches to [背景15 v]\nhide\n\nwhen backdrop switches to [背景17 v]\nshow\ngo to x: (-5) y: (-72)\n\nwhen backdrop switches to [ゴール２ v]\nhide\n\nwhen backdrop switches to [背景16 v]\nhide\n\n@トランポリン2\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (109) y: (-72)\nhide\nforever\n    if <touching (スプライト1 v)?> then\n        switch costume to (コスチューム2 v)\n        wait (0.3) seconds\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen backdrop switches to [背景14 v]\nshow\n\nwhen backdrop switches to [背景13 v]\nhide\n\nwhen backdrop switches to [背景15 v]\nhide\n\n@NEXT\n\nwhen flag clicked\ngo to x: (467) y: (0)\nhide\n\nwhen I receive [next v]\ngo to x: (467) y: (0)\nset [color v] effect to (pick random (1) to (100))\ngo to [front v] layer\nshow\nrepeat (20)\n    change x by (((0) - (x position)) / (4))\nend\nrepeat (20)\n    change x by (((-470) - (x position)) / (4))\nend\nhide\n\nwhen I receive [next v]\nrepeat (38)\n    broadcast (スプライト１表示 v)\nend\n\n
English　（日本語↓）\nEnglish language\nOperate with arrow keys\nYou can skip it with the space key (only once)\n\n日本語\n矢印キーで操作\n下に落ちたりトゲに当たらないようにしましょう\n茶色の橋の下に触れた状態で上矢印キーと右印機キーを押すとくっついたままでいられます\nスペースキーでスキップできます（一回だけ）