Jump to content
  • 0

Attack while moving sprite


Nero

Question

So I added attack animations to my character sprites, but whenever I walk while holding the attack button, it starts to act like this.

 

1fe405208cc704262db431632a561d02.png

 

6139e9d044635b16e04788aeece00336.gif

 

As you can see, when I start holding the attack button while running, the character arms keep going up trying to attack, I suppose because the game is trying to load both sprites at the same time. 

Is there a way to solve this? To make it so the game uses the attack animation when the character is running?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Here: https://github.com/AscensionGameDev/Intersect-Engine/issues

You can report as a bug (in my opinion it's a bug)

There's nothing you can do on your side, it's coded to be that way, there's no check of which animation to run when walking and attacking at the same time, so it tries to run both animations.

I've already looked at it, but I've never been too deep, I think I'll review it again when the time comes.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...