Background problem.

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
WolfHunner
Regular
Posts: 33
Joined: Fri Nov 02, 2012 12:39 am
Organization: /wooo/
Contact:

Background problem.

#1 Post by WolfHunner »

Programming newbie here I got problems with uploading a image. Not sure if this is where I post a issue, but it's a background issue to be exact.
http://i.imgur.com/uCUCJQQ.jpg
Anyone know what to do?

User avatar
Sslaxx
Regular
Posts: 52
Joined: Thu Jul 18, 2013 7:35 pm
Deviantart: sslaxx
Github: Sslaxx
Skype: Sslaxx
Location: Malvern, UK
Discord: Sslaxx#0159
Contact:

Re: Background problem.

#2 Post by Sslaxx »

You've defined the image, but not told Ren'Py to display it.

This should do it:

Code: Select all

image bg building = "building view.jpg"

scene bg building

(Rest of your code here)
Stuart "Sslaxx" Moore.

User avatar
WolfHunner
Regular
Posts: 33
Joined: Fri Nov 02, 2012 12:39 am
Organization: /wooo/
Contact:

Re: Background problem.

#3 Post by WolfHunner »

Sslaxx wrote:You've defined the image, but not told Ren'Py to display it.

This should do it:

Code: Select all

image bg building = "building view.jpg"

scene bg building

(Rest of your code here)
Okay that fix the problem in a way. Now this: http://i.imgur.com/4V3Yl97.jpg

User avatar
Sslaxx
Regular
Posts: 52
Joined: Thu Jul 18, 2013 7:35 pm
Deviantart: sslaxx
Github: Sslaxx
Skype: Sslaxx
Location: Malvern, UK
Discord: Sslaxx#0159
Contact:

Re: Background problem.

#4 Post by Sslaxx »

WolfHunner wrote:
Sslaxx wrote:You've defined the image, but not told Ren'Py to display it.

This should do it:

Code: Select all

image bg building = "building view.jpg"

scene bg building

(Rest of your code here)
Okay that fix the problem in a way. Now this: http://i.imgur.com/4V3Yl97.jpg
You need to use this line exactly as:

Code: Select all

[b]scene bg building[/b]
Stuart "Sslaxx" Moore.

User avatar
WolfHunner
Regular
Posts: 33
Joined: Fri Nov 02, 2012 12:39 am
Organization: /wooo/
Contact:

Re: Background problem.

#5 Post by WolfHunner »


User avatar
Sslaxx
Regular
Posts: 52
Joined: Thu Jul 18, 2013 7:35 pm
Deviantart: sslaxx
Github: Sslaxx
Skype: Sslaxx
Location: Malvern, UK
Discord: Sslaxx#0159
Contact:

Re: Background problem.

#6 Post by Sslaxx »

OK, for some reason your image doesn't have the ".jpeg" extension? So rename it (right-click on the image in Explorer and select "Rename") and rename it "Building.jpeg".
Stuart "Sslaxx" Moore.

User avatar
WolfHunner
Regular
Posts: 33
Joined: Fri Nov 02, 2012 12:39 am
Organization: /wooo/
Contact:

Re: Background problem.

#7 Post by WolfHunner »

Same problem....

Edit: Fixed it! Thanks.

Post Reply

Who is online

Users browsing this forum: No registered users