Shooter Day 2.5

I spent this morning working on optimising some systems so that only stuff on the screen is rendered, checked for collision etc as when I started firing with 500 entities in existence it was slooooow (obviously).

I’ve now had over 2000 things flying around whilst shooting and flying around with no drop in framerate, much better 🙂

Then I added parallax scrolling to the clouds and planet texture layers so they move at different speeds, giving a better sense of depth and movement. I think it looks pretty cool in action!

Also got projectile/entity collision working so your lasers actually shoot stuff now! Stuff just disappears instantly when hit for now, but it works 😉

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: