Tips on HUD multiple placement?
gyroscope
I am here.Member, Sous Chef, PRO Posts: 6,598
Hi, the HUD for my adventure game consists of 5 actors, and these need to be placed on at least 30 scenes. Has anyone any tips for placing these which would be quicker than dragging each actor out on each scene, then changing the x,y postioning each time?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Comments
Drag the hud actors in the scene and position until your happy, then jot down the X Y for the actors.
Then in the main actor do some code like change attribute x 100 y 200 (this will depend on where you want the actors).
This will ensure all hud actors are in the correct position.
Another way would be to use a spawn...have a controller actor and do spawn actor hud X 200 Y 200 scene (make sure this is you hud layer).
I tend not to use spawn a lot nowadays but it's up to you.
Another thing i do when i know i need a lot of levels is to make a base template scene with everything in then i just copy paste the scene to give me a head start on other levels.
You template scene would have your 5 hud actors in it and already set up so for you next level you just click alt and drag the scene to paste a duplicate.
Darren.
I too avoid spawning if I can help it and wouldn't want to go down that route. Some of the actors are instances anyway.
I didn't think one can copy and paste actors; I just tried and as I remember, it wouldn't paste (not sure it even copied). Was this a feature in .8.9 that's disappeared as well? I can't remember. It's annoying also that one can't select more than one actor at a time.
But thanks again; without My Behaviours as well I'm huffing at the screen as it is; I'll just have to plough on and do it the long way round... :-(
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Then you can go to home, click/alt that scene to make a copy then your positioning is already done.
That should still work in 0.9
Darren.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Darren.