platformer／プラットフォーマー

Instructions: 日本語は下↓\n《English》\n【Method of operation】\n・Arrow key\n・WASD key\n・Tap\n\nIf you hit a thorn, start over.Also, it is the same when it falls.\n-------------------------------------------------------------------------\nHello.This is the platformer for the first post.The quality is still low, but I hope you enjoy it even a little.\n\nI'd like a ♡ and a ☆.I am very pleased.\n**************************************************************\n《日本語》\n【操作方法】\n・矢印キー\n・WASDキー\n・タップ\n\nトゲにぶつかった時はやり直しです。また、下に落ちた時も同じです。\n-------------------------------------------------------------------------\nこんにちは！初投稿のプラットフォーマーです。まだまだクオリティが低いですが、少しでも楽しんで頂けたら嬉しいです。\n\n♡と☆をお願いします。物凄く喜びます。

@Stage\n\n@キャラクター\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    play sound [lovelyflower v] until done\nend\n\nwhen I receive [start v]\nswitch costume to (コスチューム1 v)\nset size to (85) %\nswitch backdrop to (背景1 v)\npoint in direction (90)\ngo to x: (-65) y: (6)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nshow\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>>> then\n        change [x v] by (1.75)\n        switch costume to (コスチューム1 v)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>>> then\n        change [x v] by (-1.75)\n        switch costume to (コスチューム2 v)\n    end\n    set [x v] to ((x) * (0.8))\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                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                start sound [ピョン v]\n                                if <(x) > [0]> then\n                                    set [x v] to [-15]\n                                else\n                                    set [x v] to [15]\n                                end\n                                set [y v] to [13]\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 v] by (-1)\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    change y by (-1)\n    if <<touching (ステージ v)?> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>>>> then\n        start sound [ピョン v]\n        change [y v] by (16)\n    end\n    change y by (1)\n    if <(x position) > [375]> then\n        broadcast (次のステージへ v)\n        go to x: (-65) y: (6)\n    end\n    if <[-225] > (y position)> then\n        start sound [ミス v]\n        go to x: (-65) y: (6)\n    end\n    if <touching (とげ v)?> then\n        start sound [ミス v]\n        go to x: (-65) y: (6)\n    end\nend\n\n@ステージ\n\nwhen flag clicked\nhide\n\nwhen I receive [次のステージへ v]\nif <not <(costume [number v]) = [11]>> then\n    next costume\nend\n\nwhen I receive [start v]\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (0)\nset size to (100) %\nshow\n\n@とげ\n\nwhen I receive [次のステージへ v]\nif <not <(costume [number v]) = [11]>> then\n    next costume\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nswitch costume to (1 v)\ngo to x: (0) y: (0)\npoint in direction (90)\nshow\n\n@サムネ\n\nwhen flag clicked\nclear graphic effects\ngo to x: (36) y: (28)\nswitch costume to (サムネ v)\ngo to [front v] layer\nshow\nwait (3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (0.03) seconds\nend\nbroadcast (start v)\n\n