Page 1 of 1

Putting MovieClips in layers

Posted: 18 Dec 2014, 13:39
by Nigey
Hi Guys,

I have objects which are part of the user interface to the game, however they're designed to actually be 'in' the game. Meaning I want to have them underneath some objects and above others. Is there a way to get game objects interact with the layering system in OpenSpace without actually being an object in OpenSpace itself?

Many Thanks,
Nigel

Re: Putting MovieClips in layers

Posted: 22 Dec 2014, 09:57
by Bax
The only solution that comes to my mind is that you have a container Tile with a special Skin in it: at runtime, after the map is loaded, you retrieve that skin object (use IOpenSpaceAPI.getSkinByName method) and add your object to its display list.
Makes sense?