Flower World Platformer

Instructions: Operate with the arrow keys. Jump up key Go right key Left key It is mobile compatible. ❤ & ⭐ please\n\n\n矢印キーで操作です。\nジャンプ　上向きキー\n右へ行く　右向きキー\n左へ行く　左向きキー\nモバイル対応です。\n❤&⭐をお願いします。

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景2 v)\n\nwhen I receive [スタート v]\nswitch backdrop to (背景1 v)\n\n@普通の\n\nwhen flag clicked\nshow\ngo to x: (13) y: (-40)\npoint in direction (90)\nset size to (0) %\nset [動き3 v] to [0]\npoint in direction (90)\nset size to (0) %\nrepeat (46)\n    set [動き3 v] to (((動き3) * (0.75)) + (((50) - (size)) * (0.3)))\n    change size by (動き3)\nend\n\nwhen this sprite clicked\nbroadcast (一般表示 v)\nbroadcast (スタート v)\ngo to [front v] layer\nshow\nset size to (35) %\nswitch costume to (pick random (1) to (6))\nset drag mode [not draggable v]\ngo [backward v] (1) layers\ngo to x: (-190) y: (50)\npoint in direction (90)\nforever\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        change [ⅹ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        change [ⅹ v] by (1)\n        point in direction (90)\n    end\n    set [ⅹ v] to ((ⅹ) * (0.9))\n    change x by (ⅹ)\n    if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n        change y by (1)\n        if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n            change y by (1)\n            if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n                change y by (1)\n                if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n                            change x by ((ⅹ) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                if <(ⅹ) > [0]> then\n                                    set [ⅹ v] to [-7]\n                                else\n                                    set [ⅹ v] to [7]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [ⅹ 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 (地面 v)?> and <not <<touching color (#ff0000)?> or <touching color (#940000)?>>>> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            set [y v] to [15]\n            start sound [Jump v]\n            point in direction ((y) * (0.5))\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <<touching (地面 v)?> and <not <<touching color (#940000)?> or <touching color (#ff0000)?>>>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    hide variable [ⅹ v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n        set [y v] to [0]\n        set [ⅹ v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <(y position) < [-170]> then\n        set [ⅹ v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <<touching color (#ff0000)?> or <touching (地面 v)?>> then\n        set [ⅹ v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <touching color (#0046ff)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen I receive [www表示 v]\nhide\n\nwhen I receive [○表示 v]\nhide\n\n@ryo1123の\n\nwhen flag clicked\nshow\ngo to x: (114) y: (-40)\npoint in direction (90)\nset size to (0) %\nset [動き v] to [0]\npoint in direction (90)\nset size to (0) %\nrepeat (46)\n    set [動き v] to (((動き) * (0.75)) + (((50) - (size)) * (0.3)))\n    change size by (動き)\nend\n\nwhen this sprite clicked\nbroadcast (www表示 v)\nbroadcast (スタート v)\ngo to [front v] layer\nshow\nset size to (35) %\nswitch costume to (pick random (1) to (6))\nset drag mode [not draggable v]\ngo [backward v] (1) layers\ngo to x: (-190) y: (50)\npoint in direction (90)\nforever\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        change [ⅹ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        change [ⅹ v] by (1)\n        point in direction (90)\n    end\n    set [ⅹ v] to ((ⅹ) * (0.9))\n    change x by (ⅹ)\n    if <<touching (地面 v)?> and <not <<touching color (#ff0000)?> or <touching color (#940000)?>>>> then\n        change y by (1)\n        if <<touching (地面 v)?> and <not <<touching color (#ff0000)?> or <touching color (#940000)?>>>> then\n            change y by (1)\n            if <<touching (地面 v)?> and <not <<touching color (#ff0000)?> or <touching color (#940000)?>>>> then\n                change y by (1)\n                if <<touching (地面 v)?> and <not <<touching color (#ff0000)?> or <touching color (#940000)?>>>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> and <not <<touching color (#ff0000)?> or <touching color (#940000)?>>>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> and <not <<touching color (#ff0000)?> or <touching color (#940000)?>>>> then\n                            change x by ((ⅹ) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                if <(ⅹ) > [0]> then\n                                    set [ⅹ v] to [-7]\n                                else\n                                    set [ⅹ v] to [7]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [ⅹ 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 (地面 v)?> and <not <<touching color (#ff0000)?> or <touching color (#940000)?>>>> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            set [y v] to [15]\n            start sound [Jump v]\n            point in direction ((y) * (0.5))\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <<touching (地面 v)?> and <not <<touching color (#940000)?> or <touching color (#ff0000)?>>>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    hide variable [ⅹ v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n        set [y v] to [0]\n        set [ⅹ v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <(y position) < [-170]> then\n        set [ⅹ v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <<touching color (#ff0000)?> or <touching (地面 v)?>> then\n        set [ⅹ v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <touching color (#0046ff)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen I receive [○表示 v]\nhide\n\nwhen I receive [一般表示 v]\nhide\n\n@daijikesiさんの\n\nwhen flag clicked\nshow\ngo to x: (-83) y: (-40)\nset [動き v] to [0]\npoint in direction (90)\nset size to (0) %\nrepeat (46)\n    set [動き v] to (((動き) * (0.75)) + (((50) - (size)) * (0.3)))\n    change size by (動き)\nend\n\nwhen this sprite clicked\nbroadcast (○表示 v)\nbroadcast (スタート v)\ngo to [front v] layer\nshow\nset size to (35) %\nswitch costume to (pick random (1) to (6))\nset drag mode [not draggable v]\ngo [backward v] (1) layers\ngo to x: (-190) y: (50)\npoint in direction (90)\nforever\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        change [ⅹ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        change [ⅹ v] by (1)\n        point in direction (90)\n    end\n    set [ⅹ v] to ((ⅹ) * (0.9))\n    change x by (ⅹ)\n    if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n        change y by (1)\n        if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n            change y by (1)\n            if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n                change y by (1)\n                if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> and <not <<touching color (#fc0000)?> or <touching color (#940000)?>>>> then\n                            change x by ((ⅹ) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                if <(ⅹ) > [0]> then\n                                    set [ⅹ v] to [-7]\n                                else\n                                    set [ⅹ v] to [7]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [ⅹ 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 (地面 v)?> and <not <<touching color (#940000)?> or <touching color (#ff0000)?>>>> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            set [y v] to [15]\n            start sound [Jump v]\n            point in direction ((y) * (0.5))\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <<touching (地面 v)?> and <not <touching color (#ff0000)?>>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    hide variable [ⅹ v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n        set [y v] to [0]\n        set [ⅹ v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <(y position) < [-170]> then\n        set [ⅹ v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <<touching color (#ff0000)?> or <touching (地面 v)?>> then\n        set [ⅹ v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <touching color (#0046ff)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen I receive [www表示 v]\nhide\n\nwhen I receive [一般表示 v]\nhide\n\n@地面\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nswitch costume to (1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@5\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nswitch costume to (1 v)\nshow\nforever\n    go to [back v] layer\nend\n\nwhen I receive [next level v]\nnext costume\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\n