Pin one sprite to another?

Get help using Construct 2

Post » Sat Feb 15, 2014 6:15 am

How can i pin a sprite to another?

The goal: To have a wooden sign drop into frame with the games logo pinned to it.

I know i could do this in photoshop but i have some behaviours attached to my logo i want to retain.

Currently the logo sprite does not come down with the sign, it is not pinned to it.

This is how my event looks at present.

B
7
S
2
Posts: 110
Reputation: 927

Post » Sat Feb 15, 2014 6:58 am

Your event Pin is pinned is checking to see if the logo is pinned. If it is pinned then it pins it...... If it isn't pinned then it doesn't pin it.

Can you see what you've done?

Setup another event such as System -> on start of layout instead of the Pin is Pinned and it should work fine.
An alternative is to simply "invert" the Pin is pinned event (right click it/select invert) then if the logo isn't pinned it will pin it.Bertie Booster2014-02-15 07:03:35
There are 10 types of people in the World, those that understand binary and those who don't.
B
7
S
2
Posts: 93
Reputation: 797

Post » Sat Feb 15, 2014 7:31 am

Brilliant! Thank you so much..
B
7
S
2
Posts: 110
Reputation: 927


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests