NEW Platformer!　プラットフォーマーVel.0.03

Instructions: English↓\n続編です！\n前：　https://scratch.mit.edu/projects/610968154/\n前の前：　https://scratch.mit.edu/projects/589175077\n矢印キー操作またはWASD\n星とハートを押してくれると嬉しいです！(上のやつも)\nIt's a sequel! Before: https://scratch.mit.edu/projects/610968154/ Before before: https://scratch.mit.edu/projects/589175077\n I'd be happy if you could operate the arrow keys or press the WASD star and heart!\n

@Stage\n\nwhen flag clicked\nforever\n    play sound [Starship v] until done\nend\n\n@Player\n\nwhen flag clicked\nhide variable [☁ 世界新記録　world record v]\nhide variable [☁ あなたの記録　your record v]\nbroadcast (あああああ v)\nswitch costume to (costume1 v)\nshow\nforever\n    set [x v] to [0]\n    set [y v] to [0]\n    set [jump v] to [0]\n    go to x: (-210) y: (-55)\n    repeat until <<(x position) > [240]> or <touching (danger v)?>>\n        change [x v] by (<<<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> or <key (d v) pressed?>> - <<<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> or <key (a v) pressed?>>)\n        set [x v] to ((X) * (0.9))\n        create clone of (_myself_ v)\n        change x by (round (X))\n        if <touching (platform v)?> then\n            change x by (round ((X) * (-1)))\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                if <(X) > [0]> then\n                    set [x v] to [-8]\n                else\n                    set [x v] to [8]\n                end\n                set [jump v] to [0]\n            else\n                set [x v] to [0]\n            end\n        end\n        change [y v] by (-1)\n        change y by (Y)\n        if <touching (platform v)?> then\n            change y by ((Y) * (-1))\n            if <(Y) < [0]> then\n                set [jump v] to [0]\n            end\n            set [y v] to [0]\n        end\n        if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n            if <(Jump) = [0]> then\n                set [y v] to [15]\n                set [jump v] to [1]\n            end\n        end\n    end\n    if <(x position) > [240]> then\n        broadcast (Next Level v)\n    end\nend\n\nhide\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nrepeat (10)\n    change size by (-9)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwait (10) seconds\n\nwhen flag clicked\nforever\n    if <touching (speed right v)?> then\n        change [x v] by (5)\n    end\nend\n\n\n\nset [x v] to [0]\n\nwhen flag clicked\nforever\n    if <touching (speed left v)?> then\n        change [x v] by (-00.9)\n    end\nend\n\nmove (10) steps\n\nwhen flag clicked\nreset timer\nforever\n\nset [jump v] to [0]\n\nwhen I receive [あああああ v]\n\n\n\nset [☁ 世界新記録　world record v] to [0]\n\nwhen I receive [s v]\nhide\n\nwhen flag clicked\nforever\n    if <(y position) < [-175]> then\n        go to x: (-221) y: (-7)\n    end\nend\n\nwhen I receive [クリア v]\nhide\n\n@Platform\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo to x: (-3) y: (-29)\npoint in direction (90)\nshow\nswitch costume to (コスチューム13 v)\nhide\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [12]> then\n        broadcast (クリア v)\n    end\nend\n\nwhen I receive [あああああ v]\nshow\n\ngo to x: (0) y: (0)\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (-12) y: (4)\nset size to (100) %\nset [太陽の変数 v] to [100]\nforever\n    change size by ([cos v] of (太陽の変数) )\n    change [太陽の変数 v] by (7)\nend\n\n@Danger\n\nwhen flag clicked\nswitch costume to (コスチューム12 v)\npoint in direction (90)\ngo to x: (57) y: (-82)\nshow\n\nwhen I receive [next level v]\nnext costume\n\ngo to x: (57) y: (-82)\n\nwhen I receive [あああああ v]\n\nshow\n\nhide\n\n@Love and fave reminder\n\nwhen I receive [intro v]\n\nwhen flag clicked\nhide\ngo to x: (-6) y: (105)\n\nwhen flag clicked\nforever\n    wait (pick random (5) to (10)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (105)\n    show\n    go to [front v] layer\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\nhide\n\ngo to [front v] layer\n\n@スプライト2\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    reset timer\n    hide\nend\n\nwhen [timer v] > (0)\ngo to [front v] layer\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nshow\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\n