News for hackers. Stuff that matters.
Re:Great Tower Defense Game on Canvas by metachris on Sunday November 07, 2010 @08:15AM (#1879264)
Very nice game, but a little basic. Some enemies seem to behave differently (vulnerable to different weapons), although there is no indication with color or shape. A minor bug: Once you click on a unit to build, you can't change your mind and "unselect" it anymore, forcing you to build that even though clicking it could have been a mistake.

Also it's a bit annoying that if you want to build the same unit type multiple times, you have to click on it every time again. Keyboard shortcuts 1-4 to select each unit to build would be great. Another shortcut for upgrading and selling, and the game would be a lot more usable and fun to play.

Still, quite addicting game! :-)

Re:Great Tower Defense Game on Canvas by vasi on Sunday November 07, 2010 @09:53AM (#1879433)
Right-clicking seems to unselect a build order.
Re:Great Tower Defense Game on Canvas by _delirium on Sunday November 07, 2010 @02:26AM (#1878939)
Hmm, the graphics part works smoothly for me, but it seems to be dropping input events. Attempting to upgrade a turret when there's a lot of action happening on screen requires clicking a bunch of times before it finally registers. (Chrome 9.0.572.0)
Re:Great Tower Defense Game on Canvas by thesz on Sunday November 07, 2010 @04:43AM (#1879067)
Ditto for Firefox 3.6.12.
Re:Great Tower Defense Game on Canvas by vog on Sunday November 07, 2010 @12:35PM (#1879812)
Ditto for Iceweasel 3.5.8
Re:Great Tower Defense Game on Canvas by zbanks on Sunday November 07, 2010 @01:59AM (#1878892)
Wow! I'm surprised by the framerate, I'm getting ~50 in Chrome.

I really didn't think these sorts of speeds were possible using Canvas, especially when you're completely redrawing the screen each time.

For what it's worth, I unminified the source (from frozendefense.compressed.js) and posted it as a github gist. It makes it easier to peruse.

https://gist.github.com/665991

Re:Great Tower Defense Game on Canvas by wanderr on Sunday November 07, 2010 @02:04AM (#1878898)
In Firefox it always reported >40 fps, however I could see that it was dropping massive amounts of frames, to the point where creeps would be coming in the entrance and then be halfway across the screen.
Re:Great Tower Defense Game on Canvas by Roedou on Sunday November 07, 2010 @02:23AM (#1878931)
Pretty awesome for 1780 lines of code. Especially when 250 of them are just the maps.
Re:Great Tower Defense Game on Canvas by vog on Sunday November 07, 2010 @11:27AM (#1879630)
After playing around a bit, I suddenly got an error message:

"This Account Has Been Suspended"

Is this a bug, or some kind of procrastination prevention?

Re:Great Tower Defense Game on Canvas by kingkilr on Sunday November 07, 2010 @11:34AM (#1879651)
I think their webhost suspended them :(
Re:Great Tower Defense Game on Canvas by marcamillion on Sunday November 07, 2010 @03:49AM (#1879035)
I never thought I would ever see these words:

Works best on Google Chrome or IE9 Beta

Note: Emphasis is on IE9.

Re:Great Tower Defense Game on Canvas by mdwrigh2 on Sunday November 07, 2010 @11:19AM (#1879607)
This was incredibly well done, but it appears that the webhosting account was just suspended.
Re:Great Tower Defense Game on Canvas by quellhorst on Sunday November 07, 2010 @11:24AM (#1879619)
Yeah, just had that happen to me too, after I got to level 46.
Re:Great Tower Defense Game on Canvas by BonoboBoner on Sunday November 07, 2010 @04:50AM (#1879078)
Amazing performance. If it had a button to manually trigger the waves instead of sending them off automatically (allowing me to rethink things more), my afternoon would be gone now.
Re:Great Tower Defense Game on Canvas by elliottcarlson on Sunday November 07, 2010 @12:23PM (#1879779)
Pretty cool - could definitely use some more work - but still well done. (Got a copy of the html from Google cache, and the javascript from the Gist posted in this thread.)
Re:Great Tower Defense Game on Canvas by jonafato on Sunday November 07, 2010 @09:53AM (#1879436)
The targeting seems off. I expected the towers to attack the enemies furthest along the path, but it seems like they might be attacking enemies closest to them.
Re:Great Tower Defense Game on Canvas by obsession on Sunday November 07, 2010 @01:16PM (#1879920)
Re:Great Tower Defense Game on Canvas by fonosip on Sunday November 07, 2010 @12:46PM (#1879837)
Re:Great Tower Defense Game on Canvas by greattypo on Sunday November 07, 2010 @01:47AM (#1878878)
It even works on ipad! Level 52 and counting...
Re:Great Tower Defense Game on Canvas by evandena on Sunday November 07, 2010 @12:26PM (#1879784)
Got a mirror?
Re:Great Tower Defense Game on Canvas by elliottcarlson on Sunday November 07, 2010 @12:42PM (#1879831)
Re:Great Tower Defense Game on Canvas by teddytruong7 on Sunday November 07, 2010 @10:30AM (#1879520)
this is awesome