Pin object question

0 favourites
  • 3 posts
From the Asset Store
Wall Pin Board
$9.80 USD
30% off
Wall Pin Board is a hyper causal game developed for fun and inspired by YouTube video whose link is given in description
  • Hey guys!!! So far I am getting alot of progress with my game, thanks to you guys help :)

    So, I got up to the point that I dont know if is possible to make.

    I was able to pin a object (a sword) to my sprite (char). When my char is walking the sword pin is just fine. I used Player.ImagePointX("weapon").

    But this works fine because my weapon has only one frame, I mean, its just a weapon pointing lets say 45 degrees.

    When my char use the attack animation, this very char will have his hand in three positions, up, mid and finish the slash with the bottom position, so the sword in its hands will have 3 different sprites.

    So that is my problem. How can I pin this attack with this sword? Is that possible to create?

    If more details is needed I can send my capx.

  • You need a Image Point on the player for the sword, and for it to be assigned for each frame of the animation. I'm not a good drawer, but this stick figure should show you what I mean.

    dl.dropbox.com/u/108799982/Capx%20Demos/Sword.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need a Image Point on the player for the sword, and for it to be assigned for each frame of the animation. I'm not a good drawer, but this stick figure should show you what I mean.

    http://dl.dropbox.com/u/108799982/Capx%20Demos/Sword.capx

    Thank you for help!!! This result is what I got here, but lets say you need each hand position you made, you have a diferent image of this sword.

    Something like this:

    <img src="https://dl.dropbox.com/u/83579758/attack_animation.png" border="0" />

    You see that player hand start at top and goes down? For each of these 3 frames the axe it uses has diferent images.

    I am not sure If I can make it, is there a way to do it?

    Thanks!!

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