Help with Images

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
XcaaaL
Newbie
Posts: 4
Joined: Mon Aug 25, 2014 8:58 pm
Contact:

Help with Images

#1 Post by XcaaaL »

I am a total noob at this but I was wondering if there was a way to insert images that are in a different folder to the game folder in Ren'Py?

User avatar
meiri
Regular
Posts: 177
Joined: Wed Jun 25, 2014 6:21 pm
Projects: Tutor Tabitha, Movement
Organization: Blue Bottlecap Games
Location: East Coast, US
Contact:

Re: Help with Images

#2 Post by meiri »

Lets say you have a character image in a folder named "sprites" here's what you'd do:

Code: Select all

image character = "sprites/character.png"
You can have more subfolders too:

Code: Select all

image bg city street d = "backgrounds/city/street/d.jpg"
What's in a loop? A loop iterated in any other way would output as sweet.
--
Have a look at my GxG kinetic novel, Movement, if you have the chance?

XcaaaL
Newbie
Posts: 4
Joined: Mon Aug 25, 2014 8:58 pm
Contact:

Re: Help with Images

#3 Post by XcaaaL »

meiri wrote:Lets say you have a character image in a folder named "sprites" here's what you'd do:

Code: Select all

image character = "sprites/character.png"
You can have more subfolders too:

Code: Select all

image bg city street d = "backgrounds/city/street/d.jpg"
Thank you! :D

Post Reply

Who is online

Users browsing this forum: babayi0827, Bing [Bot], Semrush [Bot]