platformer　プラットフォーマー　

Instructions: こんにちは！　　RRR-scratchです。\n今回は初のゲームで初のプラットフォーマーを作りました。　　ぜひ遊んでみてください！\n\n遊び方\n矢印キーで動かします。\n赤の部分にあたるとやり直しです。\n緑のところはめり込みます\n\nレベルは中ぐらいをイメージしてつくりました。　　是非ハートよろしくお願いいたします。\n\nバグなどがある場合やここをこうしてほしいはRRR-scratchに教えてください。\n\n\nTheFatRatさんの曲を使っています。\n\n\nアップデート情報\n1月9日　共有\n\n`@RRR-scratch\n\nスマホを共有中\nhttps://scratch.mit.edu/projects/467781801/\n\nイントロコンテスト開催中\nhttps://scratch.mit.edu/projects/470942609/\n\nリミックスはご自由に！\n曲や操作キャラも借りてもいいです。

@Stage\n\nwhen flag clicked\nforever\n    play sound [Unity+-+Loop v] until done\n    play sound [れらっれらっれ v] until done\n    play sound [Elektronomia - Heaven v] until done\n    play sound [しーしーらーみーそーふぁーしー v] until done\nend\n\n@111\n\nwhen flag clicked\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset size to (75) %\ngo to [front v] layer\ngo to x: (-220) y: (-50)\nset [上座標j v] to [0]\nset [変数 v] to [0]\nforever\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        point in direction (90)\n        change [上座標j v] by (1)\n    end\n    if <<<mouse down?> and <(mouse x) < (x position)>> or <key (left arrow v) pressed?>> then\n        point in direction (-90)\n        change [上座標j v] by (-1)\n    end\n    set [上座標j v] to ((上座標j) * (0.89))\n    change x by (上座標j)\n    if <<touching color (#40e617)?> or <touching color (#000000)?>> then\n        change y by (1)\n        if <<touching color (#39e816)?> or <touching color (#000000)?>> then\n            change y by (1)\n            if <<touching color (#40e617)?> or <touching color (#000000)?>> then\n                change y by (1)\n                if <<touching color (#40e617)?> or <touching color (#000000)?>> then\n                    change y by (1)\n                    if <<touching color (#40e617)?> or <touching color (#000000)?>> then\n                        change y by (1)\n                        if <<touching color (#40e617)?> or <touching color (#000000)?>> then\n                            change x by ((上座標j) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                start sound [jump3 v]\n                                set [変数 v] to [10]\n                                if <[0] < (上座標j)> then\n                                    set [上座標j v] to [-7]\n                                else\n                                    set [上座標j v] to [7]\n                                end\n                            else\n                                set [上座標j v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching color (#40e617)?> or <touching color (#000000)?>> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            start sound [ぴょーん v]\n            set [変数 v] to [15]\n        end\n    end\n    change y by (1)\n    change [変数 v] by (-1)\n    change y by (変数)\n    if <<touching color (#40e617)?> or <touching color (#000000)?>> then\n        change y by ((変数) * (-1))\n        set [変数 v] to [0]\n    end\n    if <<(y position) < [-170]> or <touching color (#ff0000)?>> then\n        go to x: (-220) y: (-50)\n    end\n    if <[235] < (x position)> then\n        go to x: (-220) y: (-50)\n        broadcast (メッセージ1 v)\n    end\nend\n\nwhen I receive [\] v]\nhide\n\n@スプライト4\n\nwhen flag clicked\ngo to x: (465) y: (0)\nhide\n\nwhen I receive [メッセージ1 v]\nset [here we go? v] to [1]\nshow\nrepeat until <(x position) < [.1]>\n    change x by (((x position) / (3)) * (-1))\nend\nrepeat until <(x position) < [-464]>\n    change x by (((([abs v] of (x position) ) + (1)) / (3)) * (-1))\nend\nset [here we go? v] to [0]\nhide\ngo to x: (465) y: (0)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@思い出\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム1 v)\n\nwhen I receive [メッセージ1 v]\nnext costume\n\nwhen I receive [\] v]\nhide\n\nwhen [timer v] > (0)\nbroadcast (\] v)\n\nwhen flag clicked\nforever\n    reset timer\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nshow\n\n