Background Images Won't Show (SOLVED)

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
ReinPy
Newbie
Posts: 7
Joined: Tue Apr 10, 2018 11:20 pm
Contact:

Background Images Won't Show (SOLVED)

#1 Post by ReinPy »

Hi! I've had a major issue whenever I try adding backgrounds to my game. The images I want to use are in the images directory, but whenever I add one and launch my game, the background doesn't show and is instead completely grey with the name of the image at the top of the screen. How can I fix this?
Last edited by ReinPy on Tue Apr 24, 2018 7:29 pm, edited 1 time in total.

User avatar
gas
Miko-Class Veteran
Posts: 842
Joined: Mon Jan 26, 2009 7:21 pm
Contact:

Re: Background Images Won't Show

#2 Post by gas »

Try define the image

Code: Select all

define bg myroom ="room.jpg"

label start:
    scene bg myroom
    
 
Without any code from you that's the best I can tell
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.

10 ? "RENPY"
20 GOTO 10

RUN

ReinPy
Newbie
Posts: 7
Joined: Tue Apr 10, 2018 11:20 pm
Contact:

Re: Background Images Won't Show

#3 Post by ReinPy »

gas wrote: Sun Apr 22, 2018 3:40 am Try define the image

Code: Select all

define bg myroom ="room.jpg"

label start:
    scene bg myroom
    
 
Without any code from you that's the best I can tell
Thank you so much! This fixed my problem!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], apocolocyntose, Google [Bot]