The Grassland Adventure - A Platformer (Mobile Friendly) #games #all
@Stage\n\nwhen I receive [start v]\nset volume to (75) %\nforever\n    play sound [Jim Yosef - Firefly \[NCS Release\] v] until done\nend\n\n@Game Background\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [back v] layer\nshow\nforever\n    if <<(Level) > [11]> and <(Level) < [17]>> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\n@Player\n\ndefine Jump\nchange y by (-1)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > [0]> and <mouse down?>>> and <<<touching (levels v)?> or <touching (key locks v)?>> or <<touching (button blocks v)?> and <(Button Block Status) = [1]>>>> then\n    set [yv v] to [13]\n    set [jump v] to [1]\nend\nchange y by (1)\n\nwhen flag clicked\ngo to x: (-180) y: (0)\nhide\nset size to (70) %\ngo to [front v] layer\ngo [backward v] (1) layers\n\ndefine Touch Ground\nif <(Yv) > [0]> then\n    repeat until <<<not <touching (levels v)?>> and <not <touching (key locks v)?>>> and <not <<touching (button blocks v)?> and <(Button Block Status) = [1]>>>>\n        change y by (-1)\n        set [yv v] to [0]\n    end\nelse\n    repeat until <<<not <touching (levels v)?>> and <not <touching (key locks v)?>>> and <not <<touching (button blocks v)?> and <(Button Block Status) = [1]>>>>\n        change y by (1)\n        set [yv v] to [0]\n        set [in air v] to [0]\n        set [jump v] to [0]\n    end\nend\nif <<<(in air) > [0]> and <(in air) < [10]>> and <(Yv) < [0]>> then\n    set [jump v] to [1]\nend\nJump\n\ndefine Touch Wall\nrepeat (10)\n    if <<<touching (levels v)?> or <touching (key locks v)?>> or <<touching (button blocks v)?> and <(Button Block Status) = [1]>>> then\n        change y by (1)\n    end\nend\nif <<<touching (levels v)?> or <touching (key locks v)?>> or <<touching (button blocks v)?> and <(Button Block Status) = [1]>>> then\n    change x by ((round (my variable)) * (-1))\n    change y by (-10)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > [0]> and <mouse down?>>> then\n        if <(my variable) > [0]> then\n            set [my variable v] to [-8]\n        else\n            set [my variable v] to [8]\n        end\n        set [yv v] to [11]\n    else\n        set [my variable v] to [0]\n    end\nend\n\ndefine Reset\ngo to x: (-180) y: (-30)\nset size to (175) %\nset [my variable v] to [0]\nset [yv v] to [0]\nset [jump v] to [0]\nset [in air v] to <<<touching (levels v)?> or <touching (key locks v)?>> or <<touching (button blocks v)?> and <(Button Block Status) = [1]>>>\nset [yv v] to [0]\n\ndefine Set Costume\nswitch costume to (front v)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > [0]> and <mouse down?>>> then\n    switch costume to (up v)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<(mouse x) > [0]> and <mouse down?>> and <not <<(mouse y) > [0]> and <mouse down?>>>>> then\n    switch costume to (right v)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<[0] > (mouse x)> and <mouse down?>> and <not <<(mouse y) > [0]> and <mouse down?>>>>> then\n    switch costume to (left v)\nend\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (right arrow v) pressed?> or <key (d v) pressed?>>> or <<<(mouse y) > [0]> and <mouse down?>> and <<(mouse x) > [0]> and <mouse down?>>>> then\n    switch costume to (up right v)\nend\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>> or <<<(mouse y) > [0]> and <mouse down?>> and <<[0] > (mouse x)> and <mouse down?>>>> then\n    switch costume to (up left v)\nend\n\ndefine Detect\nif <touching (danger v)?> then\n    Death Sound\n    broadcast (Reset v)\n    Reset\nend\nif <<(y position) < [-175]> and <not <(Level) = [11]>>> then\n    Death Sound\n    broadcast (Reset v)\n    Reset\nend\nif <(x position) > [240]> then\n    start sound [Coin v]\n    Reset\n    broadcast (Next Level v)\nend\nif <<(y position) < [-175]> and <(Level) = [11]>> then\n    start sound [Coin v]\n    Reset\n    broadcast (Next Level v)\nend\n\nwhen I receive [time v]\nif <(Skipped?) = [No]> then\n    say (join [Your score is ] (join (Timer) [ seconds.]))\nelse\n    if <(Skipped?) = [Yes]> then\n        say (join [Your score is ] (join (Timer) [ seconds. \(With Skips\)]))\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        Death Sound\n        broadcast (Reset v)\n        Reset\n        wait until <not <key (r v) pressed?>>\n    end\nend\n\ndefine Death Sound\nstart sound [Restart v]\n\n\n\nwhen I receive [start v]\nshow\nReset\nforever\n    broadcast (Game On v)\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > [0]> and <mouse down?>>> then\n        change [my variable v] by (1.6)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<[0] > (mouse x)> and <mouse down?>>> then\n        change [my variable v] by (-1.6)\n    end\n    set [my variable v] to ((my variable) * (0.8))\n    change x by (round (my variable))\n    Touch Wall\n    change [yv v] by (-1)\n    change [in air v] by (1)\n    change y by (Yv)\n    Touch Ground\n    Detect\n    Set Costume\nend\n\nset y to (-62)\n\nbroadcast (Reset v)\n\nwhen I receive [skip v]\nReset\n\n@Player Trail\n\nwhen flag clicked\ngo to (player v)\nhide\nset size to (175) %\nset [effectslayers v] to [3]\ndelete this clone\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (EffectsLayers) layers\nshow\nclear graphic effects\nset [ghost v] effect to (20)\nrepeat (10)\n    change [ghost v] effect by (8)\nend\nhide\ndelete this clone\n\nwhen I receive [start v]\nforever\n    go to (player v)\n    create clone of (_myself_ v)\nend\n\nswitch costume to (normal v)\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [next level v]\ndelete this clone\n\n@Levels\n\nwhen I receive [start v]\nswitch costume to (level1 v)\ngo to [front v] layer\ngo [backward v] (8) layers\ngo to x: (0) y: (0)\nshow\nset [level v] to [1]\n\ngo to [back v] layer\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nwhen I receive [next level v]\nnext costume\nchange [level v] by (1)\nif <(Level) = [17]> then\n    broadcast (Time v)\nend\n\n@Danger\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nswitch costume to (level1 v)\ngo to [front v] layer\ngo [backward v] (9) layers\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@Text\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to [front v] layer\ngo [backward v] (4) layers\ngo to x: (0) y: (0)\nshow\nforever\n    if <touching (player v)?> then\n        set [ghost v] effect to (75)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\n@Intro\n\nwhen flag clicked\nhide\nset [color v] effect to (90)\nstart sound [Vexento - Forever v]\nset [my variable v] to [1]\nset [cam rot v] to [0]\nset [size v] to [100]\nset [ended v] to [0]\nset [direction v] to [90]\nset [follow cam v] to [1]\nset [i1 v] to [0]\nswitch costume to (screen v)\ncreate clone of (_myself_ v)\nswitch costume to (square v)\ncreate clone of (_myself_ v)\nswitch costume to (square2 v)\ncreate clone of (_myself_ v)\nswitch costume to (name v)\ncreate clone of (_myself_ v)\nswitch costume to (control v)\ncreate clone of (_myself_ v)\nCam Shake\ngo to [front v] layer\ngo [backward v] (14) layers\nrepeat (3)\n    set [size v] to [0]\n    switch costume to (square v)\n    create clone of (_myself_ v)\n    switch costume to (square2 v)\n    create clone of (_myself_ v)\n    Cam Shake\nend\nrepeat (1)\n    set [size v] to [0]\n    switch costume to (square v)\n    create clone of (_myself_ v)\n    switch costume to (square2 v)\n    create clone of (_myself_ v)\n    repeat (20)\n        change [cam rot v] by (round (((360) - (Cam Rot)) / (4)))\n    end\nend\nCam Shake\nset [ended v] to [1]\nwait (1) seconds\nbroadcast (Start v)\n\ndefine Cam Shake\nset [my variable v] to [1]\nset [cam rot v] to [0]\nset [cam shake var v] to [0]\nrepeat (3)\n    change [my variable v] by (((1.2) - (my variable)) / (2))\n    change [cam rot v] by (((8) - (Cam Rot)) / (2))\nend\nrepeat (17)\n    change [my variable v] by (((1) - (my variable)) / (3))\n    set [cam shake var v] to (((Cam Shake Var) * (0.8)) + ((Cam Rot) / (-3)))\n    change [cam rot v] by (Cam Shake Var)\nend\nset [my variable v] to [1]\nset [cam rot v] to [0]\n\nwhen I start as a clone\nshow\nset [costume v] to (costume [number v])\nforever\n    switch costume to (costume)\n    if <((size) * (my variable)) > [100]> then\n        switch costume to (control v)\n    end\n    if <(Follow Cam) = [1]> then\n        set size to ((size) * (my variable)) %\n        go to x: (0) y: (0)\n    else\n        set size to (size) %\n    end\n    switch costume to (costume)\n    point in direction ((Direction) + ((Cam Rot) * <<(Follow Cam) = [1]> and <not <(costume) = [4]>>>))\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    set [size v] to [0]\n    repeat (20)\n        change [size v] by (round (((100) - (size)) / (4)))\n    end\n    repeat (20)\n        change [size v] by (round (((400) - (size)) / (4)))\n    end\n    repeat (20)\n        change [size v] by (round (((700) - (size)) / (4)))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    set [size v] to [0]\n    repeat (20)\n        change [size v] by (round (((100) - (size)) / (4)))\n    end\n    repeat (20)\n        change [size v] by (round (((400) - (size)) / (4)))\n    end\n    repeat (20)\n        change [size v] by (round (((700) - (size)) / (4)))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    set [size v] to [200]\n    repeat (10)\n        change [size v] by (round (((100) - (size)) / (4)))\n    end\nend\n\ndefine Line Explosion\ngo to (random position v)\ngo to x: ((x position) * (0.8)) y: ((y position) * (0.6))\nswitch costume to (le1 v)\nset [follow cam v] to [0]\nrepeat (15)\n    create clone of (_myself_ v)\n    change [direction v] by (24)\nend\nset [follow cam v] to [1]\n\nwhen I start as a clone\nif <(costume [number v]) = [6]> then\n    set [size v] to [100]\n    repeat (10)\n        change [costume v] by (1)\n        move (((150) - (i1)) / (3)) steps\n        change [i1 v] by (((150) - (i1)) / (3))\n        wait (0) seconds\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [5]> then\n    repeat (20)\n        set [i1 v] to [0]\n    end\n    repeat (4)\n        Line Explosion\n        repeat (20)\n            set [i1 v] to [0]\n        end\n    end\nend\n\nwhen I start as a clone\nwait until <(Ended) = [1]>\nif <not <(costume [number v]) = [1]>> then\n    delete this clone\nend\nrepeat (30)\n    change [size v] by (((40) - (size)) / (10))\n    change [direction v] by (((80) - (Direction)) / (10))\n    change [ghost v] effect by (3.5)\n    change [brightness v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nset [ghost v] effect to (0)\n\n\n\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\ndelete this clone\n\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [start v]\nforever\n    play sound [Jim Yosef - Firefly \[NCS Release\] v] until done\nend\n\n@Key Locks\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [backward v] (10) layers\n\nwhen I receive [start v]\nforever\n    if <(Level) = [5]> then\n        switch costume to (wall1 v)\n        go to x: (190) y: (-23)\n        repeat until <(Door Unlocked) = [1]>\n            show\n        end\n        hide\n    else\n        if <(Level) = [6]> then\n            switch costume to (wall2 v)\n            go to x: (210) y: (103)\n            repeat until <(Door Unlocked) = [1]>\n                show\n            end\n            hide\n        else\n            if <(Level) = [7]> then\n                switch costume to (wall3 v)\n                go to x: (214) y: (-55)\n                repeat until <(Door Unlocked) = [1]>\n                    show\n                end\n                hide\n            else\n                if <(Level) = [8]> then\n                    switch costume to (wall4 v)\n                    go to x: (-11) y: (-143)\n                    repeat until <<(Door Unlocked) = [1]> or <(Level) = [9]>>\n                        show\n                    end\n                    hide\n                else\n                    if <(Level) = [9]> then\n                        switch costume to (wall5 v)\n                        go to x: (210) y: (-23)\n                        repeat until <(Door Unlocked) = [1]>\n                            show\n                        end\n                        hide\n                    else\n                        if <(Level) = [11]> then\n                            switch costume to (wall6 v)\n                            go to x: (98) y: (68)\n                            repeat until <(Door Unlocked) = [1]>\n                                show\n                            end\n                            hide\n                        else\n                            if <(Level) = [15]> then\n                                switch costume to (wall7 v)\n                                go to x: (212) y: (92)\n                                repeat until <(Door Unlocked) = [1]>\n                                    show\n                                end\n                                hide\n                            else\n                                if <(Level) = [16]> then\n                                    switch costume to (wall8 v)\n                                    go to x: (218) y: (92)\n                                    repeat until <(Door Unlocked) = [1]>\n                                        show\n                                    end\n                                    hide\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [next level v]\nset [door unlocked v] to [0]\n\nwhen I receive [reset v]\nset [door unlocked v] to [0]\n\nwhen I receive [skip v]\nset [door unlocked v] to [1]\n\n@Key\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [backward v] (11) layers\nset [door unlocked v] to [0]\nset [keyx v] to [65]\nset [keyy v] to [-25]\n\nwhen I receive [start v]\nforever\n    if <(Level) = [5]> then\n        go to x: (65) y: (-25)\n        set [keyx v] to [65]\n        set [keyy v] to [-25]\n        repeat until <(Door Unlocked) = [1]>\n            if <(Door Unlocked) = [0]> then\n                show\n            end\n            if <touching (player v)?> then\n                start sound [Collect v]\n                set [door unlocked v] to [1]\n                hide\n            end\n        end\n    else\n        if <(Level) = [6]> then\n            go to x: (-17) y: (-51)\n            set [keyx v] to [-17]\n            set [keyy v] to [-51]\n            repeat until <(Door Unlocked) = [1]>\n                if <(Door Unlocked) = [0]> then\n                    show\n                end\n                if <touching (player v)?> then\n                    start sound [Collect v]\n                    set [door unlocked v] to [1]\n                    hide\n                end\n            end\n        else\n            if <(Level) = [7]> then\n                go to x: (187) y: (134)\n                set [keyx v] to [187]\n                set [keyy v] to [134]\n                repeat until <(Door Unlocked) = [1]>\n                    if <(Door Unlocked) = [0]> then\n                        show\n                    end\n                    if <touching (player v)?> then\n                        start sound [Collect v]\n                        set [door unlocked v] to [1]\n                        hide\n                    end\n                end\n            else\n                if <(Level) = [8]> then\n                    go to x: (0) y: (-60)\n                    set [keyx v] to [0]\n                    set [keyy v] to [-60]\n                    repeat until <<(Door Unlocked) = [1]> or <(Level) = [9]>>\n                        if <(Door Unlocked) = [0]> then\n                            show\n                        end\n                        if <touching (player v)?> then\n                            start sound [Collect v]\n                            set [door unlocked v] to [1]\n                            hide\n                        end\n                    end\n                else\n                    if <(Level) = [9]> then\n                        go to x: (-193) y: (80)\n                        set [keyx v] to [-193]\n                        set [keyy v] to [80]\n                        repeat until <(Door Unlocked) = [1]>\n                            if <(Door Unlocked) = [0]> then\n                                show\n                            end\n                            if <touching (player v)?> then\n                                start sound [Collect v]\n                                set [door unlocked v] to [1]\n                                hide\n                            end\n                        end\n                    else\n                        if <(Level) = [11]> then\n                            go to x: (-215) y: (155)\n                            set [keyx v] to [-215]\n                            set [keyy v] to [155]\n                            repeat until <(Door Unlocked) = [1]>\n                                if <(Door Unlocked) = [0]> then\n                                    show\n                                end\n                                if <touching (player v)?> then\n                                    start sound [Collect v]\n                                    set [door unlocked v] to [1]\n                                    hide\n                                end\n                            end\n                        else\n                            if <(Level) = [15]> then\n                                go to x: (141) y: (119)\n                                set [keyx v] to [141]\n                                set [keyy v] to [119]\n                                repeat until <(Door Unlocked) = [1]>\n                                    if <(Door Unlocked) = [0]> then\n                                        show\n                                    end\n                                    if <touching (player v)?> then\n                                        start sound [Collect v]\n                                        set [door unlocked v] to [1]\n                                        hide\n                                    end\n                                end\n                            else\n                                if <(Level) = [16]> then\n                                    go to x: (156) y: (-56)\n                                    set [keyx v] to [156]\n                                    set [keyy v] to [-56]\n                                    repeat until <(Door Unlocked) = [1]>\n                                        if <(Door Unlocked) = [0]> then\n                                            show\n                                        end\n                                        if <touching (player v)?> then\n                                            start sound [Collect v]\n                                            set [door unlocked v] to [1]\n                                            hide\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nset [keyx v] to [0]\nset [keyy v] to [0]\n\nwhen I receive [start v]\nforever\n    repeat (10)\n        change y by (1)\n    end\n    repeat until <(y position) = (KeyY)>\n        change y by (-1)\n    end\nend\n\nchange x by (1)\n\nwhen I receive [next level v]\nif <<<<(Level) < [5]> or <(Level) = [10]>> or <<(Level) > [11]> and <(Level) < [15]>>> or <(Level) = [17]>> then\n    hide\nend\n\nif  then\n\n@clouds\n\nwhen I start as a clone\nset [cloudspeed v] to (pick random (-2) to (-7))\ngo to [back v] layer\ngo [forward v] (2) layers\nshow\nset [ghost v] effect to (pick random (40) to (75))\ngo to x: (240) y: (pick random (160) to (0))\nforever\n    repeat until <[-233] > (x position)>\n        move (CloudSpeed) steps\n    end\n    delete this clone\nend\n\nwhen I receive [start v]\nhide\nforever\n    wait (pick random (.2) to (.8)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait until <<(Level) > [11]> and <(Level) < [17]>>\ndelete this clone\n\n@Button\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [backward v] (7) layers\n\nwhen I receive [start v]\nforever\n    if <(Level) = [13]> then\n        point in direction (90)\n        go to x: (120) y: (-57)\n        show\n        repeat until <(Button Pushed) = [1]>\n            if <(Button Pushed) = [0]> then\n                switch costume to (normal v)\n            end\n            if <touching (player v)?> then\n                start sound [Collect v]\n                set [button pushed v] to [1]\n                switch costume to (pushed v)\n            end\n        end\n    else\n        if <(Level) = [14]> then\n            point in direction (90)\n            go to x: (165) y: (119)\n            show\n            repeat until <(Button Pushed) = [1]>\n                if <(Button Pushed) = [0]> then\n                    switch costume to (normal v)\n                end\n                if <touching (player v)?> then\n                    start sound [Collect v]\n                    set [button pushed v] to [1]\n                    switch costume to (pushed v)\n                end\n            end\n        else\n            if <(Level) = [15]> then\n                point in direction (180)\n                go to x: (-160) y: (103)\n                show\n                repeat until <(Button Pushed) = [1]>\n                    if <(Button Pushed) = [0]> then\n                        switch costume to (normal v)\n                    end\n                    if <touching (player v)?> then\n                        start sound [Collect v]\n                        set [button pushed v] to [1]\n                        switch costume to (pushed v)\n                    end\n                end\n            else\n                if <(Level) = [16]> then\n                    point in direction (90)\n                    go to x: (154) y: (120)\n                    show\n                    repeat until <(Button Pushed) = [1]>\n                        if <(Button Pushed) = [0]> then\n                            switch costume to (normal v)\n                        end\n                        if <touching (player v)?> then\n                            start sound [Collect v]\n                            set [button pushed v] to [1]\n                            switch costume to (pushed v)\n                        end\n                    end\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [next level v]\nset [button pushed v] to [0]\n\nwhen I receive [reset v]\nset [button pushed v] to [0]\n\n@Button Blocks\n\nwhen flag clicked\nhide\nset [button block status v] to [0]\ngo to [front v] layer\ngo [backward v] (9) layers\n\nwhen I receive [start v]\nforever\n    if <(Level) = [13]> then\n        go to x: (40) y: (0)\n        show\n        repeat until <(Button Pushed) = [1]>\n            if <(Button Pushed) = [0]> then\n                switch costume to (block1open v)\n                set [button block status v] to [0]\n            end\n        end\n        switch costume to (block1normal v)\n        set [button block status v] to [1]\n    else\n        if <(Level) = [14]> then\n            go to x: (-62) y: (-119)\n            show\n            repeat until <(Button Pushed) = [1]>\n                if <(Button Pushed) = [0]> then\n                    switch costume to (block2open v)\n                    set [button block status v] to [0]\n                end\n            end\n            switch costume to (block2normal v)\n            set [button block status v] to [1]\n        else\n            if <(Level) = [15]> then\n                go to x: (65) y: (-119)\n                show\n                repeat until <(Button Pushed) = [1]>\n                    if <(Button Pushed) = [0]> then\n                        switch costume to (block3open v)\n                        set [button block status v] to [0]\n                    end\n                end\n                switch costume to (block3normal v)\n                set [button block status v] to [1]\n            else\n                if <(Level) = [16]> then\n                    go to x: (-69) y: (-141)\n                    show\n                    repeat until <(Button Pushed) = [1]>\n                        if <(Button Pushed) = [0]> then\n                            switch costume to (block4open v)\n                            set [button block status v] to [0]\n                        end\n                    end\n                    switch costume to (block4normal v)\n                    set [button block status v] to [1]\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [skip v]\nset [button pushed v] to [1]\n\n@Timer\n\nwhen flag clicked\nhide\nset [timer v] to [0]\n\nwhen I receive [start v]\nforever\n    wait (1) seconds\n    change [timer v] by (1)\nend\n\nwhen I receive [time v]\nstop [other scripts in sprite v]\n\n@Skip\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (7) layers\nhide\nset [skipped? v] to [No]\n\nwhen I receive [start v]\nshow\n\nwhen this sprite clicked\nif <(Level) < [17]> then\n    broadcast (Skip v) and wait\n    broadcast (Reset v)\n    broadcast (Next Level v)\n    set [skipped? v] to [Yes]\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) < [17]> then\n        show\n    else\n        hide\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    show\nend\n\n
❖ The Grassland Adventure - A Platformer (Mobile Friendly) #games #all ❖\n\n❖ Instructions ❖\nUse the arrow keys or your finger to navigate. You can also use the W, A, S, and D keys to move.\n\nReach the right side of the screen to continue to the next level\n\nPress the skip button to skip to the next level. If you somehow get stuck, press R to reset your character or skip to the next level.\n\nDodge spikes, collect keys, push buttons, and explore caves. Do it all in my newest platformer, The Grassland Adventure!\n\nLove, Favorite, and Follow for more!