grassland｜platformer 

Instructions: ===================grassland=============== 日本語は下 【English】 This game is controlled by the arrow keys. When you reach the right end of the stage, you can go to the next stage. Repeat this process to move forward. However, if you fall into a hole or hit a needle, you will have to start over from the beginning of the stage you are in. Please be careful. Have fun! I want you to press ♥ and ★. It will encourage me in the future and I am very happy! 【日本語】 このゲームは、矢印キーで操作します。ステージの右端に到達すると、次のステージに行くことができます。これを繰り返すことで先に進むことができます。ただし、穴に落ちたり、針に当たったりすると、今いるステージの最初からやり直しになります。気をつけてくださいね。楽しんでくださいね。♥と★を押してほしい。将来の励みになるし、とても幸せな気持ちになれる。

@Stage\n\nwhen flag clicked\nforever\n    play sound [魔王魂  8bit22 v] until done\nend\n\nwhen I receive [100 v]\nset volume to (100) %\n\nwhen I receive [50 v]\nset volume to (50) %\n\nwhen I receive [0 v]\nset volume to (0) %\n\n@player\n\nwhen flag clicked\nset [動き v] to [!]\nset [x v] to [0]\nset [y v] to [0]\nshow\ngo to x: (-220) y: (-80)\nset size to (100) %\nclear graphic effects\nswitch costume to (player v)\npoint in direction (90)\nset rotation style [left-right v]\nforever\n    if <(動き) = [!]> then\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            change [x v] by (1)\n        end\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            change [x v] by (-1)\n        end\n        set [x v] to ((x) * (0.87))\n        change x by (x)\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 x by ((x) / (-1))\n                            change y by (-4)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <[0] < (x)> then\n                                    set [x v] to [-8]\n                                    start sound (pick random (1) to (2))\n                                else\n                                    set [x v] to [8]\n                                    start sound (pick random (1) to (2))\n                                end\n                                set [y v] to [12]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (-1)\n        if <<touching (地面 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [y v] to ((15) + (+y))\n        end\n        change y by (1)\n        change [y v] by (-1)\n        change y by (y)\n        if <touching (地面 v)?> then\n            change y by ((y) / (-1))\n            set [y v] to [0]\n        end\n        if <(x position) > [240]> then\n            broadcast (次のステージに進む v)\n            go to x: (-220) y: (-80)\n        end\n        if <<touching (トゲ v)?> or <(y position) < [-180]>> then\n            go to x: (-220) y: (-80)\n        end\n    end\n    if <(stage) = [5]> then\n        set [+y v] to [20]\n    else\n        set [+y v] to [0]\n    end\nend\n\nwhen I receive [次のステージに進む v]\nset [動き v] to [?]\nwait (3) seconds\nset [動き v] to [!]\n\nchange [+y v] by (1)\n\nwhen flag clicked\nforever\n    if <<touching (地面 v)?> and <key (space v) pressed?>> then\n        set [y v] to [10]\n    end\nend\n\nwhen I receive [outro v]\nhide\n\n@地面\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nset [stage v] to [1]\nswitch costume to (1 v)\n\nwhen I receive [次のステージに進む v]\nchange [stage v] by (1)\nnext costume\n\nwhen I receive [outro v]\nhide\n\n@トゲ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nshow\n\nwhen I receive [次のステージに進む v]\nnext costume\n\nwhen I receive [outro v]\nhide\n\n@文字\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (1 v)\n\nwhen I receive [次のステージに進む v]\nnext costume\n\nwhen I receive [outro v]\nhide\n\n@Next!\n\nwhen I receive [次のステージに進む v]\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 [outro v]\nhide\n\n@スプライト1\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        broadcast (100 v)\n    end\n    if <(costume [number v]) = [2]> then\n        broadcast (50 v)\n    end\n    if <(costume [number v]) = [3]> then\n        broadcast (0 v)\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen I receive [outro v]\nhide\n\n@サムネ君\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\n@logo\n\nwhen I start as a clone\nshow\nif <(costume [number v]) < [1.9]> then\n    delete this clone\nend\nif <(costume [number v]) < [4.9]> then\n    switch costume to (pick random (2) to (4))\n    go to [front v] layer\n    set [color v] effect to (pick random (0) to (200))\n    set [logo: yv v] to (pick random (0) to (25))\n    set [xv v] to (pick random (-30) to (30))\n    repeat until <<(y position) < [-179]> or <[239] < ([abs v] of (x position) )>>\n        change [logo: yv v] by (-2)\n        set [xv v] to ((xv) * (0.95))\n        turn right ((xv) * (-3)) degrees\n        change x by (xv)\n        change y by (logo: yv)\n    end\n    delete this clone\nelse\n    if <(costume [number v]) < [6.9]> then\n        go to x: (0) y: (0)\n        go to [back v] layer\n        go [forward v] (1) layers\n        switch costume to (コスチューム8 v)\n        set size to (250) %\n        set [color v] effect to (0)\n        set [ghost v] effect to (50)\n        switch costume to (コスチューム5 v)\n        forever\n            turn right (5) degrees\n        end\n    else\n        set size to (100) %\n        if <(costume [number v]) < [7.9]> then\n            go to x: (115) y: (80)\n            forever\n                if <(([sin v] of ((timer) * (150)) ) * (150)) < [0]> then\n                    change x by (((115) - (x position)) / (3))\n                else\n                    if <[0] < (([sin v] of ((timer) * (150)) ) * (150))> then\n                        change x by (((-115) - (x position)) / (3))\n                    end\n                end\n            end\n        else\n            if <(costume [number v]) < [8.9]> then\n                go to x: (115) y: (-80)\n                forever\n                    if <(([sin v] of ((timer) * (150)) ) * (150)) < [0]> then\n                        change x by (((115) - (x position)) / (3))\n                    else\n                        if <[0] < (([sin v] of ((timer) * (150)) ) * (150))> then\n                            change x by (((-115) - (x position)) / (3))\n                        end\n                    end\n                end\n            else\n                if <(costume [number v]) < [9.9]> then\n                    go to [back v] layer\n                    point in direction (90)\n                    go to x: (0) y: (0)\n                    switch costume to (コスチューム8 v)\n                    set size to (1500) %\n                    switch costume to (コスチューム9 v)\n                    repeat (15)\n                        switch costume to (コスチューム8 v)\n                        change size by (((50) - (size)) / (5))\n                        switch costume to (コスチューム9 v)\n                    end\n                    broadcast (??? v)\n                    wait (0.5) seconds\n                    broadcast (ok v)\n                else\n                    if <(costume [number v]) < [10.9]> then\n                        go to [back v] layer\n                        forever\n                            show\n                            set size to (100) %\n                            point in direction (90)\n                            switch costume to (コスチューム10 v)\n                            go to x: (0) y: (0)\n                        end\n                    else\n                        if <(costume [number v]) < [11.9]> then\n                            go to [front v] layer\n                            show\n                            set size to (100) %\n                            point in direction (90)\n                            switch costume to (コスチューム11 v)\n                            go to x: (0) y: (100)\n                            forever\n                                point in direction ((([sin v] of ((timer) * (150)) ) * (8)) + (90))\n                                if <[0] < (([cos v] of ((timer) * (150)) ) * (100))> then\n                                    change y by (((-120) - (y position)) / (8))\n                                else\n                                    change y by (((120) - (y position)) / (8))\n                                end\n                            end\n                        else\n                            if <(costume [number v]) < [12.9]> then\n                                go to [front v] layer\n                                go to x: (15) y: (-138)\n                                forever\n                                    point in direction ((([sin v] of ((timer) * (150)) ) * (8)) + (90))\n                                end\n                            else\n                                if <(costume [number v]) < [13.9]> then\n                                    set [ghost v] effect to (90)\n                                    go to [front v] layer\n                                    go [backward v] (1) layers\n                                    go to x: (15) y: (-138)\n                                    forever\n                                        point in direction ((([sin v] of ((timer) * (150)) ) * (8)) + (90))\n                                    end\n                                else\n                                    go to [back v] layer\n                                    go [forward v] (4) layers\n                                    forever\n                                        switch costume to (コスチューム14 v)\n                                        set [ghost v] effect to (90)\n                                        set size to (pick random (70) to (130)) %\n                                        go to x: (pick random (-240) to (240)) y: (pick random (-50) to (-180))\n                                        repeat until <[179] < (y position)>\n                                            change y by ((size) / (15))\n                                            change [ghost v] effect by (-2)\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nset y to (-91)\n\nwhen I receive [ok v]\nwait (1) seconds\nオラァ [15]\nshow\nぶちまけ [15]\npoint in direction (90)\ngo to x: (0) y: (0)\nset size to (100) %\nset [ghost v] effect to (0)\nswitch costume to (コスチューム12 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム13 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム11 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム7 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム10 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム6 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム5 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム1 v)\nset size to (100) %\nforever\n    switch costume to (コスチューム1 v)\n    point in direction ((([tan v] of ((timer) * (100)) ) * (6)) + (90))\n    set x to (([sin v] of ((timer) * (150)) ) * (150))\n    set y to (([cos v] of ((timer) * (150)) ) * (100))\n    set [expansion rate v] to (([sin v] of ((timer) * (150)) ) * (10))\n    if <[145] < ((([tan v] of ((timer) * (100)) ) * (6)) + (90))> then\n        ぶちまけ [12]\n    end\nend\n\nwhen I receive [outro v]\nstart sound [Disconnect v]\nswitch costume to (コスチューム9 v)\ncreate clone of (_myself_ v)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [ok v]\nwait (1) seconds\nset volume to (100) %\nplay sound [Spitfya x Desembra - Cut The Check\[cut\] v] until done\nforever\n    play sound [Spitfya x Desembra - Cut The Check v] until done\nend\n\ndelete this clone\n\ngo to x: (0) y: (0)\n\ndefine ぶちまけ (n)\nrepeat (n)\n    switch costume to (pick random (2) to (4))\n    create clone of (_myself_ v)\n    switch costume to (コスチューム1 v)\nend\n\nwhen I receive [??? v]\nswitch costume to (コスチューム10 v)\ncreate clone of (_myself_ v)\n\nset x to ((x position) * (((100) + (Expansion rate)) / (100)))\nset y to ((y position) * (((100) + (Expansion rate)) / (100)))\n\nwhen I receive [ok v]\n\nwhen flag clicked\n\ndefine オラァ (n)\nrepeat (n)\n    switch costume to (コスチューム14 v)\n    create clone of (_myself_ v)\nend\n\nwhen [timer v] > (0.01)\nhide\nwait (1) seconds\nbroadcast (outro v)\n\nwhen flag clicked\nforever\n    reset timer\nend\n\n