Thanks! and a feature request... ;0)

Hey,

First of all, I just wanted to thank you for creating this wonderful library! It’s really making my new game look fantastic!

If you are taking feature requests, I would love different shapes for the FXFields. Specifically, rectangles that I can position/rotate.
I realize that there would be a performance hit from all the extra coordinates, but having the particles bounce off background elements
in my game would really look beautiful.

Again, thank you for all of your hard work! I really appreciate it!

Joe [import]uid: 8444 topic_id: 4366 reply_id: 304366[/import]

Hi Joe,
I agree that rectangular FXFields would be useful to detect particles/stage collisions. Having this feature implemented wouldn’t be a big performance hit -it just depends on the number of fields you are actually using then. As more fields you create, as more performance is required.

When working with FXFields, please keep in mind that currently each existing particle will be checked against ALL existing FXFields. So FXFields should be used wisely.

We’ll probably add a new particle property that determines if a particle type should be affected by FXFields at all or just ignore them. This could reduce the performance hit because only those particles are checked then that you really want to.

But: keep in mind that a collision check with rotated rectangular fields would be much more performance-intensive than with non-rotated ones.

-> Feature added to the list :wink:

[import]uid: 10504 topic_id: 4366 reply_id: 13637[/import]

Awesome!

I look forward to taxing the processors!

[import]uid: 8444 topic_id: 4366 reply_id: 13769[/import]

Hey Joe! Didn’t expect to see you around here! :slight_smile:

We are going to purchase Particle Candy today, can’t wait :smiley:

// red. [import]uid: 7143 topic_id: 4366 reply_id: 14089[/import]

Hey red,

Yeah, I’ve been using Corona for a few months. Having a great time!
Working on a new adventure game right now.

The Particle Candy library is really nice!

[import]uid: 8444 topic_id: 4366 reply_id: 14228[/import]

About rectangular collision check and performance :

Assuming my particles are circles png : could you add a particle type properties like “shapeCircle” (true/ false) and make the whole process taking advantages of that ?

I suppose it would increase performance ? [import]uid: 9328 topic_id: 4366 reply_id: 16773[/import]