How to make only one part of an object grow, not the whole object?

1

Would you like to make Pinocchio's nose grow when he picks up a coin? The object is Pinocchio, and by picking up the coin only his nose would grow (a localized growth, understood?)

No Construct 2.

Thank you in advance.

    
asked by anonymous 17.02.2016 / 22:37

1 answer

0

You can do the following to separate two sprites, one from the nose and one from the body of the pinocchio. Then put Behaviour Pin on the nose and when loading the layout the nose will pinch on the other part.

From this you will set a% w / w% on the base of the Sprite of the Nose that the body touches the coin, the Sprite of the nose will have to grow in width + that many percent ...

I do not know what measure basis you're going to use, but you can make it grow let's assume 10% for each coin.

For this you will put a local variable in the nose.

    
20.04.2017 / 23:13