Cat Splat-A Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Cat \n\nwhen [up arrow v] key pressed\nrepeat until <not <key (up arrow v) pressed?>>\n    change y by (-5)\nend\n\nwhen [down arrow v] key pressed\nrepeat until <not <key (down arrow v) pressed?>>\n    change y by (5)\nend\n\nwhen [left arrow v] key pressed\nrepeat until <not <key (left arrow v) pressed?>>\n    change x by (5)\nend\n\nwhen [right arrow v] key pressed\nrepeat until <not <key (right arrow v) pressed?>>\n    change x by (-5)\nend\n\nwhen flag clicked\ngo to x: (-177) y: (-118)\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-177) y: (-118)\n        speak [ow]::tts\n    end\nend\n\nwhen flag clicked\nset voice to (giant v)::tts\n\nwhen flag clicked\nforever\n    if <touching (brick wall v)?> then\n        broadcast (sprite changer v)\n    end\nend\n\nwhen I receive [thingy v]\ngo to x: (-177) y: (-118)\n\nwhen flag clicked\nforever\n    if <touching (spikes2 v)?> then\n        go to x: (-177) y: (-118)\n        speak [ow]::tts\n    end\nend\n\nwhen I receive [ha ha v]\ngo to x: (-177) y: (-118)\n\nwhen flag clicked\nforever\n    if <touching (spikes3 v)?> then\n        go to x: (-177) y: (-118)\n        speak [ow]::tts\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes4 v)?> then\n        go to x: (-177) y: (-118)\n        speak [ow]::tts\n    end\nend\n\nwhen I receive [thing v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (wall v)?> then\n        broadcast (thing v)\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <touching (thing v)?> then\n        go to x: (-177) y: (-118)\n        speak [ow]::tts\n    end\nend\n\n@brick wall\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ground v]) = [5]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [thing v]\nhide\n\nwhen flag clicked\nshow\n\n@ground\n\nwhen I receive [sprite changer v]\nnext costume\nbroadcast (thingy v)\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [ha ha v]\ngo to x: (15) y: (-83)\nswitch costume to ((costume [number v]) - (1))\n\nwhen I receive [thing v]\nswitch costume to (costume7 v)\nwait (5) seconds\n\nwhen flag clicked\nshow\n\n@spikes\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ground v]) = [2]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [thing v]\nhide\n\nwhen flag clicked\nshow\n\n@spikes2\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ground v]) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [thing v]\nhide\n\nwhen flag clicked\nshow\n\n@skip button\n\nwhen this sprite clicked\nbroadcast (Ha Ha v)\n\nwhen flag clicked\nshow\n\nwhen I receive [thing v]\nhide\n\n@spikes3\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ground v]) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [thing v]\nhide\n\nwhen flag clicked\nshow\n\n@spikes4\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ground v]) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [thing v]\nhide\n\nwhen flag clicked\nshow\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [thing v]\nforever\n    show\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    point in direction ((90) + (([cos v] of (((timer) - (3)) * (400)) ) * (10)))\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ground v]) = [7]> then\n        forever\n            show\n        end\n    else\n        hide\n    end\nend\n\n@wall\n\nwhen flag clicked\nforever\n    if <([costume # v] of [ground v]) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nshow\n\n@thing\n\n@Sprite2\n\nwhen flag clicked\nforever\n    play sound [Movie 2 v] until done\nend\n\n@Sprite3\n\nwhen flag clicked\nset size to (140) %\nshow\ngo to x: (-8) y: (-8)\nchange [ghost v] effect by (100)\ngo to [front v] layer\n\n
Arrow keys to move.