one object following another

0 favourites
  • 2 posts
From the Asset Store
This is a single chapter from the "Construct Starter Kit Collection". It is the Student Workbook for its Workshop.
  • I have seem some nice snake games posted, but the movement was only horizontal or vertical.

    Is there an easy way to "follow" an object, e.g. a snake body segment, to the segment before it (or the head). Then the app just needs to move the head. The pin behavior does not work in the required way, it would need something like a "follow" behavior to allow segment articulation.

    Also, how would one approach the head movement, assuming the head should turn towards the cursor or finger touch. It should not jump to face the finger, but slowly turn in that direction. Is there any way to do this without trigonometry & small incremental changes?

    Doing the Trig is straight forward enough, I was just wandering if there was any support for this time of movement built in.

    C2 doesn't seem to have any tweeting, only absolute movements.

    Thanks for any ideas or strategies.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • https://dl.dropbox.com/u/666516/pinbehavior.capx

    Several different ways to do it, sin/ cos would give you the most control.

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