background not appearing?

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
friend
Newbie
Posts: 16
Joined: Fri Jul 29, 2016 6:26 am
Completed: no life
Projects: nothing
Soundcloud: witchfiend
itch: witchfiend
Location: New York
Discord: justinn#5186
Contact:

background not appearing?

#1 Post by friend »

help.PNG
help2.PNG
help3.PNG
for some reason my background images don't appear?? it's not a black space as if i didn't put a background?? i'm really upset about this i hope someone can help?

User avatar
solarProtag
Regular
Posts: 37
Joined: Sun May 28, 2017 12:17 am
Completed: http://solarprotag.weebly.com/gamedev.html
Projects: Battle Live Series
Tumblr: solarasketchbook
itch: solarprotagonist
Contact:

Re: background not appearing?

#2 Post by solarProtag »

If you're trying to call the file without needing to declare it like that, the file name itself needs to be bg night.png instead of just night.png like you have it currently.

Otherwise defining the image like so:

Code: Select all

image bg night = "/vn art/night.png"
will work as well when you show it later.
Since you have your images in that separate folder it's better to define your images.

Edit:
Looking at it again, it seems like you also haven't defined your speaking characters and such. I'd highly recommend reading through the quickstart guide over at the renpy docs as it has a lot of the info there can be of big help to you!
https://renpy.org/doc/html/quickstart.html

User avatar
friend
Newbie
Posts: 16
Joined: Fri Jul 29, 2016 6:26 am
Completed: no life
Projects: nothing
Soundcloud: witchfiend
itch: witchfiend
Location: New York
Discord: justinn#5186
Contact:

Re: background not appearing?

#3 Post by friend »

hey i'm really sorry but i'm so dumb
i've having the same problem again
except this time i did what you said before
but it didn't work again for a second background???

so sorry to be a bother but can u help me out again???
Attachments
please2.PNG
please1.PNG

User avatar
hell_oh_world
Miko-Class Veteran
Posts: 777
Joined: Fri Jul 12, 2019 5:21 am
Contact:

Re: background not appearing?

#4 Post by hell_oh_world »

I suggest you read this:
https://www.renpy.org/doc/html/displayi ... ing-images
The good documentation of the engine is always your friend if you're struggling.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Kia