Graffiti! platformer ver.1.5
@Stage\n\nwhen flag clicked\nforever\n    play sound [Bittersweet v] until done\nend\n\n@プレイヤー\n\nwhen flag clicked\nset [sute-zi v] to [1]\nset [ghost v] effect to (0)\nset [xv v] to [0]\nset [yv v] to [0]\nset rotation style [left-right v]\ngo to x: (-207) y: (-131)\npoint in direction (90)\nset size to (100) %\nforever\n    if <(stop) = [0]> then\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n            point in direction (90)\n            change [xv v] by (1)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            point in direction (-90)\n            change [xv v] by (-1)\n        end\n        set [xv v] to ((XV) * (0.85))\n        change x by (XV)\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 x by ((XV) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                    if <[0] < (XV)> then\n                                        set [xv v] to [-8]\n                                    else\n                                        set [xv v] to [8]\n                                    end\n                                    set [yv v] to [13]\n                                else\n                                    set [xv v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by ((3) mod (-2))\n        if <touching (ステージ v)?> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                set [yv v] to [13]\n            end\n        end\n        change y by ([abs v] of (1) )\n        change [yv v] by (-1)\n        change y by (YV)\n        if <touching (ステージ v)?> then\n            change y by ((YV) * (-1))\n            set [yv v] to [0]\n        end\n        if <(x position) > [243]> then\n            broadcast (ステージ↺ v)\n            change [sute-zi v] by (1)\n            broadcast (sute-zi)\n            go to x: (-207) y: (-90)\n        end\n        if <<touching (ステージ2 v)?> or <(y position) < [-175]>> then\n            broadcast (ooo v) and wait\n            go to x: (-207) y: (-90)\n        end\n        if <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> then\n            switch costume to (コスチューム2 v)\n        else\n            switch costume to (コスチューム1 v)\n        end\n    end\nend\n\nstart sound [Crunch v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (0)\ngo to x: (-207) y: (-90)\nset [xv v] to [0]\nset [yv v] to [0]\n\n@ステージ\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\ngo to x: (0) y: (0)\n\nwhen I receive [ステージ↺ v]\nnext costume\n\n@ステージ2\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\ngo to x: (0) y: (0)\n\nwhen I receive [ステージ↺ v]\nnext costume\n\n@スプライト2\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n@スプライト1\n\nwhen flag clicked\nset [消去 v] to [0]\nset [待つ v] to [0]\nhide\n\nwhen I start as a clone\ngo to (スプライト3 v)\nchange y by (10)\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\nforever\n    if <(消去) = [1]> then\n        wait (0.1) seconds\n        delete this clone\n    end\nend\n\n@スプライト3\n\nwhen flag clicked\nhide\n\nwhen I receive [ooo v]\nset [stop v] to [1]\nshow\ngo to (プレイヤー v)\nset pen color to (#fefefe)\nset pen size to (30)\nset [ghost v] effect to (0)\nswitch costume to (コスチューム3 v)\ngo to [front v] layer\nchange x by (-10)\npoint in direction (90)\ngo to [front v] layer\nset [消去 v] to [0]\nrepeat (10)\n    go to [front v] layer\n    change x by (6)\n    change y by (3)\n    go to [front v] layer\n    create clone of (スプライト1 v)\nend\nrepeat (10)\n    go to [front v] layer\n    change x by (-6)\n    change y by (-5)\n    go to [front v] layer\n    create clone of (スプライト1 v)\nend\nrepeat (10)\n    go to [front v] layer\n    change x by (6)\n    go to [front v] layer\n    create clone of (スプライト1 v)\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [stop v] to [0]\nset [消去 v] to [1]\ndelete this clone\n\n
矢印キー操作。\narrow key operation.\n