Particle System Update

So my own particle system is going ok. I spent around 3 hours on this over the weekend and I’ve managed to get a basic particle emitter working. There is no color or alpha changes happening, but I am using a texture for each of the particles.

The performance is not bad, although I’m going to have to work on it as the blending of all the particles is maxing the OpenGL renderer, but I can work on that :D

Anyway, check the little screen cast and I’ll keep you updated.

Particle System Video

Mike

Share:
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis
  • Design Float
  • DZone
  • email
  • Google Bookmarks
  • LinkedIn
  • Scoopeo
  • Tumblr

10 Comments

Allan  on April 20th, 2009

Hi mike,

nice progress :)

there is a german site which has a Objective-C OpenGL Example.
Maybe you can learn something of the source.

http://wiki.osxentwicklerforum.....ikeleditor

and a direct link to the project:
http://wiki.osxentwicklerforum.....editor.zip

hope it works ;)

best regards
Allan

mike  on April 20th, 2009

Thanks Allan

That site looks interesting. I’ll check it out and see what I can get from it :D

Mike

bob  on April 20th, 2009

Nice job mike, I like the smoke effect.. And it seems you have your tilemap working. I’m messing around with sprites at the moment and the paths. I ran into a problem with animation, I can’t get it to slow down. I think it might have something to do with the accelerometer ( events )

mike  on April 20th, 2009

Thanks bob.

When you say “I can’t get it to slow down”, what are you trying to slow down, the movement or the animation. If you chuck over some code I’ll have a look :)

Mike

bob  on April 20th, 2009

OK, I think I might have left out a variable maybe. I send my code now.

bob  on April 20th, 2009

@Mike
The animation

bob  on April 20th, 2009

You should see it anytime now. I forget that you are 5 hours ahead of me. it’s 9:51 am here.

bob  on April 20th, 2009

@Mike
I forgot to set the timing back to .002, I slowed it down so I could see what it was doing.

Thanks again

mike  on April 20th, 2009

@bob, I did get your code but not had a chance to look at it yet. Have you sorted out your problem now ?

Mike

bob  on April 20th, 2009

not yet, I’ve been working on the sprites. I will try and move my code to Tutorial 5 just to see if maybe I’m missing a variable or something else. I’ll let you know how I make out. Let me know what you think so far. Don’t mind the plane flying backwards in the LOOP D LOOP, I’m trying to do the different directions by rotating the image. I used to have 16 different images. Rotation would cut that way down.

Leave a Comment