I am trying to have a displayGroup on top of everything displayed by the Director class, including popups. I would also like to pass certain objects from the various scenes held together by Director into yet another displayGroup above this displayGroup (that is already ontop of everything else…) so they sit on top of everything but when the scene transitions these objects transition with the scene, but the other original displayGroup on top of everything does not.
Complicated I know!
How I would imagine it working is to have a displayGroup inside of the director.lua file that I can pass objects into from other lua files, but this doesn’t seem possible after testing. I cant add objects to displayGroups inside other lua files.
I have managed to get a displayGroup on top of everything except pop ups by adding it to main.lua after the main() command but I cant pass objects from other scenes into this, or ontop of this… this would be ideal if I could and solve my issues.
Or if there is a parameter allowing an object to be added to the scene that director transitions but not allow it to transition along with the other objects, that would also solve my problem I think. [import]uid: 69160 topic_id: 14081 reply_id: 314081[/import]