Background is not showing up...

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
Zherot
Regular
Posts: 91
Joined: Tue Aug 08, 2017 9:10 pm
Contact:

Background is not showing up...

#1 Post by Zherot »

Don't know if you need to have a special format or anything but i have this:


-------------------------------------------------------------------------

define m = Character("Main Character", color="#00ff00")


# The game starts here.

label start:

# Show a background. This uses a placeholder by default, but you can
# add a file (named either "bg room.png" or "bg room.jpg") to the
# images directory to show it.

scene bg townmap


# This shows a character sprite. A placeholder is used, but you can
# replace it by adding a file named "eileen happy.png" to the images
# directory.



# These display lines of dialogue.

"Hello, cucks."

m "Well...."

m "Roma wasn't build in a night."

# This ends the game.

return

------------------------------------------------------

And im 100% sure that the image is in the images folder of that "proyect" so i don't know what to do... supposedly in the new version you don't need to declare the images just call them. Also i checked the name like 1000000 times it is correct.

Zherot
Regular
Posts: 91
Joined: Tue Aug 08, 2017 9:10 pm
Contact:

Re: Background is not showing up...

#2 Post by Zherot »

OMG... i thought the "bg" was an instruction but it was part of a name of the previous image... tutorials should be more clear about this seriously.

elkeweiss
Newbie
Posts: 1
Joined: Thu Dec 28, 2017 2:59 am
Contact:

Re: Background is not showing up...

#3 Post by elkeweiss »

Anyone helped you yet? If not getting a proper response try asking the same question on strack over flow.
For every Assignment Help Online, contact Prime Assignment writing service.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1958
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Background is not showing up...

#4 Post by Donmai »

Zherot wrote: Wed Aug 09, 2017 1:54 am i thought the "bg" was an instruction but it was part of a name of the previous image... tutorials should be more clear about this seriously.
bg is an image name tag, as you can see here: https://www.renpy.org/dev-doc/html/disp ... html#image
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Post Reply

Who is online

Users browsing this forum: Ocelot