SPY PLATFORMER 
@Stage\n\nwhen flag clicked\nforever\n    play sound [Inferno v] until done\nend\n\n@プレイヤー\n\nwhen flag clicked\nset [xx v] to [0]\nset [yy v] to [0]\nhide\n\ndefine prayer\nif <(！) = [0]> then\n    if <not <<<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > [0]> and <mouse down?>>>> or <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<[0] > (mouse x)> and <mouse down?>>>>>> then\n        switch costume to (中央 v)\n    end\n    if <<<mouse down?> and <[50] < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        change [x v] by (2)\n        switch costume to (プレイヤー右 v)\n    end\n    if <<<mouse down?> and <(mouse x) < [-50]>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        change [x v] by (-2)\n        switch costume to (プレイヤー左 v)\n    end\n    set [x v] to ((x) * (0.77))\n    change x by (round (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 y by (1)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <touching (ステージ v)?> then\n        壁\n    end\n    change [y v] by (-1.5)\n    change y by (y)\n    if <touching (ステージ v)?> then\n        床\n    end\n    change y by (-1)\n    if <<touching (ステージ v)?> and <<<mouse down?> and <[0] < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n        set [y v] to [20]\n        start sound [Low Whoosh v]\n    end\n    change y by (1)\n    change [scroll x v] by (round ((x position) / (10)))\n    change x by ((0) - ((round ((x position) / (10))) * <not <<(scroll x) < [0]> or <[4500] < (scroll x)>>>))\n    if <(scroll x) < [0]> then\n        set [scroll x v] to [0]\n    end\n    if <[4500] < (scroll x)> then\n        set [scroll x v] to [4500]\n    end\n    change [scroll y v] by (round ((y position) / (10)))\n    change y by ((0) - ((round ((y position) / (10))) * <not <(scroll y) < [0]>>))\n    if <(scroll y) < [0]> then\n        set [scroll y v] to [0]\n    end\n    if <<(y position) < [-150]> and <not <(scroll y) = [0]>>> then\n        set y to (-150)\n        change [y v] by (2)\n    end\nend\n\ndefine 初期化\nstart sound [Rip v]\nhide\nrepeat until <<([abs v] of ((scroll y) - (YY)) ) < [3]> and <([abs v] of ((scroll x) - (XX)) ) < [3]>>\n    change [scroll x v] by (round (((XX) - (scroll x)) / (5)))\n    change [scroll y v] by (round (((YY) - (scroll y)) / (5)))\nend\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (0) y: (0)\nbroadcast (monster v)\nshow\n\ndefine 壁\nchange y by (-4)\nset [？ v] to [0]\nrepeat until <<[100] < (？)> or <not <touching (ステージ v)?>>>\n    change [？ v] by (1)\n    change x by ((-1) * ((x) / ([abs v] of (x) )))\nend\nif <<<mouse down?> and <[0] < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    set [y v] to [20]\n    set [x v] to ((-10) * ((x) / ([abs v] of (x) )))\nelse\n    set [x v] to [0]\nend\n\ndefine 床\nset [？ v] to [0]\nrepeat until <<[100] < (？)> or <not <touching (ステージ v)?>>>\n    change [？ v] by (1)\n    change y by ((-1) * ((y) / ([abs v] of (y) )))\nend\nset [y v] to [0]\n\nwhen I receive [start v]\nshow\nset [！ v] to [0]\nset [scroll x v] to [0]\nset [scroll y v] to [0]\ngo to x: (0) y: (50)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    prayer\nend\n\nwhen I receive [start v]\nforever\n    set size to (50) %\n    if <<<mouse down?> and <[50] < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        switch costume to (プレイヤー右 v)\n    end\n    if <<<mouse down?> and <(mouse x) < [-50]>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        switch costume to (プレイヤー左 v)\n    end\nend\n\nwhen I receive [start v]\nset [！ v] to [0]\nforever\n    if <<(y position) < [-180]> or <touching (とげとげ v)?>> then\n        set [！ v] to [1]\n        初期化\n        set [！ v] to [0]\n    end\nend\n\nwhen I receive [初期化 v]\nset [！ v] to [1]\n初期化\nset [！ v] to [0]\n\nwhen I receive [クリア v]\nhide\n\nif <not <(username) = []>> then\n    say (username)\nend\n\nwhen flag clicked\ngo to [front v] layer\nbroadcast (START v)\n\n@ステージ\n\n配置 [7200] [500] [16]\n配置 [7700] [500] [17]\n配置 [8200] [500] [18]\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\nset [3 v] to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    switch costume to (コスチューム1 v)\n    go to x: ((1) - (scroll x)) y: ((2) - (scroll y))\n    if <<(x position) = ((1) - (scroll x))> and <(y position) = ((2) - (scroll y))>> then\n        show\n    else\n        hide\n    end\n    switch costume to ((1) + (3))\nend\n\nwhen I receive [start v]\nhide\n配置 [0] [0] [1]\n配置 [500] [0] [2]\n配置 [1000] [0] [3]\n配置 [1500] [0] [4]\n配置 [1850] [0] [5]\n配置 [2400] [200] [6]\n配置 [3000] [200] [7]\n配置 [3300] [100] [8]\n配置 [3700] [100] [9]\n配置 [4200] [0] [10]\n配置 [4700] [0] [11]\n配置 [4700] [200] [12]\n配置 [4300] [390] [13]\n配置 [3850] [500] [14]\n配置 [4300] [500] [15]\n\n@とげとげ\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\nset [3 v] to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    switch costume to (コスチューム1 v)\n    go to x: ((1) - (scroll x)) y: ((2) - (scroll y))\n    if <<(x position) = ((1) - (scroll x))> and <(y position) = ((2) - (scroll y))>> then\n        show\n    else\n        hide\n    end\n    switch costume to ((1) + (3))\nend\n\nwhen I receive [start v]\nhide\n配置 [300] [100] [1]\n配置 [1000] [0] [2]\n配置 [1500] [0] [3]\n配置 [1800] [0] [4]\n配置 [2000] [0] [5]\n配置 [2500] [300] [6]\n配置 [3000] [200] [7]\n配置 [3500] [0] [8]\n配置 [4000] [0] [9]\n配置 [4500] [0] [10]\n\n@スプライト1\n\nwhen flag clicked\nforever\n    go to (プレイヤー v)\nend\n\n@スプライト3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n
グラフィックこだわった\n2Pありりがとう！\n"How to operate"\n・Arrow keys\n・Tap operation\n\n「操作方法」\n・矢印キー\n・タップ操作\n