Solarus-Games English Forum

Solarus => Bugs & Feature requests => Topic started by: Zaidyer on June 17, 2015, 12:48:58 PM

Title: Bug: Scroll teletransporters lock the game if screen size is altered
Post by: Zaidyer on June 17, 2015, 12:48:58 PM
I tried to resize my quest from 320x240 down to 256x224, which is the SNES screen resolution.

In doing this, Scroll teletransporters stopped working. They seem to roll over twice before locking the game.

They stop working in the same way if the quest size is larger than 320x240 as well.
Title: Re: Bug: Scroll teletransporters lock the game if screen size is altered
Post by: Christopho on June 17, 2015, 02:12:16 PM
There might be an old hardcoded value somewhere...
Thanks for the report, I have opened an issue: https://github.com/christopho/solarus/issues/701
Feel free to report bugs directly on github next times if you have an account.
Title: Re: Bug: Scroll teletransporters lock the game if screen size is altered
Post by: Christopho on June 19, 2015, 11:38:36 AM
I just committed a fix. The code only worked for screen sizes that were multiple of 5. Thanks for the report.
This will be in the next bugfix release (1.4.3).
Title: Re: Bug: Scroll teletransporters lock the game if screen size is altered
Post by: Drumstick on July 02, 2015, 12:24:11 AM
Oh, that's good to know. I was having the same problem. Trying to make L:A style game. I just put height as 145 instead of 144.