Where do I save the images?? ^^;;

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Post Reply
Message
Author
AishiteruWaYuuka
Newbie
Posts: 4
Joined: Wed Nov 05, 2008 11:25 pm
Contact:

Where do I save the images?? ^^;;

#1 Post by AishiteruWaYuuka »

Ugh, i'm ripping my hair out right now, because I have no idea whats wrong with my game.. :shock:

basically, what I want to do, is show an image when the character appears. So, i've put in all of the correct codes, (but just to be safe, if you know the code, please include it in your reply, who knows, I may be doing that wrong! Thank you!) and saved the images in the game folder, next to the script. But, once I run the game, it says that it cannot find the images. Am I saving them in the wrong place? Am I using the wrong codes? Can anyone give me any examples of codes, or perhaps a second solution?

I really need this as fast as possible, because this game is due in a few months!!

Thank you,

User avatar
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

Re: Where do I save the images?? ^^;;

#2 Post by Samu-kun »

Did you put extensions for your images in the code? Also, don't forget to put " " around your image files too.

AishiteruWaYuuka
Newbie
Posts: 4
Joined: Wed Nov 05, 2008 11:25 pm
Contact:

Re: Where do I save the images?? ^^;;

#3 Post by AishiteruWaYuuka »

Samu-kun wrote:Did you put extensions for your images in the code? Also, don't forget to put " " around your image files too.
Yes, I added the quotes, but what exactly do you mean by extensions?

User avatar
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

Re: Where do I save the images?? ^^;;

#4 Post by Samu-kun »

".jpg" or ".png" after the name of the file.

Actually, it'd be best if you just post your code here so we can have a look at it.

AishiteruWaYuuka
Newbie
Posts: 4
Joined: Wed Nov 05, 2008 11:25 pm
Contact:

Re: Where do I save the images?? ^^;;

#5 Post by AishiteruWaYuuka »

Ah, that, yes, I added that.

Oh, see the problem with that, is that it's on my work computer, and I don't have my USB at the moment. When you save an image, would it be possible for you to give me an example of what you write, and where you write it?

N0UGHTS
Miko-Class Veteran
Posts: 516
Joined: Mon Jul 28, 2008 7:47 pm
Location: California, USA
Contact:

Re: Where do I save the images?? ^^;;

#6 Post by N0UGHTS »

All images should go in the game directory of your project. Like so:
Image

And the script might look something like this:

Code: Select all

init:
    image logo base = "logo.png"

label stuff:
    show logo base

    a "That helps, right?"
Support questions like this should be in the Ren'Py sub-forum. The queries should also include specific details... Like your script?
World Community Grid
"Thanksgiving is a day for Americans to remember that family is what really matters.
"The day after Thanksgiving is when Americans forget that and go shopping." —Jon Stewart
Thank you for playing Alter Ego. You have died.

Post Reply

Who is online

Users browsing this forum: No registered users