Solarus-Games English Forum

Solarus => Bugs & Feature requests => Topic started by: MetalZelda on January 04, 2016, 11:34:09 PM

Title: Stairs acting weird
Post by: MetalZelda on January 04, 2016, 11:34:09 PM
Hi.

I was playtesting some things earlier and I was testing stairs transitions, but I faced something quite strange with stairs going left to up, left to down, same thing for the right side. The animation is halted and the hero slides away, I don't know if this is a bug, but there are no walls that can modify the behaviour
Title: Re: Stairs acting weird
Post by: Christopho on January 04, 2016, 11:41:01 PM
I am not sure I understand. Can you make a video to describe the bug? Thanks
Title: Re: Stairs acting weird
Post by: MetalZelda on January 05, 2016, 12:56:07 PM
https://www.youtube.com/watch?v=_VM_7CZkoo8&feature=youtu.be
Title: Re: Stairs acting weird
Post by: Christopho on January 05, 2016, 05:52:27 PM
Spiral staircases only work with direction north or south. This is probably a limitation, but in ALTTP they only exist to the north. I don't think I will implement another built-in behavior for left and right, because currently, stairs are too ALTTP specific anyway. Instead, I should probably expose a Lua API to allow to customize stairs, and then scripts will be able to do what they want, rather than the ALTTP movement+animation+sound.

Also, stairs with direction north should be entered by the south, and stairs with direction south should be entered by the north.
Title: Re: Stairs acting weird
Post by: MetalZelda on January 05, 2016, 06:22:11 PM
So for left and right side you recommand to use a custom entity ?
Title: Re: Stairs acting weird
Post by: Christopho on January 05, 2016, 06:36:52 PM
Or a straight staircase, I think it should work.