GrassLands!#Platformer #Games #All #Trending
@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\n@Player\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [xvel v] to [0]\nset [yvel v] to [0]\ngo to x: (-222) y: (-119)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            change [xvel v] by (1)\n            switch costume to (2a v)\n        end\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            change [xvel v] by (-1)\n            switch costume to (1a v)\n        end\n    else\n        switch costume to (3a v)\n    end\n    set [xvel v] to ((Xvel) * (0.9))\n    change x by (Xvel)\n    if <touching color (#00a70e)?> then\n        change y by (1)\n        if <touching color (#00a70e)?> then\n            change y by (1)\n            if <touching color (#00a70e)?> then\n                change y by (1)\n                if <touching color (#00a70e)?> then\n                    change y by (1)\n                    if <touching color (#00a70e)?> then\n                        change y by (1)\n                        if <touching color (#00a70e)?> then\n                            change x by ((Xvel) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (space v) pressed?> or <key (w v) pressed?>>> then\n                                switch costume to (6a v)\n                                if <(Xvel) > [0]> then\n                                    set [xvel v] to [-5]\n                                else\n                                    set [xvel v] to [5]\n                                end\n                                set [yvel v] to [10]\n                            else\n                                set [xvel v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yvel v] by (-1)\n    change y by (Yvel)\n    if <touching color (#00a70e)?> then\n        change y by ((Yvel) * (-1))\n        set [yvel v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#00a70e)?> and <<key (up arrow v) pressed?> or <<key (space v) pressed?> or <key (w v) pressed?>>>> then\n        switch costume to (6a v)\n        set [yvel v] to [12]\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nset volume to (100) %\ngo to x: (-204) y: (-49)\nset [xvel v] to [0]\nset [yvel v] to [0]\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [1]> and <(x position) > [220]>> then\n        switch backdrop to (backdrop1 v)\n        go to x: (-202) y: (-82)\n    end\n    if <<(backdrop [number v]) = [2]> and <(x position) > [220]>> then\n        switch backdrop to (backdrop2 v)\n        go to x: (-202) y: (-82)\n    end\n    if <<(backdrop [number v]) = [3]> and <(x position) > [220]>> then\n        switch backdrop to (backdrop3 v)\n        go to x: (-202) y: (-82)\n    end\n    if <<(backdrop [number v]) = [4]> and <(x position) > [220]>> then\n        switch backdrop to (backdrop4 v)\n        go to x: (-202) y: (-82)\n    end\n    if <<(backdrop [number v]) = [5]> and <(x position) > [220]>> then\n        switch backdrop to (backdrop5 v)\n        go to x: (-202) y: (-82)\n    end\n    if <<(backdrop [number v]) = [6]> and <(x position) > [220]>> then\n        switch backdrop to (21 v)\n        go to x: (-202) y: (-82)\n    end\nend\n\nset volume to (100) %\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        broadcast (oof v)\n    end\nend\n\nwhen I receive [oof v]\ngo to x: (-205) y: (-87)\nplay sound [roblox-death-sound_1 v] until done\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Faded v] until done\nend\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [number v]) = [2]> then\n        switch costume to (1 v)\n        show\n        go to x: (36) y: (-21)\n    end\n    if <(backdrop [number v]) = [3]> then\n        show\n        switch costume to (2 v)\n        go to x: (39) y: (-55)\n    end\n    if <(backdrop [number v]) = [4]> then\n        hide\n    end\n    if <(backdrop [number v]) = [5]> then\n        show\n        switch costume to (7 v)\n        go to x: (-37) y: (-4)\n    end\n    if <(backdrop [number v]) = [6]> then\n        hide\n    end\nend\n\n@notif\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (2) to (8)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\n@thumbnail\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\ngo to [front v] layer\n\n
  -GRASSLANDS A PLATFORMER-\n#Trending\n#15Trending in Scratch on 9/3/2021\nPart 2 is out!\nPlay here: https://scratch.mit.edu/projects/494965482/\nPart-3 is Out Play Here: https://scratch.mit.edu/projects/510810848/\nHey, There! This another game by @-TechnoCoder- (Ashish). This is just a basic platformer. The Code of the player sprite can help a lot of people with platformer!\nWant to use the Player Code?\n↪You can you the player code by just giving me the credit!\n-INSTRUCTIONS-\n↪Works With W, A, S, D, and Arrow Keys!\n↪It's Not Mobile-friendly lol\n↪I was just bored and done this!:P\n\n-CREDITS-\nCode: All Code is by me!\n Art: All art is by me!\n Thanks a lot to @GraphicFox for the thumbnail!\n Music: All Music is by #Youtube!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n      Boring stuff coming at ya!\n\n\n\n\n\n\n\n\n          -TAGS-\n#GreenLand #Platformer #Games #Scratch #-TechnoCoder- #GraphicFox #Youtube #idk #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games #Games