News for hackers. Stuff that matters.

Review my HTML5 game

http://nuclearcarrot.com/html5/frantic/

I noticed the standard of most HTML5 games is quite low. The only popular shoot em up out there was Crystal Galaxy and while it looks pretty I dont think its much fun to play. So I wrote my own. Uses graphics from the open Tyrian project.

Any feedback welcome.

( 9 comments | 18 points | on HN )
Re:Review my HTML5 game by rje on Saturday March 05, 2011 @11:59AM (#2291760)
I'd love to hear some more details about the design decisions you made and any performance tradeoffs you ran into.

Otherwise, it's a great start. Some things you might consider:

* Better explosions. You can get pretty good effects with expanding/contracting colored circles, or using an animated sprite. I'm not sure what would be more efficient in html5. For an example check out the explosions in http://mochiland.com/articles/flash-game-friday-death-vs-mon...

* Reduce the size of the player's collision box. Most 'bullet hell' shooters actually use a box much smaller than the player sprite to give the player a bit of leeway as they try to dodge bullets.

* There's a pretty big size mismatch between the player and the enemies, maybe even that out a bit? The small enemies are cool because you can have a lot in a wave, but as a player the small enemies felt frustratingly hard to hit sometimes.

* Bullet image sprites. Guessing there's a performance issue here but I thought I'd suggest it anyways just in case you haven't tried it. A nice bullet sprite will make enemy bullets easier to read and easier for the player to dodge.

Re:Review my HTML5 game by ramblerman on Saturday March 05, 2011 @12:22PM (#2291817)
very nicely done. I agree with the last part of this comment. The enemy bullets are a little off.

The player laser beam is awesome :P

Re:Review my HTML5 game by andy_boot on Sunday March 06, 2011 @05:49AM (#2293970)
Hey thanks for he feedback everyone.

Design decisions: Dont rotate images - this really kills performance.

Try not to scale images - My rough performance tests said: draw 1 scaled image = draw 3 images.

As you guessed, Bullet images sprites were not done for performance reasons. I might try and add them again and see what it looks like.

I'll experiment with bigger enemies / explosion images / collision box changes.

I'll write up an article in the future covering my decisions in more detail. And yes I hate it when HTML5 games kill my CPU I was going to make sure this one didn't do that.

andy

Re:Review my HTML5 game by svenson on Saturday March 05, 2011 @12:41PM (#2291870)
Impressive! Was really surprised at how little it taxed my system, usually I see my CPU graph shoot straight up. Would love to know how you optimized it as that's the biggest drawback with most HTML5 games I play.
Re:Review my HTML5 game by coryl on Saturday March 05, 2011 @11:48AM (#2291739)
Looked great! Maybe you can write up a post or article about how you made it?
Re:Review my HTML5 game by cabalamat on Saturday March 05, 2011 @12:26PM (#2291829)
It's an inspiring demo of what can be done in HTML5. Also a fun game.
Re:Review my HTML5 game by namdnay on Sunday March 06, 2011 @03:49AM (#2293825)
To be honest, I prefer your "Cat & Mouse"...
Re:Review my HTML5 game by askhader on Saturday March 05, 2011 @11:33AM (#2291711)
edit: perhaps you should change 'cursors' to 'arrow-keys' or some variant in the instructions.
Re:Review my HTML5 game by ctdonath on Saturday March 05, 2011 @12:10PM (#2291794)
Won't work on iPad etc.