～platformer～　Scratchで一度は見たことのあるプラットフォーマー
@Stage\n\nwhen flag clicked\nforever\n    play sound [natsuyasuminotanken v] until done\nend\n\n@プラフォ\n\nwhen flag clicked\nswitch costume to (主人公 v)\nswitch backdrop to (背景2 v)\ngo to x: (-210) y: (-90)\nshow\nset size to (75) %\nstart sound [シーン切り替え1 v]\ngo to [front v] layer\nshow\nset [x v] to [0]\nset [y v] to [0]\npoint in direction (90)\ngo to x: (-201) y: (152)\ngo to x: (-213) y: (-34)\nforever\n    if <([costume # v] of [タボフィー v]) = [2]> then\n        set rotation style [left-right v]\n        if <<<(mouse x) < (x position)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n            point in direction (-90)\n            change [x2 v] by (-0.8)\n        end\n        if <<<(x position) < (mouse x)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n            point in direction (90)\n            change [x2 v] by (0.8)\n        end\n        set [x2 v] to ((X2) * (0.9))\n        change x by (X2)\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.0)\n                            if <touching (ステージ v)?> then\n                                change x by ((X2) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                    if <(X2) > [0]> then\n                                        set [x2 v] to [-7]\n                                    else\n                                        set [x2 v] to [7]\n                                    end\n                                    set [y2 v] to [15]\n                                else\n                                    set [x2 v] to [0.0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (-1)\n        if <touching (ステージ v)?> then\n            if <<<(y position) < (mouse y)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n                if <touching (バネ v)?> then\n                    start sound [Whiz v]\n                    set [y2 v] to [23]\n                else\n                    start sound [ニュッ2 v]\n                    set [y2 v] to [15]\n                end\n            else\n                if <touching (バネ v)?> then\n                    start sound [Whiz v]\n                    set [y2 v] to [23]\n                end\n            end\n        end\n        change y by (1)\n        change [y2 v] by (-1)\n        change y by (Y2)\n        if <touching (ステージ v)?> then\n            change y by ((Y2) * (-1))\n            set [y2 v] to [0]\n        end\n        if <(x position) > [230]> then\n            go to x: (-201) y: (0)\n            broadcast (あ v) and wait\n            next backdrop\n        end\n        if <<touching (触れちゃダメ v)?> or <(y position) < [-174]>> then\n            set [x v] to [0]\n            set [x2 v] to [0]\n            set [y v] to [0]\n            set [y2 v] to [0]\n            start sound [キャンセル5 v]\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            go to x: (-201) y: (0)\n            repeat (20)\n                change [ghost v] effect by (-5)\n            end\n        end\n        if <<<(mouse y) < (y position)> and <mouse down?>> or <key (down arrow v) pressed?>> then\n            switch costume to (コスチューム2 v)\n        else\n            switch costume to (コスチューム1 v)\n        end\n    end\nend\n\n@ステージ\n\nwhen I receive [あ v]\nnext costume\nif <(costume [number v]) = [14]> then\n    set [あなたのタイム v] to (timer)\n    show variable [あなたのタイム v]\n    show variable [☁ 世界記録 v]\n    if <(あなたのタイム) < (☁ 世界記録)> then\n        set [☁ 世界記録 v] to (あなたのタイム)\n        broadcast (世界記録更新 v)\n    end\nend\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nreset timer\nswitch costume to (コスチューム2 v)\n\n@バネ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [あ v]\nnext costume\n\n@触れちゃダメ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [あ v]\nnext costume\n\n@next\n\nwhen I receive [あ v]\ngo to [front v] layer\nshow\ngo to x: (433) y: (0)\nglide (0.3) secs to x: (10) y: (0)\nglide (1) secs to x: (-10) y: (0)\nglide (0.3) secs to x: (-433) y: (0)\nhide\n\nwhen flag clicked\nhide\n\n@テロップ\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (8) to (18)) seconds\n    set y to (178)\n    show\n    repeat until <(y position) < [150]>\n        change y by ((0) - ((y position) / (80)))\n    end\n    wait (3) seconds\n    repeat until <[177] < (y position)>\n        change y by ((y position) / (80))\n    end\n    hide\nend\n\n@スプライト1\n\nwhen flag clicked\nset [あなたのタイム v] to [0]\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@文字\n\nwhen I receive [あ v]\nnext costume\n\nwhen flag clicked\nswitch costume to (come on, let's move on! v)\n\n@タボフィー\n\nwhen flag clicked\nforever\n    set [turbo v] to [0]\n    wait (0.001) seconds\n    if <[3] < (Turbo)> then\n        go to [front v] layer\n        switch costume to ( v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    change [turbo v] by (1)\nend\n\n
♦English♦　日本語は下です！\n・ I tried to summarize the platformers I have seen at scratch once! ☆& ♡ I'm glad if you get a follow!\n◆Operation method◆\n◇Those who play on PC◇\nUp and left and right keys move\n◇Those who play on mobile◇\nTap on screen Jump\nLeft tap on screen Move to left Screen right tap Move to right\n\n♦日本語♦\n・Scratchで一度は見たことがあるプラットフォーマーをまとめてみました！☆＆♡＆フォローをもらえると嬉しいです！\n◆操作方法◆\n◇PCで遊ばれる方◇\n上と左右キー　移動\n◇モバイルで遊ばれる方◇\n画面上をタップ　ジャンプ\n画面左タップ　左へ移動　画面右タップ　右へ移動