-
Layer problem
im making a simple birds-eye view game with a toolbar with all the information u need to know. eg: inventory/items, what level etc..
i put a counter(Horizontal bar) and made it so that when u kill a monster 1 adds to the counter. Any way the tool bar is active object wich means the horizontal bar is behind it. the reason why the tool bar is an active object is because backdrops follow the frame but u can make actives not follow the frame. i've even tried the layers tool bar but it doesn't work.
Any suggestions?
-
Re: Layer problem
I would suggest you look into using sub-applications as kind of User Interface oder HUD.
add a frame to your application and make it the size of the toolbar
add a counter and all the stuff you need to it, like a healthbar, score etc. ...
on your main frame add the sub application object. select to use your application and select the frame your interface is in ( e.g. 2)
now: to communicate between both frames you may look into various options. You could use global values, array or an ini file (add more ...)
-
Re: Layer problem
Unselect the "Display as background" option in the properties of the counter object if you want to be able to move it above active objects.