Author Topic: Run Ability bug?  (Read 155 times)

Zefk

  • Sr. Member
  • ****
  • Posts: 413
  • Just helping Solarus
    • View Profile
    • Zelzec Business
Run Ability bug?
« 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.

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

I attached an image.

« Last Edit: March 25, 2017, 10:41:40 pm by Zefk »

MetalZelda

  • Sr. Member
  • ****
  • Posts: 454
    • View Profile
Re: Run Ability bug?
« Reply #1 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

Diarandor

  • Hero Member
  • *****
  • Posts: 666
  • Cats are cool! (ΦωΦ)
    • View Profile
Re: Run Ability bug?
« Reply #2 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.

Zefk

  • Sr. Member
  • ****
  • Posts: 413
  • Just helping Solarus
    • View Profile
    • Zelzec Business
Re: Run Ability bug?
« Reply #3 on: April 08, 2017, 06:12:59 am »
I will go ahead and report it on github.