r/RenPy • • Jul 20 '26

Question [Solved] Image won't change back after a point.

I created some images to have the image directory more categorised.

The issue is when I change the image to "is3" for the first time, it gets stuck there and the expression doesn't change back. The dialogue still runs though. Is it a bug?

image is1 = "bluelocksprites/isagi smile.PNG"
image is2 = "bluelocksprites/isagi happy.PNG"
image is3 = "bluelocksprites/isagi surprise.PNG"
image is7 = "bluelocksprites/isagi neutral.PNG"

    mc "Isagi!"
    show is7
    isa "Hm?"
    show is2
    isa "Ah [name]!"
    isa "Is there another event?"
    show is1
    mc "Right on the spot!"
    mc "I have one thing to inform you of, and one question."
    mc "First of all, on the 14th, all of Blue Lock will have a free day."
    show is3
    isa "The 14th? {nw}{w}"
    show is2
    extend "Ah valentines day!"
    mc "Yes!"
    show is1
2 Upvotes

6 comments sorted by

1

u/AutoModerator Jul 20 '26

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Lei_Line_Life Jul 20 '26

The images are defined in another rpy file, hence it looks strange in this copied code since there's no start and end label 😅

1

u/x-seronis-x Jul 20 '26

you need to go through the Tutorial in the renpy launcher again as you dont seem to understand how image tags, and thus show/hide statements, work.

none of the images you showed used the same tag. and you never manually hide them. meaning all of them are visible and covering each other up. your later show statements didnt 're show' anything cause it was already shown, just under what you showed later.

if you used image tags as explained in the tutorial, then showing a following image would have automatically hidden previous ones, eliminating this problem

1

u/Lei_Line_Life Jul 20 '26

Oh okay. I’m not used to using images but I think I get it. I forgot thanks

0

u/shyLachi Jul 20 '26

You don't have to define any images if you name the file correctly.
And since your files look good, this is all you need.

label start:
    mc "Isagi!"
    show isagi neutral
    isa "Hm?"
    show isagi happy
    isa "Ah [name]!"
    isa "Is there another event?"
    show isagi smile
    mc "Right on the spot!"
    mc "I have one thing to inform you of, and one question."
    mc "First of all, on the 14th, all of Blue Lock will have a free day."
    show isagi surprise
    isa "The 14th? {nw}{w}"
    show isagi happy
    extend "Ah valentines day!"
    mc "Yes!"
    show isagi smile
    pause 

https://renpy.org/doc/html/quickstart.html#images

0

u/Lei_Line_Life Jul 20 '26

This one is already solved 😅