News for hackers. Stuff that matters.
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

There are no comments on this comment yet.