Nesting objects to adopt position and scale

Get help using Construct 2

Post » Wed Jan 08, 2014 6:19 pm

What's the proper method to make one object the child of another and inherit its transforms?

For instance, to have a player sprite pick up an object sprite (let's a say a hat), and the object sprite stays in the same relative position to the player sprite (and ideally the hat scales with the player, if necessary).
B
4
Posts: 25
Reputation: 302

Post » Wed Jan 08, 2014 6:24 pm

for position, using pin behaviour or setting position to an imagepoint every tick would work. For scale I guess you could use a variable that affects both objects.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Fradno, Google [Bot], marcinkowski, tarek2 and 9 guests