Ugh, i'm ripping my hair out right now, because I have no idea whats wrong with my game..
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,
Where do I save the images?? ^^;;
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
-
- Newbie
- Posts: 4
- Joined: Wed Nov 05, 2008 11:25 pm
- Contact:
- 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?? ^^;;
Did you put extensions for your images in the code? Also, don't forget to put " " around your image files too.
-
- Newbie
- Posts: 4
- Joined: Wed Nov 05, 2008 11:25 pm
- Contact:
Re: Where do I save the images?? ^^;;
Yes, I added the quotes, but what exactly do you mean by extensions?Samu-kun wrote:Did you put extensions for your images in the code? Also, don't forget to put " " around your image files too.
- 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?? ^^;;
".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.
Actually, it'd be best if you just post your code here so we can have a look at it.
-
- Newbie
- Posts: 4
- Joined: Wed Nov 05, 2008 11:25 pm
- Contact:
Re: Where do I save the images?? ^^;;
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?
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?
-
- Miko-Class Veteran
- Posts: 516
- Joined: Mon Jul 28, 2008 7:47 pm
- Location: California, USA
- Contact:
Re: Where do I save the images?? ^^;;
All images should go in the game directory of your project. Like so:
And the script might look something like this:
Support questions like this should be in the Ren'Py sub-forum. The queries should also include specific details... Like your script?
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?"
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.
"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.
Who is online
Users browsing this forum: No registered users