Hacker News new | past | comments | ask | show | jobs | submit login

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




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: