Adding Images in Ren'py is not working for me
Posted: Fri Jul 03, 2015 8:25 pm
Hello, I am new to this forum and to Ren'py. I have been trying to practice using the tutorial and also trying to follow each step to learn in general what can be done with the program. Unfortunately I have come across a problem that I cannot solve on my own. I have been trying to show an image in the game. I have done it as the tutorial showed and I have also looked at different solutions on the forum so I would not have to bother anyone here. I could not find a solution to my problem and I know 100% I am not making any noticeable mistakes when I input the code. I am using the 6.99.4 version of the program. All other codes seem to work, but with the image I am getting a problem that from what I have been reading, is not so rare, but the solutions are different for each case I have seen. Ren'py keeps telling me it cannot find the image that I try to show, even though it is in the images folder.
This is the code I used:
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
image mon = "mark_of_ninja.jpg"
image intro = "empire.png"
# Declare characters used by this game.
define e = Character('Eileen', color="#c8ffc8")
define l = Character('Luciano', color="#c8ffc8")
# The game starts here.
label start:
show intro
show mon
l "I beat you to it AI"
e "You've created a new Ren'Py game."
e "Once you add a story, pictures, and music, you can release it to the world!"
e "Who was that? Game GOD? Is that you?"
l "Who do you think would make such a cheesy line? Of course it´s me."
return
Thanks to anyone who might be able to help me out.
This is the code I used:
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
image mon = "mark_of_ninja.jpg"
image intro = "empire.png"
# Declare characters used by this game.
define e = Character('Eileen', color="#c8ffc8")
define l = Character('Luciano', color="#c8ffc8")
# The game starts here.
label start:
show intro
show mon
l "I beat you to it AI"
e "You've created a new Ren'Py game."
e "Once you add a story, pictures, and music, you can release it to the world!"
e "Who was that? Game GOD? Is that you?"
l "Who do you think would make such a cheesy line? Of course it´s me."
return
Thanks to anyone who might be able to help me out.