Pin behaviour is not working

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
  • Hi there,

    I'm new to Construct and I've been trying to make a puzzle game with it. The object of the game is to connect different pipes together from one end of the screen to the other so that a slime creature can cross safely. I put a drag and drop behavior on the pipe pieces as well as a pin behavior. I was able to get the pipes to pin together successfully. I also put a platform behavior on the slime creature with a simulate moving left action with every tick. That seems to work fine.

    But, I'm having a problem with the pieces I'm trying to use as platforms for the creature to move on. They don't seem to want to pin to the pipes. I've tried several things but nothing seems to work right now.

    Here is my file:

    In this iteration I only made a couple of platforms and kept them visible to see if they would work. My previous iterations do have platforms on all of the pieces, but I didn't want to make the screen too messy when troubleshooting.

    I really want my game to be functional. Could I please get some help?

    Thank you.

  • The pin behavior will not set the platform to the pipe's position and angle, it will only keep it there if you move or rotate the pipe. Consider using Set position to another object on the platform to set it to an image location on the pipe, and then you need to set the angle to the pipe's angle.

    You might want to place a pipe in a container with the platform. So that any time the pipe is created or destroyed the corresponding platform will also be created or destroyed. (Select the pipe in the projects panel, and then in the properties panel under Container click on create. In the window that pops up select the platform.)

    You might want to consider placing all of your pipes in a family. That way any behaviors, actions, etc... can be applied to the family as a whole. You can still apply things uniquely to elements of a family when needed.

    You might want to consider reducing some of your file sizes. You make nice artwork, but I think things will become unruly as you add more layouts.

    Have you thought about how you are going to have Slimy go up a pipe? Or decide to go up a pipe at a T intersection? (Look out, here comes another you might) You might want to think about these things before you go too far down your current path.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It worked! Thank you so much! The platforms are now attached to the various tiles.

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