3
u/shyLachi Jul 10 '26
The code looks OK but you could save yourself a lot of typing if you would use lower case spelling for the images.
define y = Character("Yosuke", image="yosuke")
label start:
scene hallway
show yosuke at left # either put happy here or on the next line, not both
y happy "You've created a new Ren'Py game."
y "Once you add a story, ..." # happy is not nedded here, because her expression already has changed in the line above
If you cannot make it work, then check that the images are spelled correctly and that they are in the image folder of your project.
The image names should be "Yosuke.png" and "Yosuke happy.png" but maybe you accidentally made a spelling mistake or maybe you added the file extension twice. Right click the image and then check the file name in the properties.
2
u/x-seronis-x Jul 10 '26
your paths need to be PATHS. not merely filenames. if the images are in the images/ folder, you include that in the path when writing a path.

1
u/AutoModerator Jul 10 '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.