Topic: 2D problems with crouch attacks

All attack moves seem to work fine, but when I perform any of the crouch attacks, if i don't release "down", after the attack is done the character stays in the last frame of the attack, instead of going back to the idle crouch animation.

Share

Thumbs up Thumbs down

Re: 2D problems with crouch attacks

Can you provide a video or gif of some kind?

Share

Thumbs up +1 Thumbs down

Re: 2D problems with crouch attacks

Hi, here I attach a link to the video showing the problem:

https://youtu.be/4AROcoMx-4o

Share

Thumbs up Thumbs down

Re: 2D problems with crouch attacks

arias2202 wrote:

Hi, here I attach a link to the video showing the problem:

https://youtu.be/4AROcoMx-4o

Do you see any errors in your console window?

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: 2D problems with crouch attacks

The only error I'm getting is the following:

ArgumentException: Input Axis Horizontal is not setup.
To change the input settings use: Edit -> Settings -> Input
UnityEngine.EventSystems.BaseInput.GetAxisRaw (System.String axisName)

But I don't thing its related with my probelm

Share

Thumbs up Thumbs down

Re: 2D problems with crouch attacks

That could be the problem. It seems your inputs are not properly set. You either copied UFE's files manually or overridden the input manager after unpacking it.
You can force an update by going to Window -> U.F.E. -> Project Settings -> Override Input Manager.

Ideally, you should unpack UFE's unitypackage file directly to your project so it can override the project settings. There are more files that gets updated (like the Time Manager so the game runs at 60 FPS) and that can have an effect in your project as well.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: 2D problems with crouch attacks

I fixed the previous bug, it was happening because I had the original EventSystem trying to get the Horizontal axis which had been replace by the UFE controls.
Now I'm not getting any error but it still gets stuck in the last animation after executing a crouch attack.

Share

Thumbs up Thumbs down

Re: 2D problems with crouch attacks

I still haven't solved the isue. Does anyone developing a 2D fighter with 2D characters has the same problem?

Share

Thumbs up Thumbs down

Re: 2D problems with crouch attacks

arias2202 wrote:

I still haven't solved the isue. Does anyone developing a 2D fighter with 2D characters has the same problem?

You can take a look at the character "Ellen". Its a 2D character demo with all the basic moves listed and working. Try looking at the assets and see if there is anything in those files that don't match with yours.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: 2D problems with crouch attacks

its not just sprites having this problem. im having this with 3d models as well

Eternal Rift Studios
    Current Projects:
         Destined Soels
Always happy to help when possible. If its something pretty minor ill just help you out. But i do commissions as well. Hit me up if you need a commission.

Share

Thumbs up Thumbs down

Re: 2D problems with crouch attacks

xFTLxKingPhoenix wrote:

its not just sprites having this problem. im having this with 3d models as well

Without looking at the project, the only thing I can tell you is to follow the examples from any template. If they work but yours doesn't, then there is something you probably missed.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: 2D problems with crouch attacks

Mistermind wrote:
arias2202 wrote:

I still haven't solved the isue. Does anyone developing a 2D fighter with 2D characters has the same problem?

You can take a look at the character "Ellen". Its a 2D character demo with all the basic moves listed and working. Try looking at the assets and see if there is anything in those files that don't match with yours.


I tried but Ellen only has 3 attacks, none of them are crouch attacks.

Share

Thumbs up Thumbs down

Re: 2D problems with crouch attacks

Mistermind wrote:
xFTLxKingPhoenix wrote:

its not just sprites having this problem. im having this with 3d models as well

Without looking at the project, the only thing I can tell you is to follow the examples from any template. If they work but yours doesn't, then there is something you probably missed.

I copied Ethans folder to make my character.  Change the animation and then this problem creates itself

Eternal Rift Studios
    Current Projects:
         Destined Soels
Always happy to help when possible. If its something pretty minor ill just help you out. But i do commissions as well. Hit me up if you need a commission.

Share

Thumbs up Thumbs down

Re: 2D problems with crouch attacks

Hello I had the same and i fixed it by installing again control freak. I hope you have the same and it will fix it for you as well.

Share

Thumbs up Thumbs down

Re: 2D problems with crouch attacks

I fixed this problem by changing the state of the move on the last frame to stand

Eternal Rift Studios
    Current Projects:
         Destined Soels
Always happy to help when possible. If its something pretty minor ill just help you out. But i do commissions as well. Hit me up if you need a commission.

Share

Thumbs up +1 Thumbs down

Re: 2D problems with crouch attacks

I'm having the same problem and changing the state to stand forces my character to stand which isn't a viable solution

Share

Thumbs up Thumbs down