Sprites Loading Bizarrely After Update
Posted: Tue Jun 16, 2015 2:22 pm
Our team recently upgraded from 6.18 to 6.99 (precisely 6.99.4.467). We did a full runthrough of the game last night, for the first time since upgrading, and now the sprites are not loading in correct positions unless a transition is included.
Specifically, we use full body sprites, so we have custom positions defined with y-offsets, so that their feet are anchored below the screen, so instead of "show x at center" we would use "show x at floor_center", and this has always worked as intended.
Since the upgrade though, the positions only work correctly if there is a transition attached to the Show statement, otherwise Ren'py now ignores the offset.
"show x at floor_center" anchors the sprite's feet to the bottom of the window, as though "center" was specified, but
"show x at floor_center with dissolve" or "show x at floor_center with moveinright" anchors the sprite's feet below the window as intended.
This never occurred before the jump to 6.99.
Specifically, we use full body sprites, so we have custom positions defined with y-offsets, so that their feet are anchored below the screen, so instead of "show x at center" we would use "show x at floor_center", and this has always worked as intended.
Since the upgrade though, the positions only work correctly if there is a transition attached to the Show statement, otherwise Ren'py now ignores the offset.
"show x at floor_center" anchors the sprite's feet to the bottom of the window, as though "center" was specified, but
"show x at floor_center with dissolve" or "show x at floor_center with moveinright" anchors the sprite's feet below the window as intended.
This never occurred before the jump to 6.99.