separate the character in parts for complex anims

0 favourites
  • 6 posts
From the Asset Store
2d warrior machrom platformer game character assets
  • My character can shoot like a contra dude, in all directions.

    I'm programming the diagonal up shooting and just can't get the animation to trigger.

    The diagonal/up AIMING does work, but when I prezz Z (shooting key) the diagonal/up SHOOT anim doesn't show. it stays in the aiming thing.

    I couldn't figure out why this was happening so I moved on to the diagonal/down stuff. I programmed it and worked perectly, which is strange since both instances are triggered by the exact same stuff.

    What I did next was erase the diagonal/up stuff and copypaste the diag/down altering it to make it diag/up, so the events are exactly the same but adapted to each case. It still doesn't work.

    here is what I got:

    <img src="http://andresborghi.com.ar/help/problema02.jpg" border="0" />

    REMEMBER: the only thing not working here is "shoot UP DIAG"

  • OK, I solved it.

    I'll change the name of the topic and explain what I did cause maybe it's useful for someone else:

    I created another sprite representing the player shoting in all different directions. So, when Z is pressed this sprite becomes visible (it's idle animation has no frames) and the rest of the player becomes invisible. This was the control got more fluid since the main sprite is not bound to the shooting animations and can move freely.

  • Borghi

    Maybe this can help you a little or just you can get some idea,<img src="smileys/smiley1.gif" border="0" align="middle">

    https://www.scirra.com/tutorials/355/making-character-composed-of-multiple-parts

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks!!

  • well, if it's for creating sprites and exporting them to C2, I already do that with after effects and they come out perfectly.

  • Borghi

    you can search on the forum , I think there are more, I just saw one tutorial or post but I cannot find it , don't know were it is, I have searched forum for you but I can't get it.<img src="smileys/smiley6.gif" border="0" align="middle"> Sorry for that.

    Hope you get some knowledge from this tutorial too.<img src="smileys/smiley4.gif" border="0" align="middle">

    https://www.scirra.com/tutorials/205/making-a-sword-character

    Just a small tip if you don't know , use the username and put sign in front of those users , in this way they will get a message that you just replied to them.

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