How do I use the pin behavior?

Get help using Construct 2

Post » Wed Feb 04, 2015 2:05 pm

Hi all, I seem to be having a frustrating problem with the pin behavior,

in my event I have system, every tick, gif, pin to sprite_1 but when I play the game my gif doesn't pin to sprite it just stays in 1 spot?
any ideas? thanks in advance. P.S I have it set to position and angle.
B
10
S
5
G
2
Posts: 37
Reputation: 1,992

Post » Wed Feb 04, 2015 2:29 pm

You shouldn't add the pin to object to an "every tick" event, Just pin it to the sprite during a creation event or start of layout event, that should solve it.
B
43
S
11
G
2
Posts: 1,175
Reputation: 6,744

Post » Wed Feb 04, 2015 2:31 pm

Don't pin it every tick - just pin it at the Start of Layout. You may also want to set it's position to an image point at the same time.


Edit: ninja'd
If your vision so exceeds your ability, then look to something closer.
Moderator
B
124
S
29
G
70
Posts: 4,976
Reputation: 49,689

Post » Thu Feb 05, 2015 1:54 am

Thanks all worked like a treat
B
10
S
5
G
2
Posts: 37
Reputation: 1,992


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 3 guests