Zombie Platformer
@Stage\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume2 v)\n        wait (0.2) seconds\n        switch costume to (costume1 v)\n        wait (0.2) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume4 v)\n        wait (0.2) seconds\n        switch costume to (costume3 v)\n        wait (0.2) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite4 v)?> then\n        set [y v] to [25]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite5 v)?> then\n        set [y v] to [25]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite6 v)?> then\n        set [y v] to [25]\n    end\nend\n\nwhen I receive [over v]\nhide\n\nwhen I receive [now v]\ngo to x: (-214) y: (115)\nswitch costume to (costume1 v)\nswitch backdrop to (backdrop1 v)\nshow\ngo to x: (-217) y: (-20)\nhide variable [y v]\nhide variable [x v]\nchange y by (20)\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume4 v)\n        end\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume5 v)\n        end\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> 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 (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> 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 (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-217) y: (-20)\n    end\n    if < or <(x position) > [222]>> then\n        switch backdrop to (next backdrop v)\n        go to x: (-217) y: (-20)\n        if <<(x position) > [222]> and <(backdrop [name v]) = [backdrop8]>> then\n            broadcast (stopp v)\n            stop [all v]\n        end\n    end\n    if  then\n        switch costume to (costume2 v)\n    end\n    if <(backdrop [name v]) = [backdrop17]> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen flag clicked\nhide\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (36) y: (28)\nhide\nforever\n    if <(backdrop [name v]) = [backdrop3]> then\n        repeat until <not <(backdrop [name v]) = [backdrop3]>>\n            show\n        end\n        if <not <(backdrop [name v]) = [backdrop3]>> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (36) y: (-87)\n    wait (0.5) seconds\n    glide (0.5) secs to x: (36) y: (28)\n    wait (0.5) seconds\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (76) y: (-129)\nhide\nforever\n    if <(backdrop [name v]) = [backdrop6]> then\n        repeat until <not <(backdrop [name v]) = [backdrop6]>>\n            show\n        end\n        if <not <(backdrop [name v]) = [backdrop6]>> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (-65) y: (-129)\n    wait (0.5) seconds\n    glide (0.5) secs to x: (76) y: (-129)\n    wait (0.5) seconds\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (79) y: (-113)\nhide\nforever\n    if <(backdrop [name v]) = [backdrop11]> then\n        repeat until <not <(backdrop [name v]) = [backdrop11]>>\n            show\n        end\n        if <not <(backdrop [name v]) = [backdrop11]>> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\nforever\n    if <touching (sprite1 v)?> then\n        wait (0.1) seconds\n        go to x: (78) y: (-86)\n        switch costume to (costume1 v)\n        wait (1) seconds\n        go to x: (79) y: (-113)\n        switch costume to (costume2 v)\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\ngo to x: (79) y: (-113)\nhide\nforever\n    if <(backdrop [name v]) = [backdrop12]> then\n        repeat until <not <(backdrop [name v]) = [backdrop12]>>\n            show\n        end\n        if <not <(backdrop [name v]) = [backdrop12]>> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\nforever\n    if <touching (sprite1 v)?> then\n        wait (0.1) seconds\n        go to x: (78) y: (-86)\n        switch costume to (costume1 v)\n        wait (1) seconds\n        go to x: (79) y: (-113)\n        switch costume to (costume2 v)\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\ngo to x: (-86) y: (-114)\nhide\nforever\n    if <(backdrop [name v]) = [backdrop12]> then\n        repeat until <not <(backdrop [name v]) = [backdrop12]>>\n            show\n        end\n        if <not <(backdrop [name v]) = [backdrop12]>> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\nforever\n    if <touching (sprite1 v)?> then\n        wait (0.1) seconds\n        go to x: (-85) y: (-88)\n        switch costume to (costume1 v)\n        wait (1) seconds\n        go to x: (-95) y: (-113)\n        switch costume to (costume2 v)\n    end\nend\n\n@Sprite7\n\nwhen flag clicked\ngo to x: (76) y: (-129)\nhide\nforever\n    if <(backdrop [name v]) = [backdrop12]> then\n        repeat until <not <(backdrop [name v]) = [backdrop12]>>\n            show\n        end\n        if <not <(backdrop [name v]) = [backdrop12]>> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (-87) y: (-129)\n    wait (0.5) seconds\n    glide (0.5) secs to x: (132) y: (-129)\n    wait (0.5) seconds\nend\n\n@Rocks\n\nwhen flag clicked\nswitch costume to (rocks v)\ngo to [front v] layer\ngo to x: (-110) y: (132)\nhide\nforever\n    if <(backdrop [name v]) = [backdrop15]> then\n        repeat until <not <(backdrop [name v]) = [backdrop15]>>\n            show\n        end\n        if <not <(backdrop [name v]) = [backdrop15]>> then\n            hide\n        end\n    end\nend\n\nwhen I receive [doom v]\nswitch costume to (rocks2 v)\nglide (1) secs to x: (-171) y: (1)\nswitch costume to (rocks3 v)\nglide (1) secs to x: (-193) y: (-99)\nstart sound [Crunch v]\nwait (1) seconds\nbroadcast (over v)\nswitch backdrop to (backdrop16 v)\nhide\n\n@Sprite9\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (18) y: (60)\nhide\nforever\n    if <(backdrop [name v]) = [backdrop15]> then\n        repeat until <not <(backdrop [name v]) = [backdrop15]>>\n            show\n        end\n        if <not <(backdrop [name v]) = [backdrop15]>> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nwait until <(backdrop [name v]) = [backdrop15]>\nwait (2) seconds\nswitch costume to (costume2 v)\nwait (1) seconds\nswitch costume to (costume3 v)\nwait (1) seconds\nswitch costume to (costume4 v)\nwait (1) seconds\nswitch costume to (costume5 v)\nbroadcast (doom v)\n\nwhen I receive [over v]\nhide\n\n@Sprite10\n\nwhen flag clicked\ngo to x: (-19) y: (98)\nhide\n\nwhen I receive [over v]\nshow\n\n@START\n\nwhen flag clicked\nswitch backdrop to (backdrop17 v)\nswitch costume to (costume1 v)\nshow\ngo to x: (0) y: (00)\nwait (2) seconds\nswitch costume to (costume2 v)\nwait (2) seconds\nswitch costume to (costume3 v)\nwait (2) seconds\nbroadcast (start it up v)\nhide\n\n@Sprite11\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [start it up v]\nswitch backdrop to (backdrop18 v)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        change size by (10)\n        wait until <not <touching (mouse-pointer v)?>>\n        set size to (100) %\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (now v)\nhide\n\n@Sprite8\n\nwhen flag clicked\nhide\n\n
arrow keys \n over 30 favs and 35 loves :0\n\n\n