Thank you, changing the name worked, but I have to say, this is so stupid just the '_' made it stop working
Not quite.
The underscore meant that each displayable had a single tag.
mc_neutral
,
mc_happy
, etc. Each was a single string of characters (without any sort of separator) and was treated as such.
Swapping that underscore for a space caused RenPy to treat each part of the identifier as
You must be registered to see the links
.
Where the tag would have been
mc
and the attributes would be been
neutral
and
happy
.
When RenPy uses such displayables, it will only show one unique "tag" on screen at a time. So showing
mc neutral
, followed by
mc happy
will replace the neutral image with the happy one - because as far as RenPy is concerned, both are
mc
.
This is further enhanced, because things like transitions and transforms will take the current tagged displayable's position, etc into account when showing its replacement. So if the first image is displayed in the middle of the screen using
show mc neutral at center with dissolve
and its replacement is going to be on the left using
show mc happy at left with move
, the
with move
will be from the middle of the screen to the left, because that is where the current
mc
tagged displayable is located.
Whilst it hasn't been stated in this thread, I'll also add that all these features are intended to be used with images that are used a sprites. That is, images which are much smaller than the full screen, NPC portraits, bouncing balls, moveable buildings, etc. Full screen images should be shown using
scene
, not
show
. There is an edge case where character portraits are being used via the
side
image tags, where full screen images are shown using
scene
, but those scenes are also using tags and attributes, so that the
You must be registered to see the links
image is changed based on the mood of the character (or night/day or clothing, etc).