Solarus-Games English Forum

Solarus => Bugs & Feature requests => Topic started by: Zefk on March 25, 2017, 10:33:28 PM

Title: Run Ability bug?
Post by: Zefk on March 25, 2017, 10:33:28 PM
The error involves jumping and the run ability. For example, if I try to run into jumpers or when the ability "jump_over_water" is set.


[Solarus] [
5350] Fatal: Invalid frame 1: this direction has 1 frames


I attached an image.
(http://forum.solarus-games.org/index.php?action=dlattach;topic=930.0;attach=498)
Title: Re: Run Ability bug?
Post by: MetalZelda on April 08, 2017, 12:07:12 AM
Perhaps the engine try to jump with the animation on the same frame than the running animation's last known frame ?
i did faced this when making some items, using jumpers, I did fixed that by freezing the hero so it reset to frame 0
Title: Re: Run Ability bug?
Post by: Diarandor on April 08, 2017, 12:14:43 AM
This is probably an engine bug. In my opinion, if the new animation does not have as many frames as the current one (which is this case), then the engine should reset the frame position to the initial one.
Title: Re: Run Ability bug?
Post by: Zefk on April 08, 2017, 06:12:59 AM
I will go ahead and report it on github.