Pin one sprite to another?

0 favourites
  • 3 posts
From the Asset Store
Wall Pin Board is a hyper causal game developed for fun and inspired by YouTube video whose link is given in description
  • 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.

    <img src="http://s7.postimg.org/e3nw4zfwr/Capture.png" border="0" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • Brilliant! Thank you so much.. <img src="smileys/smiley2.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)