No "+' or "-" button in my attribute section
personal foul
Member Posts: 64
Hello GS, if i click on the actor that is in my scene to open it, most of the attributes are greyed out and there is no + or - button to add or remove an attribute. if i click on the actor in the inspector window it is not greyed out and i have all the buttons. kinda new at this i never really noticed that before. so i'm guessing that if i need to make a change i should do it in the inspector and not the actor in the scene, and do i have to place this actor in the scene again with the changes made? it's been a long day and not much accomplished.
Comments
They are greyed out as they are taking that value from the prototype actor - you can double click the greyed out attribute if you want to make it different from the prototype actor.
It works like this - your prototype's height is 44 - you drag 10 actors onto the scene - they are all 44 pixels high - but you want one to be 22 pixels high, so double click on that actor in the scene and change its height to 22 - this will 'unlock' just the height attribute (it will go from grey to white) - now this attribute in this one actor is no longer linked to the prototype, it has its own height value.
So if you were to now change the prototype's height from 44 pixels to - for example - 120, it will only effect the actors whose height attribute is still linked to the prototype - so all the 44 pixel high actors will change to 120 pixels high, but the 22 pixel high actor will remain unchanged (as its height attribute is not linked to the prototype).
Hope than makes sense.
You can only add an attribute to the prototype.
Thanks @Socks for the explanation.
Check out this guide by @Armelline . It explains everything very clearly.
forums.gamesalad.com/discussion/85430/an-illustrated-guide-to-prototypes-and-instances
Mental Donkey Games
Website - Facebook - Twitter