platformer 16 モバイル対応！

Instructions: 2出た！\nhttps://scratch.mit.edu/projects/679102719/\n\n傾向１位ありがとう！\n\n・もっと星とハートをくれえええ！\nBANも近いと思います…早めに遊んで…\n☝︎報告乱用のせいです…\n・English is below!・\n\n「日本語」(Japanese)\nモバイル対応です！\n⚠️拡散して！⚠️\n⚠️ここ読んでからコメントして⚠️\n\n・スマホ版\nプレイヤー（自分）の動きたい方向をタップしてもらうと、その方向に動くと思います！\n動かなかったらコメント欄まで！\n\n・PC版\n矢印キーで動かすことができます！\nSキーでリスポーンできます！\n☝︎書いてなくてごめんなさい…\n\n全部で16ステージと盛りだくさん！\nうまくプレイヤーを動かして、ゴールの旗までたどり着け！\nタイムは最後にプレイヤーが教えてくれるぞ！\n☝︎なんか教えてくれないバグもたまに発生するみたいです…旗二回押し必須！\nきみのタイムは、是非コメントランで教えてください！\nイントロ消しました！\n@massyuruumu1 ☜Follow! Follow!\n\n「English」\n\nI think BAN is also close ... Play early ...\n ☝︎ It's because of report abuse ...\n\n "Japanese" (Japanese)\n Mobile compatible!\n ⚠️ Spread!  ⚠️\n ⚠️ Read here and then comment ⚠️\n\n ·Smartphone version\n If you tap the direction you want the player (yourself) to move, I think it will move in that direction!\n If it doesn't work, go to the comment section!\n\n ・ PC version\n You can move it with the arrow keys!\n You can respawn with the S key!\n ☝︎ I'm sorry I didn't write ...\n\n There are 16 stages in all!\n Move the player well and reach the goal flag!\n The player will tell you the time at the end!\n ☝︎ It seems that there are occasional bugs that don't tell you something ... You must press the flag twice!\n Please let us know your time in the comment run!\n I erased the intro!\n @ massyuruumu1 ☜ Follow! Follow!

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen flag clicked\nset volume to (50) %\nforever\n    play sound [Guitar Chords1 v] until done\nend\n\n@E\n\nwhen flag clicked\nerase all\nswitch costume to (コスチューム1 v)\n\nforever\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        wait (0.01) seconds\n        next costume\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        wait (0.01) seconds\n        next costume\n    end\nend\n\nwhen flag clicked\nif <key (down arrow v) pressed?> then\n    switch costume to (主人公2 v)\nelse\n    switch costume to (主人公1 v)\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n初期化\n\nwhen flag clicked\nreset timer\nforever\n    if <touching color (#00f2ff)?> then\n        初期化\n        change [落ちた数 v] by (1)\n    end\nend\n\nwhen flag clicked\nrepeat until <(backdrop [number v]) = [16]>\n\ndefine 初期化\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-210) y: (30)\nswitch costume to (主人公1 v)\n\nwait (0.1) seconds\n\nwhen I receive [開始 v]\nshow\nhide variable [x v]\nhide variable [y v]\n初期化\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    change x by (X)\n    set [x v] to ((X) * (0.9))\n    if <touching color (#ff0000)?> then\n        change y by (6)\n    end\n    if <touching color (#ff0000)?> then\n        change y by (-6)\n        change x by ((X) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [y v] to [15]\n            if <(X) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    if <<touching color (#ff8800)?> or <touching color (#949494)?>> then\n        初期化\n    end\n    change y by (Y)\n    if <touching color (#ff0000)?> then\n        change y by (() - (Y))\n        set [y v] to [0]\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [y v] to [15]\n        end\n    end\n    if <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < [0]>>> then\n        switch costume to (主人公2 v)\n    else\n        switch costume to (主人公1 v)\n    end\n    if <key (s v) pressed?> then\n        初期化\n    end\nend\n\nwhen I receive [記録なしだった… v]\nforever\n    if <(backdrop [number v]) = [16]> then\n        say [記録なし…]\n    end\nend\n\nwhen I receive [記録を言って！ v]\nsay (Time)\nshow variable [タイム v]\n\nwhen I receive [次だよ！ v]\n初期化\n\nwhen flag clicked\nforever\n    if <<touching color (#9e9e9e)?> or <touching color (#00f8ff)?>> then\n        初期化\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\npoint in direction (0)\nglide (1) secs to x: (209) y: (152)\n\nwhen I receive [開始 v]\nrepeat until <(backdrop [number v]) = [16]>\n    turn right (10) degrees\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [16]> then\n        hide\n    end\nend\n\nwhen this sprite clicked\nnext backdrop\nforever\n    set [タイム v] to [なし]\n    broadcast (記録なしだった… v)\nend\n\nwhen flag clicked\nforever\n    hide\nend\n\n@記録管理\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [16]> then\n        if <(タイム) < [クラウドタイム]> then\n            set [タイム v] to (タイム)\n            if <(タイム) = [記録なしだった…]> then\n                set [タイム v] to [x]\n            end\n        end\n    end\nend\n\nwhen I receive [開始 v]\nset [タイム v] to [0]\nrepeat until <(backdrop [number v]) = [16]>\n    change [タイム v] by (1)\n    wait (1) seconds\n    if <(backdrop [number v]) = [16]> then\n        broadcast (記録を言う v)\n    end\nend\n\n@サムネ\n\nwhen flag clicked\nshow\nwait (0.5) seconds\nbroadcast (開始 v)\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    hide variable [タイム v]\nend\n\n@緑の旗\n\nwhen I receive [開始 v]\nhide\ngo to x: (203) y: (-103)\nreset timer\nshow\nforever\n    if <touching (プレイヤー v)?> then\n        broadcast (次だよ！ v)\n        next backdrop\n    end\n    if <(backdrop [number v]) = [16]> then\n        hide\n    end\nend\n\nwhen flag clicked\ngo to x: (210) y: (-78)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (e v)?> then\n        broadcast (次だよ！ v)\n        next backdrop\n        初期化\n    end\nend\n\n@nextボタン\n\nwhen flag clicked\npoint in direction (0)\nglide (1) secs to x: (209) y: (152)\n\nwhen this sprite clicked\nnext backdrop\nforever\n    set [time v] to [なし]\n    broadcast (記録なしだった… v)\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [16]> then\n        hide\n    end\nend\n\nwhen I receive [開始 v]\nrepeat until <(backdrop [number v]) = [16]>\n    turn right (10) degrees\nend\n\n@記録感知器\n\nwhen flag clicked\nhide\n\nwhen I receive [開始 v]\nset [time v] to [0]\nrepeat until <(backdrop [number v]) = [16]>\n    change [time v] by (1)\n    wait (1) seconds\n    if <(backdrop [number v]) = [16]> then\n        broadcast (記録を言って！ v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [16]> then\n        if <(Time) < (☁ Time)> then\n            set [☁ time v] to (Time)\n            if <(Time) = [記録なしだった…]> then\n                set [☁ time v] to [x]\n            end\n        end\n    end\nend\n\n@Next!\n\nwhen I receive [次！ v]\nset [color v] effect to (pick random (-250) to (250))\nhide\nstart sound [High Whoosh v]\nclone [1]\nwait (0.05) seconds\nclone [2]\nwait (0.05) seconds\nclone [3]\nwait (0.05) seconds\nclone [4]\nwait (0.05) seconds\nclone [5]\n\ndefine clone (cloneid)\nswitch costume to (cloneid)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <<(costume [number v]) = [3]> or <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>>>>> then\n    go to x: (468) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    wait (2.2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    wait (2.1) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [3]> then\n    wait (2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [4]> then\n    wait (1.9) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [5]> then\n    wait (1.8) seconds\n    repeat until <[330] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\n\nwhen I receive [次 v]\nshow\nwait (0.5) seconds\n\nhide\n\nwhen flag clicked\ngo to x: (-2) y: (-3)\nhide\n\nwhen flag clicked\ngo to x: (-2) y: (-3)\nhide\n\n@next2\n\nwhen flag clicked\ngo to x: (16) y: (15)\nhide\n\nwhen I receive [次だよ！ v]\nshow\nwait (0.5) seconds\nhide\n\n@next\n\nwhen flag clicked\ngo to x: (-2) y: (-3)\nhide\n\nwhen I receive [次 v]\nshow\nwait (0.5) seconds\nhide\n\n@素材　マーク\n\nwhen flag clicked\nhide\nset size to (50) %\ngo to x: (170) y: (156)\nswitch costume to (♡ v)\nset [ghost v] effect to (100)\n\nwhen I receive [8 v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen I receive [9 v]\nnext costume\n\nwhen I receive [メッセージ1 v]\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [7 v]\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [6 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [5 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [2 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    wait (pick random (1) to (40)) seconds\n    show\n    play sound [ポップ v] until done\nend\n\n@針素材\n\nwhen flag clicked\nforever\n    hide\nend\n\n