Particle image size?

Hi ( yes me again!)

This time I have a question about those images that came with PC. I am using them in my explosion effects. I am

Also using the scale function of PC to reduce the size of the explosion just before I start an emitter which may not the smartest thing to do because of the possible overhead on using the scale function in PC. I was wondering if reducing the images used in PC instead. The images that come with PC are 128X128 ( which I suppose because we could use them with retina screen) I reduced all those to 32X32.

Which is better for performance sake?: scale function of PC or using smaller images?

Hope someone can answer this one.

Mo

Well, using smaller images is obviously gonna be better performance cause it uses less memory and it'll be quicker to load to memory.

If you don't want to lose image quality, you could, instead of using the scale function from PC, declare the particle type's width and height as 32x32. As an alternative, you could also scale the emitter or the group the emitter is inserted in.

cheers,
B.

views:1395 update:2012/1/1 13:29:50
corona forums © 2003-2011