Help! my images not showing in RenPy

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
SrMika
Newbie
Posts: 3
Joined: Thu Aug 25, 2022 9:48 am
IRC Nick: Mika
Location: Turkey
Discord: MIKA#2266
Contact:

Help! my images not showing in RenPy

#1 Post by SrMika » Thu Aug 25, 2022 11:37 am

As i said in the title my assets/images not showing in the game.
I recently downloaded RenPy and i was following the quick startup on the site, I don't think there is an error with my images , i even copied images from the example game too!
Heres some screenshots of the issues and the code :

What happens if i try to show an image :
Ekran Alıntısı.JPG
ingame screenshot of
what happens if i try to show an image
The code that i copied from the quickstart:

Code: Select all

define s = Character('Sylvie', color="#ff7cab")
define m = Character('Me', color="#4466cd")

label start:

s "Hi there! How was class?"

m "Good..."

"I can't bring myself to admit that it all went in one ear and out the other."

s "Are you going home now? Wanna walk back with me?"

m "Sure!"

scene bg meadow

"After a short while, we reach the meadows just outside the neighborhood where we both live."

"It's a scenic view I've grown used to. Autumn is especially beautiful here."

"When we were children, we played in these meadows a lot, so they're full of memories."

m "Hey... Umm..."

show sylvie green smile

"She turns to me and smiles. She looks so welcoming that I feel my nervousness melt away."

"I'll ask her...!"

m "Ummm... Will you..."

m "Will you be my artist for a visual novel?"

show sylvie green surprised

"Silence."  

User avatar
SrMika
Newbie
Posts: 3
Joined: Thu Aug 25, 2022 9:48 am
IRC Nick: Mika
Location: Turkey
Discord: MIKA#2266
Contact:

Re: Help! my images not showing in RenPy

#2 Post by SrMika » Thu Aug 25, 2022 11:50 am

I just changed just single line of code and the images name "bg meadow" to "bg-meadow" and everything is fixed :|
I don't know if it was the proper fix but since its working for now im not gonna change it by myself without any help from someone..

Also heres the ss:
Ekran Alıntısı2.JPG

User avatar
Alex
Lemma-Class Veteran
Posts: 2981
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Help! my images not showing in RenPy

#3 Post by Alex » Thu Aug 25, 2022 1:17 pm

SrMika wrote:
Thu Aug 25, 2022 11:50 am
I just changed just single line of code and the images name "bg meadow" to "bg-meadow" and everything is fixed :|
...
In Ren'Py you have two options:
- use automatically defined images (name of each image will depend of file name),
- manually define images (you could use any name).

Check this section to learn more about images - https://www.renpy.org/doc/html/quickstart.html#images

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot]