Folder for images? [Fixed]

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
choklitchan
Regular
Posts: 143
Joined: Sun Mar 13, 2011 12:28 am
Contact:

Folder for images? [Fixed]

#1 Post by choklitchan » Mon Apr 25, 2011 8:34 am

I have a mac, so I'm not sure that putting images in the game folder is exactly the same. Up until now I've just been putting all my images in "game", along with the bytecode.rpyb, options, etc. I'd love to make it more organized, but whenever I try to create a new folder, I get a message saying my images are undefined.
Can anyone help me, please? :)
Last edited by choklitchan on Mon Apr 25, 2011 10:23 am, edited 1 time in total.
Finished:
Shrinkled
Mobile Food Madness (Polymorphic Games)
Works in Progress
The Truth of the Legends (Hiatus)

shuen
Regular
Posts: 72
Joined: Tue Mar 22, 2011 2:36 pm
Contact:

Re: Folder for images?

#2 Post by shuen » Mon Apr 25, 2011 8:40 am

You just need to modifly the location of your picture:
"your_picture.png"
become
"image_folder/your_picture.png"
Image
.Traditional Chinese Site.
~Illustrator+Graphic/Web Designer~

User avatar
choklitchan
Regular
Posts: 143
Joined: Sun Mar 13, 2011 12:28 am
Contact:

Re: Folder for images? [Fixed]

#3 Post by choklitchan » Mon Apr 25, 2011 8:48 am

How would i do that? Would that just be renaming the image name?

I tried putting
image pic = "image_folder/pic.png" in the script,
but I got "can find the file".
Do I have to do something in the game folder?


Nevermind, I got what what you were saying. Thank you very much! :D
Finished:
Shrinkled
Mobile Food Madness (Polymorphic Games)
Works in Progress
The Truth of the Legends (Hiatus)

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot], _ticlock_