You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a use for having several side images present in the say screen, typically one on the left and one on the right.
I suggest adding a slot parameter to the Sideimage function, defaulting to 0, and a sideimage_slot parameter to Characters which sets them to (typically) have their image be shown on the left or on the right.
A function such as get_sideimage_slot, intended to be used in the say screen, returns the slot number of the speaking character or None if it has no side image. Its behavior when Sideimage returns None is unspecified (there is the use case where image="greg" is passed to a Character but the side greg image doesn't exist, it's just to pilot the greg image using say-with-attribute). That function may be useful ir order to apply transforms (like blurring or sepia) to the character on the right who spoke before and is still shown but doesn't speak now.
A way should be found for clearing a specific slot of the image it contains - since the non-active slots are retained from previous lines.
The text was updated successfully, but these errors were encountered:
A function to set a specific sideimage slot to an arbitrary value — for example, to set up portrait of the character you are talking to before they speak — would be useful. It will also enable slot clearing by setting specific slot to None.
the character you describe would have no other use than to turn off that slot, so it seems very magic and not very intuitive
a new statement is something that should not be introduced too lightly... but at the same time the sideimage management is already quite magic and making it explicit could have benefits
Python, as I said, is not predictable... however, removing a portrait and the associated image doesn't bring up a new image which would fail to be predicted, it just removes the need for an image that was predicted, ultimately for nothing. That could work.
There is a use for having several side images present in the say screen, typically one on the left and one on the right.
I suggest adding a
slot
parameter to the Sideimage function, defaulting to 0, and asideimage_slot
parameter to Characters which sets them to (typically) have their image be shown on the left or on the right.A function such as get_sideimage_slot, intended to be used in the say screen, returns the slot number of the speaking character or None if it has no side image. Its behavior when Sideimage returns None is unspecified (there is the use case where
image="greg"
is passed to a Character but theside greg
image doesn't exist, it's just to pilot thegreg
image using say-with-attribute). That function may be useful ir order to apply transforms (like blurring or sepia) to the character on the right who spoke before and is still shown but doesn't speak now.A way should be found for clearing a specific slot of the image it contains - since the non-active slots are retained from previous lines.
The text was updated successfully, but these errors were encountered: