Green Valley - A Platformer #All #Games #Art #Music #Animations #Trending

Instructions: Play my New Game : https://scratch.mit.edu/projects/725257856\n\nHii Guys! \nWelcome to Green Valley\nLov, Fav and Follow @Racing_Max for Part 2 :)\nTouch the flag to go to the next level.\nInform me about bugs\nI hope you will enjoy it :D\n\nTags -\n#All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All #All \n#Games #Trending #Music #Animations #Art\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #Animations #Art #Music #Games #Stories\n#All #All #All #All #All #All #All #All #All #All #All #All \n#All #All #All #All #All #All #All #All #All #All #All #All \n#All #All #All #All #All #All #All #All #All #All #All #All \n#All #All #All #All #All #All #All #All #All #All #All #All \n#All #All #All #All #All #All #All #All #All #All #All #All \n#All #All #All #All #All #All #All #All #All #All #All #All \n#All #All #All #All #All #All #All #All #All #All #All #All 

@Stage\n\n@player\n\nwhen flag clicked\nswitch costume to (right v)\nforever\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) + (-20)) > (y position)> and <mouse down?>>> and <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) + (15)) > (x position)> and <mouse down?>>>> then\n        switch costume to (right v)\n    else\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) + (-20)) > (y position)> and <mouse down?>>> and <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) - (15)) < (x position)> and <mouse down?>>>> then\n            switch costume to (right v)\n        else\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<((mouse y) + (-20)) > (y position)> and <mouse down?>>> then\n                switch costume to (up v)\n            else\n                if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<((mouse x) - (-20)) > (x position)> and <mouse down?>>> then\n                    switch costume to (right v)\n                else\n                    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<((mouse x) + (-20)) < (x position)> and <mouse down?>>> then\n                        switch costume to (left v)\n                    else\n                        switch costume to (middle v)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen I start as a clone\nrepeat (7)\n    switch costume to (trail v)\n    change size by (-4)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (3) layers\nshow\nset size to (40) %\nswitch costume to (middle v)\ngo to x: (-190) y: (50)\nset drag mode [not draggable v]\npoint in direction (90)\nforever\n    create clone of (_myself_ v)\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (1)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(x position) < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n        create clone of (_myself_ v)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(mouse x) < (x position)> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n        create clone of (_myself_ v)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [14]\n                            else\n                                set [x 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 (ground v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [y v] to [13]\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 (ground v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    hide variable [x v]\n    if <<touching (flag v)?> and <not <(Level) = [13]>>> then\n        broadcast (next level v)\n        change [level v] by (1)\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <(y position) < [-170]> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-190) y: (-50)\n    end\n    if <touching (saw v)?> then\n        start sound [ Whoosh v]\n        set [x v] to [0]\n        set [y v] to [0]\n        broadcast (Death v)\n        go to x: (-190) y: (-50)\n    end\n    if <touching (danger v)?> then\n        set volume to (100) %\n        start sound [ Whoosh v]\n        set [x v] to [0]\n        set [y v] to [0]\n        broadcast (Death v)\n        go to x: (-190) y: (-50)\n    end\nend\n\nchange [time v] by (0.04)\n\nwhen flag clicked\nforever\n    set [x v] to (x position)\n    set [y v] to (y position)\nend\n\n@danger\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\n    switch costume to (Level)\nend\n\nwhen flag clicked\n\nforever\n\nset y to (-4)\n\nrepeat (4)\n    change y by (4)\nend\nwait (.3) seconds\nrepeat (4)\n    change y by (-4)\nend\n\n@ground\n\nwhen flag clicked\nset [level v] to [1]\ngo to x: (1) y: (-8)\nforever\n    switch costume to (Level)\nend\n\ngo to [front v] layer\n\nwhen I receive [next v]\n\nif <[] = [50]> then\n\n@Flag\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Clouds\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (5) to (15))\nswitch costume to (cloud v)\nset size to (pick random (60) to (80)) %\ngo [backward v] (10000000) layers\nshow\ngo to x: (-290) y: (pick random (100) to (20))\nrepeat until <[290] < (x position)>\n    change x by (2)\nend\ndelete this clone\n\nwhen flag clicked\nhide\ngo [backward v] (10000000) layers\nforever\n    repeat (pick random (5) to (6))\n        create clone of (_myself_ v)\n        wait (pick random (2) to (4)) seconds\n    end\n    wait (pick random (1) to (3)) seconds\nend\n\n@Sprite1\n\n@Sprite2\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\n\n    play sound [Prelude v] until done\n    set volume to (10) %\nend\n\n