Jump to content

How can I "Pin" two spriter objects to respect animations in Construct?


Wermfood

Recommended Posts

Hi Spriter Team! I know this is the second time I have written a question in four years - but I am having a challenge I would appreciate your genius on helping to resolve! You know I freaking love your product and have purchased a copy for a few of my friends since they love animation! I also own Spine and Creature but I keep coming back to Spriter!

Here is my situation... I have an animation in Spriter of a body that has just the neck stub. It just bobbles a round a bit nothing big during an idle animation. I have another Spriter animation of a head. I would simply like to "Pin" the head to the Neck stub so that it bobs with the animation. Here are the things I have tried

  • Created an Action Point on the Neck and then referenced it on System Tick in construct 3. I would then set the head.x to body.objectx("neckpont") and head.y to body.objecty("neckpoint"). That just blinked the head all over the place
  • Tried the Pin behavior in Construct 3 - No movement
  • Tried the Pin to Object behavior and specified different image points - No movement
  • Sacrificed a goat to the animation gods - No movement

I would greatly appreciate it if you could direct me to a resource that would illustrate this working, or tell me what needs to be done. Thank you!

Wermfood

 

Link to comment
Share on other sites

Thanks @Lucid. I put the code as shown and the head just stays still while the body goes to town!

HelpMePlease.png.9b77cd16e27b9d6534305c010761880d.png

I even tried to associate a standard sprite (non spriter) and I have the same effect. I am trying to set the heads position in relation to the body. I can easily upload my constructor project if you would like to take a gander at things in action. Just let me know how to proceed :D

 

Link to comment
Share on other sites

  • 1 month later...
On 11/8/2018 at 1:06 AM, Wermfood said:

Thanks @Lucid. I put the code as shown and the head just stays still while the body goes to town!

HelpMePlease.png.9b77cd16e27b9d6534305c010761880d.png

I even tried to associate a standard sprite (non spriter) and I have the same effect. I am trying to set the heads position in relation to the body. I can easily upload my constructor project if you would like to take a gander at things in action. Just let me know how to proceed :D

 

please email it to mail@brashmonkey.com so we can take a look.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...