Transforms not inherited during skip/rollback in v 6.99.5

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
BlueScorpion
Newbie
Posts: 14
Joined: Thu Jul 25, 2013 4:01 am
Contact:

Transforms not inherited during skip/rollback in v 6.99.5

#1 Post by BlueScorpion »

It began after i moved my project from version 6.13.12 to 6.99.5. It occurs when passing over show statements that replace an image with the same tag during skip or rollback (when rolling forward).

The game works as previously when progressing through the scenes normally; however, during skip/rollback, if the show statement does not have its own 'at', it will use the default transform instead of inheriting from the image it's replacing.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Transforms not inherited during skip/rollback in v 6.99.

#2 Post by PyTom »

Can you put together an example to demonstrate this, please?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Transforms not inherited during skip/rollback in v 6.99.

#3 Post by PyTom »

So, it turns out that the code was using Position, rather than Transform. Position is largely obsolete, and a lot of newer code that's meant to take Transform doesn't understand it. Since Transform is largely a superset of the old Position interface, you can probably just change your code to use Transform and it should start working.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users