Polluted - A Platformer Game #Games #All #Games #Games #Games #Games #Games #Games #Games 
@Stage\n\n@Player\n\nwhen flag clicked\nforever\n    hide variable [y script v]\n    hide variable [x script v]\nend\n\nwhen flag clicked\nshow variable [y script v]\nshow variable [x script v]\n\nwhen I receive [message1 v]\nshow\ngo to x: (-197) y: (9)\nset [x script v] to [0]\nset [y script v] to [0]\n\nwhen flag clicked\nshow variable [level v]\nswitch costume to (your character3 v)\nforever\n    if <[235] < (x position)> then\n        broadcast (message1 v)\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (-197) y: (9)\nset [x script v] to [0]\nset [y script v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x script v] by (1)\n        switch costume to (your character v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x script v] by (-1)\n        switch costume to (your character2 v)\n    end\n    set [x script v] to ((X Script) * (0.9))\n    change x by (X Script)\n    if <touching color (#00d343)?> then\n        change y by (1)\n        if <touching color (#00d343)?> then\n            change y by (1)\n            if <touching color (#00d343)?> then\n                change y by (1)\n                if <touching color (#00d343)?> then\n                    change y by (1)\n                    if <touching color (#00d343)?> then\n                        change y by (1)\n                        if <touching color (#00d343)?> then\n                            change x by ((X Script) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(X Script) > [0]> then\n                                    set [x script v] to [-5]\n                                else\n                                    set [x script v] to [5]\n                                end\n                                set [y script v] to [10]\n                            else\n                                set [x script v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y script v] by (-1)\n    change y by (Y Script)\n    if <touching color (#00d343)?> then\n        change y by ((Y Script) * (-1))\n        set [y script v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#00d343)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y script v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nswitch costume to (your character3 v)\n\nwhen flag clicked\nforever\n    if <touching (danger v)?> then\n        go to x: (-197) y: (9)\n        set [x script v] to [0]\n        set [y script v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Robo Beat v] until done\nend\n\nwhen flag clicked\nforever\n    if <touching color (#b0b3b1)?> then\n        broadcast (The World is saved v)\n    end\nend\n\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    if <(X Script) > [0]> then\n        set [x script v] to [-5]\n    else\n        set [x script v] to [5]\n    end\n    set [y script v] to [10]\nelse\n    set [x script v] to [0]\nend\n\n@level\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\n@Danger\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [message1 v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <touching color (#b2b2b2)?> then\n        broadcast (The World is saved v)\n    end\nend\n\nwhen I receive [the world is saved v]\nhide variable [level v]\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    switch costume to (level)\nend\n\n@Sprite2\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (376) y: (90)\ncreate clone of (_myself_ v)\nforever\n    change x by (-1)\n    if <(x position) < [-203]> then\n        go to x: (376) y: (90)\n    end\nend\n\nwhen I start as a clone\nhide\nwait (10) seconds\ngo to [back v] layer\nshow\ngo to x: (376) y: (90)\nforever\n    change x by (-1)\n    if <(x position) < [-203]> then\n        go to x: (376) y: (90)\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nset [ghost v] effect to (99)\nhide\nwait (5) seconds\nshow\n\nwhen I receive [the world is saved v]\nrepeat (99)\n    change [ghost v] effect by (-1)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n
Arrow keys or WASD \n\nPlease propose to be featured here :)\nhttps://scratch.mit.edu/studios/28715018/comments/\n\n\n------------------------------Story----------------------------\n\nThere once was a world full of beauty and Nature. Animals and plant thrived and world was perfect. Mother Earth helped keep the World safe. however one day an Evil king trapped Mother Earth and brought pollution to the once so beautiful land. Its your job to free Mother Earth and save the World! 