Rule: When mouse position is inside -change self size width to whatever -change self size height to whatever OTHERWISE -change self size width to original size -change self size height to original size
Hi - thanks for that - sorry to have to ask... is this a change attribute? if so - do you put a dot after e.g.: self.size.width.40 thanks (still new here!)
Check out the gamesalad cookbook youtube chanel, gshelper.com, and the cookbook link at the top of the page to get tutorials and familiar with gamesalad. What i told you to do is very simple, the problem i think your having is you dont actually know how gamesalad and the behaviors work and where your supposed to enter what into the fields and how the interface is.
You make a rule in the actor you want this to happen in. You select when mouse position is insisde for the rule condion. You drag 2 change attribute behaviors into the rule. On the left field of the first change attribute hit the ... button so you can select the attributes(you have to select thses from the menu you cant type them in) At the bottom of the list that pops up youll see the actors name, click that then click size then double click width. Then on the field on the right type in how big you want the width to get when the mouse is over it.
Now do the same exact thing but select the height instead of width when you select the attribute.
Now at the very bottom of the rules youll see itll say otherwise with a little arrow next to it. Click the little arrow. Now in that section that opens up (the otherwise section) thats what you want to happen when the rule isnt true. In this case when the mouse is not over the actor you want the size to change back to normal.
So in the new otherwise section you opened up, put in 2 change attribute behavior and do the same exact thing as above to select the width and height but this time for the values put the original size of the actors.
Please check out the tutorials and stuff. Itll help you alot.
Answers
-change self size width to whatever
-change self size height to whatever
OTHERWISE
-change self size width to original size
-change self size height to original size
is this a change attribute?
if so - do you put a dot after e.g.: self.size.width.40
thanks (still new here!)
Yep. Change attribute.
You make a rule in the actor you want this to happen in. You select when mouse position is insisde for the rule condion. You drag 2 change attribute behaviors into the rule. On the left field of the first change attribute hit the ... button so you can select the attributes(you have to select thses from the menu you cant type them in) At the bottom of the list that pops up youll see the actors name, click that then click size then double click width. Then on the field on the right type in how big you want the width to get when the mouse is over it.
Now do the same exact thing but select the height instead of width when you select the attribute.
Now at the very bottom of the rules youll see itll say otherwise with a little arrow next to it. Click the little arrow. Now in that section that opens up (the otherwise section) thats what you want to happen when the rule isnt true. In this case when the mouse is not over the actor you want the size to change back to normal.
So in the new otherwise section you opened up, put in 2 change attribute behavior and do the same exact thing as above to select the width and height but this time for the values put the original size of the actors.
Please check out the tutorials and stuff. Itll help you alot.