playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Hierarchy Location [SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Hierarchy Location [SOLVED] (Read 2567 times)
gamedivision
Full Member
Posts: 227
Hierarchy Location [SOLVED]
«
on:
May 24, 2014, 04:10:08 PM »
im using create object (its an ngui label) in my scene but i need to control where its created within my hierarchy
anyway of doing this
thanks
«
Last Edit: May 25, 2014, 06:14:36 PM by Alex Chouls
»
Logged
TrentSterling
Junior Playmaker
Posts: 89
Someday I'll make games!
Re: Hierarchy Location
«
Reply #1 on:
May 24, 2014, 04:21:33 PM »
I made the mistake of trying the default create object and set parent actions on ngui elements.
Long story short- download the ngui actions for playmaker and use the nguitools.addchild action. Otherwise you get a stupid amount of weirdness like sizes going nuts and offsets not working. (I was adding buttons to a scrollview grid. It was not working right at-freakin-all)
So use the package here:
https://hutonggames.fogbugz.com/?W1111
Logged
My Blog
http://trentsterling.com/
gamedivision
Full Member
Posts: 227
Re: Hierarchy Location
«
Reply #2 on:
May 24, 2014, 04:35:11 PM »
ohh thank you your a star,is there anyway of adding labels to a scroll view were it will automatically rearrange the labels in order because the only other way would be to register the position of the last item them reposition the new with variables
Logged
gamedivision
Full Member
Posts: 227
Re: Hierarchy Location
«
Reply #3 on:
May 24, 2014, 04:39:04 PM »
the grid view does what i want but doesn't let me scroll through
Logged
gamedivision
Full Member
Posts: 227
Re: Hierarchy Location
«
Reply #4 on:
May 24, 2014, 04:57:16 PM »
i sorted it i just added the grid view script to the scroll view everytime i add a new label at runtime it automatically positions it
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Hierarchy Location [SOLVED]