librelist archives

« back to archive

CoffeeScript Tower Defence

CoffeeScript Tower Defence

From:
Benjamin Taylor
Date:
2011-05-02 @ 06:03
I wasn't there for much of the last meetup but I do remember a cool talk 
on using CoffeeScript + Canvasey stuff to make a Plants vs Zombies clone.

Well, over the weekend was Ludum Dare, which I entered with my very own 
CoffeeScript TD (of sorts). I used my own custom rolled MVC "framework" 
(which is messy as hell, but much lighter than BackBone) along with JQuery
and Underscore. 

I personally don't like making graphics, but I do like CSS. So rather than
using Canvas I just used plain old CSS3 :P

Heres the game: Too Many Pixies in Pixel Town (Chrome only for now)

Heres the source on GitHub

It's buggy as hell and very browser dependent. Over time I'll go through 
and update everything for Firefox and Safari support, but due to a Rapid 
Development cycle it is Chrome only.

Hope you guys enjoy it, if you want to know more just ask me :)