• Advertisement
Sign in to follow this  
  • entries
    34
  • comments
    29
  • views
    17684

Particles are fun

Sign in to follow this  

196 views

Did some more work over the past couple days. Mostly I've been coding the storage classes that hold information about ships, weapons, maps, the player etc. I've also done a bunch of stuff with the FRB particle engine. The sprites are well designed so that you can attach emitters to them as children, and then attach emitters to those emitters to do things like have bullets explode.

I'm still trying to think about the best way to do collision, right now I have every sprite held in a series of arrays depending on how they should collide with other objects. Bullet particles are held in one array, moving objects like the player in another, and static structures in another. The downside to this is detecting collisions involves looking at every sprite, onscreen or not - which is expensive.

Screenshots (Art not mine, I need to find some more legal art to use soon):









Next up is moving static data like ship information, weapon information and map information into XML files that can be parsed into storage classes when the game is loaded. Also I need to find a generic way to make large explosions using the particle engine - something fairly random that can be used for any structures or ships.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement