How to get a display image to appear above the particles?

Pardon my ignorance, but is there currently a way to display an image overt the particles? I have a menu that slides over but the particles are always on top of it making it un-usable. I have tried the toFront() command but it does not work.

any ideas? :P

add the menu and particles to separate display groups. create the particle display group first and then the menu display group.

or just use toBack()/toFront() for whole group

Right, just place the emitter within a group, all of its particles are then drawn within that group only. You can then use :toFront() and :toBack() to move that group in the display hirarchy. You can also use AnyGroup:insert(index, EmitterGroup) to insert the emitter group at a certain index.

views:1529 update:2011/10/16 9:47:44
corona forums © 2003-2011