Corona || A Platformer                                                               #Games #All 

Instructions: its funny how i made this a year and a half ago and its still relevant...\n-Arrow Keys to move\n-Hit the flag to replay the game\n-Avoid germs, spikes, lava, or other people.\n-You need to have good timing in this game \nTIP: this game is all about timing and strategy\n--------------------------------------------------------------------

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\n@Player\n\nwhen flag clicked\nshow\nset [deaths v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#cccccc)?> then\n        change y by (1)\n    end\n    if <touching color (#cccccc)?> then\n        change y by (1)\n    end\n    if <touching color (#cccccc)?> then\n        change y by (1)\n    end\n    if <touching color (#cccccc)?> then\n        change y by (1)\n    end\n    if <touching color (#cccccc)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching color (#cccccc)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching color (#cccccc)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [222]> then\n        go to x: (-217) y: (-20)\n        broadcast (NEXT LEVEL v)\n    end\n    if <touching color (#f4ef8b)?> then\n        set [y v] to [22]\n    end\nend\n\nwhen I receive [next level v]\nchange [level v] by (1)\nchange [virus v] by (1)\n\nwhen flag clicked\nforever\n    if <<touching color (#e90000)?> or <touching color (#9a63e3)?>> then\n        go to x: (-217) y: (-20)\n        change [deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nset [level v] to [0]\nchange [☁ views! v] by (1)\nset [deaths: v] to [0]\ngo to x: (-217) y: (-20)\n\nset [x v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\ngo to x: (-217) y: (-143)\nshow\n\nwait (1) seconds\n\n@Ground\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\nforever\n    play sound [Level of Concern v] until done\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\n\n@Cover\n\nwhen flag clicked\nshow\nwait (1) seconds\nhide\n\n@GERM4\n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\n\nwait (1) seconds\n\n\n\nforever\n    if <<<<<(Virus) = [2]> or <(Virus) = [6]>> or <(Virus) = [9]>> or <(Virus) = [12]>> or <(Virus) = [15]>> then\n        show\n    else\n        hide\n    end\n    \nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (-10) y: (100)\n    glide (0.5) secs to x: (-10) y: (-210)\nend\n\n@GERM LEVEL 2\n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.8) secs to x: (46) y: (100)\n    glide (0.8) secs to x: (46) y: (-210)\nend\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\nwait (1) seconds\n\n\n\nforever\n    if <<<<<(Virus) = [2]> or <(Virus) = [6]>> or <(Virus) = [9]>> or <(Virus) = [12]>> or <(Virus) = [15]>> then\n        show\n    else\n        hide\n    end\n    \nend\n\nforever\n\nglide (1) secs to x: (-38) y: (100)\nglide (1) secs to x: (-38) y: (-210)\n\ncreate clone of (_myself_ v)\n\n@GERM LEVEL2\n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.8) secs to x: (-120) y: (100)\n    glide (0.8) secs to x: (-120) y: (-210)\nend\n\nglide (1) secs to x: (46) y: (100)\nglide (1) secs to x: (46) y: (-210)\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\nwait (1) seconds\n\n\n\nforever\n    if <<<<<(Virus) = [2]> or <(Virus) = [6]>> or <(Virus) = [9]>> or <(Virus) = [12]>> or <(Virus) = [15]>> then\n        show\n    else\n        hide\n    end\n    \nend\n\ncreate clone of (_myself_ v)\n\nforever\n\n@GERM LEVEL-3\n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [2]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (100) y: (100)\n    glide (0.5) secs to x: (100) y: (-210)\nend\n\nglide (1) secs to x: (46) y: (100)\nglide (1) secs to x: (46) y: (-210)\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\nwait (1) seconds\n\n\n\nforever\n    if <<<<<(Virus) = [2]> or <(Virus) = [6]>> or <(Virus) = [9]>> or <(Virus) = [12]>> or <(Virus) = [15]>> then\n        show\n    else\n        hide\n    end\n    \nend\n\ncreate clone of (_myself_ v)\n\nforever\n\n@GERM LEVEL 51\n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (120) y: (100)\n    glide (0.5) secs to x: (120) y: (-210)\nend\n\nglide (1) secs to x: (46) y: (100)\nglide (1) secs to x: (46) y: (-210)\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\nwait (1) seconds\n\n\n\nforever\n    if <<<<<(Virus) = [2]> or <(Virus) = [6]>> or <(Virus) = [9]>> or <(Virus) = [12]>> or <(Virus) = [15]>> then\n        show\n    else\n        hide\n    end\n    \nend\n\ncreate clone of (_myself_ v)\n\nforever\n\n@GERM LEVEL-52\n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (-17) y: (100)\n    glide (0.5) secs to x: (-17) y: (-210)\nend\n\nglide (1) secs to x: (46) y: (100)\nglide (1) secs to x: (46) y: (-210)\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\nwait (1) seconds\n\n\n\nforever\n    if <<<<<(Virus) = [2]> or <(Virus) = [6]>> or <(Virus) = [9]>> or <(Virus) = [12]>> or <(Virus) = [15]>> then\n        show\n    else\n        hide\n    end\n    \nend\n\ncreate clone of (_myself_ v)\n\nforever\n\n@GERM \n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (-135) y: (100)\n    glide (0.5) secs to x: (-135) y: (-210)\nend\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\n\nwait (1) seconds\n\n\n\nforever\n    if <<<<<(Virus) = [2]> or <(Virus) = [6]>> or <(Virus) = [9]>> or <(Virus) = [12]>> or <(Virus) = [15]>> then\n        show\n    else\n        hide\n    end\n    \nend\n\n@GERM2\n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (46) y: (100)\n    glide (0.5) secs to x: (46) y: (-210)\nend\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\n\nwait (1) seconds\n\n\n\n@GERM3\n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.7) secs to x: (-150) y: (-122)\n    glide (0.7) secs to x: (150) y: (-122)\nend\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\n\nwait (1) seconds\n\n\n\n@Hand Sanitizer Collectible\n\n@Sprite1\n\nwhen flag clicked\nhide\nclear graphic effects\nswitch costume to (play button v)\ngo to x: (0) y: (-110)\nwait (1) seconds\nshow\nforever\n    wait until <touching (mouse-pointer v)?>\n    set size to (112) %\n    set [ghost v] effect to (30)\n    wait until <not <touching (mouse-pointer v)?>>\n    set size to (100) %\n    set [ghost v] effect to (0)\nend\n\nwhen this sprite clicked\nbroadcast (Start game v)\nhide\n\n@GERM LEVEL-2\n\nwhen flag clicked\nhide\nforever\n    if <(Virus) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (-150) y: (100)\n    glide (0.5) secs to x: (-150) y: (-210)\nend\n\nglide (1) secs to x: (46) y: (100)\nglide (1) secs to x: (46) y: (-210)\n\nwhen flag clicked\nset [virus v] to [0]\nhide\n\nshow\nwait (1) seconds\n\n\n\nforever\n    if <<<<<(Virus) = [2]> or <(Virus) = [6]>> or <(Virus) = [9]>> or <(Virus) = [12]>> or <(Virus) = [15]>> then\n        show\n    else\n        hide\n    end\n    \nend\n\ncreate clone of (_myself_ v)\n\nforever\n\n