Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Do anybody know how to have a better layer system, i have so many 2D overlays one over another but I want some of them to go backward and some of them to come in front during gameplay. I know i can arrange them up and down and hide or unhide them, but i don't want to hide then and I don't know how to arrange the scenegraph during runtime. Can anybody @just_in_case, @smnMhmdy @robo or anybody else can create a script that makes a better layers system so that we can make an overlay comes to front and moves to back with just an action. Thank you! |
||||
|
Not much of a proper layer system but something like this should let you re order nodes to front during runtime:
|
||||
|
Pretty sure that if you just child an overlay ontop of another (using drag/drop on the scene graph explorer), the root node is always at the front (ontop of the stack), and each child layer is 1 layer back from the previous (underneath the stack)... |
||||
|
*Sorry, I didn't read your post correctly about changing layer-order during gameplay. |
||||
|
Thanks @Vp that really helpful... ![]() |
||||
|
can also combine overlay pictures into one big full screen image one for the moving around mode one for fighting actions mode one for .. whatever mode these are then passive overlays then have folder for -moving around with all the overlay controls with transparant picture on them and the attached actions -fighting folder with their overlay controlls with transparant pictures and attached actions then you can play them by making these folders visible or not or would that be sub optimal ?? |
|