Animation + Platform Behavior Problem

0 favourites
  • 12 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Well, yesterday my artist gave to me some animations to put in on my game. With my team we usually do traditional animation methods, and our final goal is to keep the animations clear and smooth as posible, I was using the platform Behavior to do the basic movement for the player, but after trying to make this movement I've got stuck:

    1) The player has a turn animation when you press the opossite key (example: The player it's facing Right and I press Left Key)

    2) The platform Behavior doesn't have any command for this type of animation and working with "key is down" doesn't work when i want the player proced to do two animations AKA the "turn and walk animation"

    3) When the player makes the "Turn animation" i want to make the movement exactly like this example gif:

    4)Here is my conflictive event sheet:

    Thanks in advance if anyone can help me with this.

  • make a blank sprite and give platform behavior.

    then pin another sprite (with animation) above the blank sprite.

  • hey, thanks it might work, but i have an issue and my game is a multiplayer videogame with 8 persons playing at the same time, that would cause problems, and I'm looking for a way to make all the animations in one Sprite. =( I've been trying with other methods but still nothing

  • elisamuelps

    you are asking for A key is down, this will trigger every tick

    try using On key A pressed...this will only trigger once...

    and play with on key realeased and variables to manage the animation...

    look at this capx, jsut imagine the red square frames of animation is the turning animation (sinbce i could not find any animation that has ones).... this is a very easy solution, it may not be what you are looking for since this is very basic, but i think this should give you an idea, you can set an animation to loop to certain frame fo the animation, thats how i loop the walking and not form the begining.... any questions?? i hope this helps...

  • elisamuelps

    another suggestion i can give you is to not waste your artist's time until you have more expirience using C2... until you know how to do things 100% clear... then you can ask to add animations and complicated assets...

    but until... make test and prototype and use place holder sprites form the net... like i did with this capx...

  • this capx is a little more polished... this needs more polish obviously, this is just a very basic example n.n

  • no idea. yours is a basic question. maybe you can find the answer on FAQ

  • Another way to do it is use timer, basically start timer when your key changed and switch to turn animation upon timer is reached, switch animation to normal walking.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • this capx is a little more polished... this needs more polish obviously, this is just a very basic example n.n

    Thanks, Thanks, Thanks Thanks! Thank you very mucho for this!!! jejejejjejje.

    I was able to implement your method with another system adapted for my game, now it works like a charm!

    I wish i can give you points for your answer. But instead I want someone put this Thread into FAQ questions, because I will put right here an atachment with this system... But more polished, so anyone can use it

    I've felt like a total noob, I didn't knew that each animation has loop on the properties bar xD. That's why I asked this silly question.

  • no idea. yours is a basic question. maybe you can find the answer on FAQ

    No, I've checked FAQ questions, and this type of question is not on the Thread.

  • elisamuelps

    im glad i was able to help n.n

    please... make a great game, it looks very interesting n.n

  • elisamuelps

    im glad i was able to help n.n

    please... make a great game, it looks very interesting n.n

    Thank you allot =) we are making a 2D Moba with shooter elements on it, soon I will start a kickstarter campaign, hmmm if you want to know more, our facebook page is this: https://www.facebook.com/ReInventionV

    There isn't enough content to show right now, but soon i will put some news on this forum <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

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