08-07-2012, 10:54 AM
Hello LFE people,
I want to make a move that depends on the mp. For example, if you got less than 400 mp, you perform a punch. If its 400, you perform another super punch. I read once in a tut that if u have a negative mp value, it will be used normally. However, if the mp is not fine (less than needed), it goes to the frame number in the hit_d of that frame. Well, its not working that way. That negative mp is gained and the super punch happens. Why is that? please help.
I want to make a move that depends on the mp. For example, if you got less than 400 mp, you perform a punch. If its 400, you perform another super punch. I read once in a tut that if u have a negative mp value, it will be used normally. However, if the mp is not fine (less than needed), it goes to the frame number in the hit_d of that frame. Well, its not working that way. That negative mp is gained and the super punch happens. Why is that? please help.
A-Engine: A new beat em up game engine inspired by LF2. Coming soon
A-Engine Dev Blog - Update #8: Timeout