Fall || -A platformer- 

Instructions: ＜English＞\nIt is a platformer made with the image of"fall".\nSquat by pressing the down arrow key.\nBlue is the jump stand  and yellow is the reinforced version of the jump stand .\nIf you enjoyed yourself even for a little bit, it makes me happy!(This game can also be played on your smartphone.)\n\n＜日本語＞\n～このゲームについて～\n「秋」をイメージして作ったプラットフォーマーです。秋の要素が盛り沢山あります!(このゲームはスマホでもプレイできます。)\n\n～操作方法～\n右へ移動・・・右矢印キーorDキー\n左へ移動・・・左矢印キーorAキー\nジャンプ・・・上矢印キーorWキー\nしゃがむ・・・下矢印キーorSキー\n\n～ブロックの色と種類～\n水色・・・地面や壁\n赤色・・・障害物\n青色・・・バネ\n黄色・・・バネの強化版\n\nもしこのゲームが少しでも面白いと思って頂けたのであれば、☆と♡をポチッとよろしくお願いします(^^♪後出来ればフォローもお願いしまs(((殴\n\n※この季節系プラットフォーマーは冬バージョンも出すのでお楽しみに!\n\n※春バージョンはこちらから!\nhttps://scratch.mit.edu/projects/466589829\n\n※夏バージョンはこちらから!\nhttps://scratch.mit.edu/projects/473094093\n\n※冬バージョンはこちらから!\nhttps://scratch.mit.edu/projects/482067480

@Stage\n\nwhen flag clicked\nset volume to (60) %\nforever\n    play sound [akiurara v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (秋 v)\n\n@キャラクター\n\nwhen flag clicked\ngo to x: (-186) y: (13)\nset rotation style [left-right v]\ngo to [front v] layer\nset size to (52) %\npoint in direction (90)\nshow\nhide variable [判定1 v]\nhide variable [x v]\nhide variable [y v]\nset [判定1 v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (0.8)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x v] by (-0.8)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.92))\n    change x by (x)\n    if <touching color (#ffa300)?> then\n        change y by (1)\n        if <touching color (#ffa300)?> then\n            change y by (1)\n            if <touching color (#ffa300)?> then\n                change y by (1)\n                if <touching color (#ffa300)?> then\n                    change y by (1)\n                    if <touching color (#ffa300)?> then\n                        change y by (1)\n                        if <touching color (#ffa300)?> then\n                            change y by (1)\n                            if <touching color (#ffa300)?> then\n                                change x by ((0) - (x))\n                                change y by (-5)\n                                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                    if <[0] < (x)> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                    set [y v] to [15]\n                                else\n                                    set [x v] to [0]\n                                end\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 color (#ffa300)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching color (#ffa300)?>> then\n        start sound [nyu2 v]\n        set [y v] to [17]\n    end\n    change y by (1)\n    if <<<touching color (#ff0000)?> or <[-170] > (y position)>> or <touching (どんぐり v)?>> then\n        set [x v] to [0]\n        set [y v] to [0]\n        set rotation style [left-right v]\n        start sound [Crunch v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-186) y: (13)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\n    if <(x position) > [240]> then\n        broadcast (次のステージ v)\n        go to x: (-186) y: (13)\n    end\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n        switch costume to (キャラクター「しゃがむ」 v)\n    else\n        switch costume to (キャラクター「普通」 v)\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait (0.03) seconds\nend\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (-3.7)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching color (#2a00ff)?> then\n        set [y v] to [17]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#e8ff00)?> then\n        set [y v] to [25]\n    end\nend\n\n@ステージ\n\nwhen flag clicked\ngo to x: (0) y: (-5)\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [次のステージ v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        set [判定1 v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [6]> then\n        set [判定1 v] to [2]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [7]> then\n        set [判定1 v] to [3]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        set [判定1 v] to [4]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\n        set [判定1 v] to [5]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        set [判定1 v] to [6]\n    end\nend\n\n@紅葉\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (0.15) seconds\nend\n\nwhen I start as a clone\ngo to x: (pick random (-200) to (200)) y: (155)\nswitch costume to (pick random (1) to (5))\nset size to (pick random (20) to (30)) %\nshow\nrepeat until <<touching (ステージ v)?> or <touching (_edge_ v)?>>\n    turn right ((size) + (pick random (1) to (5))) degrees\n    change y by (pick random (-5) to (-10))\nend\ndelete this clone\n\n@どんぐり\n\nwhen flag clicked\nset size to (20) %\nhide\n\nwhen flag clicked\nforever\n    if <(判定1) = [1]> then\n        show\n        go to x: (6) y: (-120)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(判定1) = [2]> then\n        show\n        go to x: (-2) y: (-40)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(判定1) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(判定1) = [4]> then\n        show\n        go to x: (-50) y: (32)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(判定1) = [5]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(判定1) = [6]> then\n        hide\n    end\nend\n\n@サムネ用1\n\nwhen flag clicked\nforever\n    hide\nend\n\n@サムネ用2\n\nwhen flag clicked\nforever\n    hide\nend\n\n