Grassy Adventure || Platformer! Mobile Friendly #games #all

Instructions: Hello welcome to Grassy Adventure A Mobile Friendly Platformer This is just a platformer I made for practice to prepare for a big platformer\n\nYour in a village called grassy to explore the wonders and ways they live there!\nthere are 7 levels I will not be adding more because this was just practice but other than that,Hope you guys enjoy!\n                       -Instructions-\nArrow keys, WASD or mobile to move!\n Also check out on of my new animations, Games. https://scratch.mit.edu/projects/442916766/\n\nEnjoy, ❤️, ⭐️ and Follow for more like this! #games\n                                 -Credits-\nYoutube for the music, and @-PandaMC- for the Next Level sign, clouds, and @JTHEJET for the backdrop and grass!\n\n #games #games \n#games #games #games #games #games #games games#games #games \n#games #games #games #games #games #games games #games #games #games #games #games #games #games

@Stage\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    switch backdrop to (Level)\nend\n\nwhen I receive [start v]\nforever\n    play sound [Alan Walker - Force v] until done\n    set volume to (100) %\nend\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\n\n@Spikes\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\ngo to [back v] layer\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [start v]\nshow\n\n@Player\n\ndefine Spin off screen\nset [dead? v] to [1]\nset [y v v] to [10]\nrepeat until <(y position) < [-179]>\n    switch costume to (oof v)\n    go to [front v] layer\n    turn right (10) degrees\n    change y by (Y v)\n    change [y v v] by (-1)\nend\nhide\ngo to x: (-200) y: (-100)\nreset\n\ndefine reset\nswitch costume to (center v)\nclear graphic effects\nset [dead? v] to [0]\nset [x v v] to [0]\nset [y v v] to [0]\ngo to x: (-200) y: (-10)\npoint in direction (90)\nset size to (120) %\nshow\n\nwhen I receive [start v]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (over right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (over left v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <<not <key (up arrow v) pressed?>> and <<not <key (right arrow v) pressed?>> and <not >>> then\n        switch costume to (center v)\n    end\nend\n\nwhen I receive [start v]\nset [level v] to [1]\nset [dead? v] to [0]\nset size to (120) %\nreset\nforever\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> and <(dead?) = [0]>> then\n        change [x v v] by (.9)\n    end\n    if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> and <(dead?) = [0]>> then\n        change [x v v] by (-.9)\n    end\n    set [x v v] to ((X v) * (0.9))\n    change x by (X v)\n    if <<touching (level v)?> or <touching (moving platform v)?>> then\n        change y by (1)\n        if <<touching (level v)?> or <touching (moving platform v)?>> then\n            change y by (1)\n            if <<touching (level v)?> or <touching (moving platform v)?>> then\n                change y by (1)\n                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <((mouse y) - (y position)) > [50]>> and <touching (level v)?>>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <touching (moving platform v)?>> then\n                        change y by (1)\n                        if <<touching (level v)?> or <touching (moving platform v)?>> then\n                            change x by ((X v) * (-1))\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) + (20))>>>> then\n                                if <(X v) > [0]> then\n                                    set [x v v] to [-5]\n                                else\n                                    set [x v v] to [5]\n                                end\n                                set [y v v] to [13]\n                            else\n                                set [x v v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v v] by (-0.8)\n    change y by (Y v)\n    if <<touching (level v)?> or <touching (moving platform v)?>> then\n        change y by ((Y v) * (-1))\n        set [y v v] to [0]\n    end\n    change y by (-1)\n    if <<touching (level v)?> or <touching (moving platform v)?>> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n            set [y v v] to [12]\n        end\n    end\n    change y by (1)\n    if <<<<touching (spikes v)?> or <touching (big boi crush v)?>> or <touching (spinny boi v)?>> and <(dead?) = [0]>> then\n        Spin off screen\n    end\nend\n\nset [y v v] to [16]\n\nwhen I receive [start v]\nswitch costume to (center v)\nforever\n    set [direction v] to (direction)\nend\n\nwhen I receive [start v]\nforever\n    if <(y position) = [-179]> then\n        switch costume to (oof v)\n        Spin off screen\n        hide\n        wait (1) seconds\n        go to x: (-200) y: (0)\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (effect v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(x position) = [242]> then\n        go to x: (-200) y: (-100)\n        change [level v] by (1)\n        broadcast (LEVEL UP! v)\n    end\nend\n\nwhen I receive [redo v]\ngo to x: (-200) y: (0)\nshow\n\nwhen I receive [level up! v]\ngo to x: (-200) y: (-100)\n\nwhen flag clicked\nhide\n\n@Level\n\nwhen flag clicked\nset [level v] to [1]\nhide\nswitch costume to (costume1 v)\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [start v]\nshow\n\n@clouds\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (pick random (1) to (4))\n    set size to (pick random (40) to (70)) %\n    go to [back v] layer\n    set [ghost v] effect to (pick random (5) to (20))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (-200) y: (pick random (20) to (180))\n        repeat (220)\n            change x by (2)\n        end\n        hide\n        wait (pick random (1) to (5)) seconds\n    end\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (20) to (180))\n        repeat (110)\n            change x by (-4)\n        end\n        hide\n        wait (pick random (1) to (5)) seconds\n    end\nend\n\nwhen I receive [start v]\nrepeat (5)\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\n\n@Level tranzition\n\nwhen flag clicked\nhide\n\nwhen I receive [level up! v]\ngo [forward v] (1) layers\ngo to [front v] layer\nset x to (500)\nshow\nrepeat (6)\n    change x by (-80)\nend\nchange x by (-15)\nwait (0.6) seconds\nrepeat (5)\n    change x by (-80)\nend\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Skip\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (LEVEL UP! v)\n\nwhen flag clicked\nhide\nset [direction v] to [0]\ngo to x: (196) y: (-159)\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\n    point in direction ((([sin v] of ((Direction) * (300)) ) * (10)) + (90))\n    change [direction v] by (0.04)\nend\n\nwhen I receive [end of intro v]\nshow\n\nwhen I receive [start v]\nshow\n\n@Redo\n\nwhen flag clicked\nhide\ngo to x: (136) y: (-158)\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\n    point in direction ((([sin v] of ((Direction) * (300)) ) * (10)) + (90))\nend\n\nwhen this sprite clicked\nbroadcast (Redo v)\n\nwhen I receive [start v]\nshow\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\n\n@intro\n\ndefine bounce finished size (size)\nset [s v] to [0]\nrepeat (40)\n    set [s v] to (((S) * (0.7)) + (((size) - (size)) / (5)))\n    change size by (S)\nend\n\nwhen flag clicked\nhide\nswitch costume to (ball v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    show\n    switch costume to (ball v)\n    set size to (100) %\n    set [brightness v] effect to (0)\n    go to x: (0) y: (-300)\n    set [bally v] to [20]\n    repeat (30)\n        change y by (BallY)\n        change [bally v] by (-1)\n    end\n    repeat (15)\n        switch costume to (blank or sizehack v)\n        change size by (((2500) - (size)) / (3))\n        switch costume to (ball v)\n    end\n    switch costume to (oc v)\n    create clone of (_myself_ v)\n    switch costume to (text v)\n    create clone of (_myself_ v)\n    switch costume to (ball v)\n    wait (6) seconds\n    broadcast (IntroStuff v)\n    bounce finished size [100]\n    set [bally v] to [0]\n    repeat until <touching (_edge_ v)?>\n        change y by (BallY)\n        change [bally v] by (-2)\n        change [ghost v] effect by (2)\n    end\n    broadcast (start v)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    set [sequence v] to [0]\n    set size to (100) %\n    go to [front v] layer\n    set [only ebicc people can love/fave this proj ;\) v] to [0]\n    repeat until <(Sequence) = [1]>\n        change size by (([sin v] of (Only Ebicc People Can Love/Fave This Proj ;\)) ) * (1))\n        change y by (([cos v] of (Only Ebicc People Can Love/Fave This Proj ;\)) ) * (5))\n        point in direction ((([cos v] of (Only Ebicc People Can Love/Fave This Proj ;\)) ) * (20)) + (90))\n        change [only ebicc people can love/fave this proj ;\) v] by (5)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nwait (.6) seconds\nstart sound [IntroMusic v]\n\ndefine Flash\nswitch costume to (flash v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [4]> then\n    show\n    switch costume to (flash v)\n    set size to (100) %\n    set [ghost v] effect to (0)\n    point in direction (90)\n    go to x: (0) y: (0)\n    go to [front v] layer\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nrepeat (8)\n    wait (1) seconds\n    Flash\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    set size to (100) %\n    go to [front v] layer\n    point in direction (90)\n    go to x: (0) y: (0)\n    repeat until <(Sequence) = [1]>\n        go to x: (([tan v] of ((timer) * (125)) ) * (20)) y: (0)\n        go to [front v] layer\n    end\nend\n\nwhen I receive [introstuff v]\nif <(costume [number v]) = [2]> then\n    go to x: (0) y: (-40)\n    point in direction (90)\n    set size to (100) %\n    change [sequence v] by (1)\n    bounce finished size [20]\n    set [ocy v] to [0]\n    repeat until <touching (_edge_ v)?>\n        change y by (OCy)\n        change [ocy v] by (-2)\n        change [ghost v] effect by (2)\n    end\n    delete this clone\nend\n\nwhen I receive [introstuff v]\nif <(costume [number v]) = [3]> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    set size to (100) %\n    change [sequence v] by (1)\n    bounce finished size [10]\n    set [ocy v] to [0]\n    repeat until <touching (_edge_ v)?>\n        change y by (OCy)\n        change [ocy v] by (-2)\n        change [ghost v] effect by (2)\n    end\n    delete this clone\nend\n\n