Hi,
Is there a way to put a bitmap/sprite alway's on top of the hierarchy
(z-axis)? I need this to let a moving object disseapear behind an other
object. The moving object will be removed from the stage sometimes.
At the moment all the graphical child stuff will be added to the stage
and I tried the getParent and addChildAt methods but I could't get it
to work.
Regards,
Marc
Comments
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
Layers are just made by sub-classing Sprite, e.g.:
Likes: Mells, ar2rsawseen
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
will be added again so it will be placed on top while it needs to disappear
behind "theSprite". I will try to create dedecated layers.
Regards,
Marc
I just saw this post and I'm wondering how you would use 2 layers with scenes?
Thanks in advance!
Thank you for that! I'm still getting my head around Groups and it took me a while to realise that you can have Groups within Groups and that Layers are also Groups
Thanks again!
Dislikes: definisto