Interactive Director: Statements don't always save properly

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Jackkel Dragon
Veteran
Posts: 283
Joined: Mon Mar 31, 2014 7:17 pm
Organization: Nightshade, Team Despair
itch: jackkel-dragon
Location: USA
Contact:

Interactive Director: Statements don't always save properly

#1 Post by Jackkel Dragon »

In Ren'Py 7.4.8 (and a few builds beforehand), I've had on-and-off issues with the Interactive Director where selecting certain attributes would not work the way I'd expect. Some examples:

- Select a new image attribute. Image updates in the game, but the line created will not have the correct attributes. (Can be fixed by opening that line immediately after closing it, then confirming it again.)
- Select a new transform to apply. The transform will apply to the current image, but will not be in the statement. Fix is similar to above, but if attributes are selected before confirming the line it will remove the transform entirely and it will have to be selected again.
- Similar to transforms, "behind" tags will not always stick properly.

Could this be some sort of race condition, where the changes to the statement to be saved aren't quick enough to display/save properly? Since opening the line again immediately shows the correct statement, it clearly is getting the correct line to use eventually.

Also, to demonstrate a bit more clearly, here's a more in-depth example:

- Create a new line. Select "yue" image tag. yue image is displayed. [show yue]
- Select transform "midright". yue is displayed at the transform. [show yue] should be [show yue at midright]
- Select attributes "casual" and "smile". yue is displayed at default transform with the attributes added. [show yue] should be [show yue casual smile at midright]
- Confirm statement. [show yue] should be [show yue casual smile at midright]
- Edit statement. [show yue casual smile] should be [show yue casual smile at midright]
- Select transform "midright". yue is displayed at the transform. [show yue casual smile] should be [show yue casual smile at midright]
- Confirm statement.
- Edit statement. [show yue casual smile at midright]
- Confirm statement.

I feel like the intended operation of the director is meant to end at step 4, but because of the errors I sometimes have to edit a statement 2-3 times to get it to save properly. Has anyone else seen this issue?
Main Website
Includes information about and links to many of my current and past projects.

Major Game Projects
[Nightshade] Eldritch Academy, Eldritch University, Blooming Nightshade, Flowering Nightshade, Life as Designed
[Team Despair] Corpse Party D2 series

Post Reply

Who is online

Users browsing this forum: No registered users