Pac-Man Platformer

Instructions: ENGLISH⬇︎\n\n《日本語》\n\nペンプラットフォーマー！\n\nこのプラットフォーマーはペンで足場を書いて進む\nプラットフォーマーです\n\n【操作方法】\nWASDキー　タップ\n\n【ペンの使い方】\n左上のペンメークをタップすると\nペイントモードになって\n画面をに足場を書けるようになります\n\n上のゲージが0になるまで書けます\n消しゴムマークをタップすると足場をクリアできます\n\nスタートボタンを押すと初期位置から\n再スタート出来ます\n\n\n《English》\n\nPen Platformer!\n\nThis platformer uses a pen to draw a scaffold to advance.\n\n【How to operate】\nWASD keys\n\n【How to use the pen】\nTap the pen make in the upper left corner.\nTap the pen make in the upper left corner to enter paint mode.\nYou can write scaffolding on the screen.\n\nYou can paint until the upper gauge reaches 0.\nTap the eraser mark to clear the scaffold.\n\nTap the Start button to restart from the initial position\nYou can start again from the initial position by tapping the Start button.\n

@Stage\n\nwhen flag clicked\nclear graphic effects\nwait (0.1) seconds\nswitch backdrop to (背景1 v)\nstart sound [machine-hit2 v]\nwait (0.5) seconds\nrepeat (50)\n    change [brightness v] effect by (-2)\nend\nwait (0.5) seconds\nbroadcast (fff v)\n\nwhen I receive [the end v]\nclear graphic effects\nswitch backdrop to (galaxy v)\nforever\n    if <(ステージ) = [10]> then\n        switch backdrop to (galaxy2 v)\n    end\nend\n\nwhen I receive [the end v]\nforever\n    play sound [Inferno v] until done\nend\n\n@player\n\nwhen flag clicked\nhide\n\ndefine 初期設定プログラム\nshow\nset size to (100) %\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (ぷれいやあ v)\ngo to x: (-200) y: (-50)\n\nwhen I receive [the end v]\n初期設定プログラム\ngo to x: (-200) y: (300)\nset rotation style [left-right v]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        point in direction (-90)\n        change [x v] by (-1)\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                            set [地面 v] to [0]\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<<mouse down?> and <(mouse y) > (y position)>> or <key (w v) pressed?>>> then\n                                if <(x) < [0]> then\n                                    set [x v] to [9]\n                                else\n                                    set [x v] to [-9]\n                                end\n                                set [y v] to [6]\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 <<<mouse down?> and <(mouse y) > (y position)>> or <key (w v) pressed?>>> then\n        if <touching (地面 v)?> then\n            set [y v] to [8.4]\n            start sound [ニュッ v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-0.333)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <[240] < (x position)> then\n        初期設定プログラム\n        broadcast (メッセージ1 v)\n        wait (1.8) seconds\n    end\n    if <<touching (トゲ v)?> or <<(y position) < [-180]> or <touching (マグマ v)?>>> then\n        switch costume to (ぷれいやあ v)\n        set [x v] to [0]\n        set [y v] to [0]\n        set [brightness v] effect to (-50)\n        broadcast (です v)\n        glide (0.6) secs to x: (-200) y: (-50)\n        clear graphic effects\n    end\n    if <(ステージ) = [10]> then\n        wait (0.9) seconds\n        switch costume to (ぷれいやあ3 v)\n        glide (1) secs to x: (0) y: (0)\n        repeat (40)\n            change [ghost v] effect by (2.8)\n        end\n        wait (0.3) seconds\n        broadcast (cccc v)\n    end\nend\n\nwhen I receive [the end v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (ぷれいやあ2 v)\ngo to [back v] layer\nrepeat (6)\n    change size by (-5)\n    change [ghost v] effect by (3)\nend\ndelete this clone\n\n@地面\n\nwhen flag clicked\nhide\nset [ステージ v] to [1]\nhide variable [time v]\n\nwhen I receive [メッセージ1 v]\nchange [ステージ v] by (1)\n\nwhen I receive [the end v]\nshow\ngo to x: (0) y: (0)\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [the end v]\nset [time v] to [0]\nwait (1.4) seconds\nrepeat until <(ステージ) = [10]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [the end v]\nforever\n    if <(ステージ) = [10]> then\n        wait (1) seconds\n        show variable [time v]\n    end\nend\n\n@トゲ\n\nwhen flag clicked\ngo to [back v] layer\npoint in direction (90)\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [6]> then\n        repeat (10)\n            change y by (8)\n        end\n        wait (1) seconds\n        repeat (10)\n            change y by (-8)\n        end\n    end\n    if <(ステージ) = [7]> then\n        go to x: (0) y: (0)\n        switch costume to (7 v)\n        repeat (10)\n            change y by (8)\n        end\n        wait (1) seconds\n        repeat (10)\n            change y by (-8)\n        end\n    end\n    if <(ステージ) = [8]> then\n        go to x: (0) y: (0)\n    end\nend\n\nchange y by (-10)\n\n@Rocketship\n\nwhen flag clicked\nhide\n\nwhen I receive [爆発 v]\nrepeat (50)\n    turn right (9) degrees\n    change x by (-9)\n    change y by (-11)\nend\nhide\n\nwhen I receive [fff v]\nshow\npoint in direction (90)\nset size to (220) %\ngo to x: (-443) y: (-10)\nglide (1) secs to x: (50) y: (-10)\nbroadcast (爆発 v)\n\n@Sprite75\n\nwhen flag clicked\ngo to [front v] layer\nset size to (200) %\nhide\n\nwhen I receive [爆発 v]\nset size to (100) %\ngo to [front v] layer\ngo to x: (-10) y: (0)\nswitch costume to (explode-05-june\[2 v)\nshow\nstart sound [attack v]\nrepeat (5)\n    next costume\n    change size by (20)\nend\nrepeat (20)\n    next costume\n    change size by (10)\n    wait (0.02) seconds\nend\nhide\nwait (0.2) seconds\nbroadcast (d v)\n\n@えんしゅつ\n\nwhen flag clicked\nhide\n\nwhen I receive [d v]\nshow\npoint in direction (90)\ngo to x: (0) y: (200)\nrepeat (40)\n    turn right (15) degrees\n    change y by (-13)\nend\nhide\nbroadcast (THE END v)\n\n@Next\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nshow\ngo to [front v] layer\ngo to x: (500) y: (0)\nglide (0.3) secs to x: (0) y: (0)\nwait (0.7) seconds\nglide (0.6) secs to x: (-500) y: (0)\nhide\n\n@死んだ\n\nwhen flag clicked\nhide\n\nwhen I receive [です v]\nshow\nswitch costume to (コスチューム1 v)\ngo to [front v] layer\nset [ghost v] effect to (50)\nwait (0.71) seconds\nhide\n\nwhen I receive [cccc v]\nshow\ngo to [front v] layer\nswitch costume to (コスチューム2 v)\nset [ghost v] effect to (100)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nstop [all v]\n\n@サムネ\n\nwhen flag clicked\nhide\n\nshow\n\n@スプライト2\n\nwhen flag clicked\nhide\n\n@スプライト3\n\nwhen flag clicked\nhide\n\n