Image error/PLEASE HELP
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.
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.
Image error/PLEASE HELP
Icouldnt add any images to my visual novel game ,I have tried several times and it didnt work.I put all the images in the game(project) folder.PLEASE HELP
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3792
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Image error/PLEASE HELP
Place the images (in .jpg, .webp or .png format) inside the image folder located in the game folder.
Then in your script you need to show them. Since renpy 6.99.12, images are automatically defined, so the following is all you need to do:
Lets assume you have the file "flowers.jpg" in your images folder. To show this image in game, simply type:
The following will also work:
Then in your script you need to show them. Since renpy 6.99.12, images are automatically defined, so the following is all you need to do:
Lets assume you have the file "flowers.jpg" in your images folder. To show this image in game, simply type:
Code: Select all
label start:
show flowers
Code: Select all
label start:
show "flowers.jpg"
Code: Select all
label start:
show "images/flowers.jpg"
Code: Select all
image flowers = "flowers.jpg"
label start:
show flowers
Code: Select all
image flowers = "images/flowers.jpg"
label start:
show flowers
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: Image error/PLEASE HELP
Thanks Ill try that!
Re: Image error/PLEASE HELP
Thanks so much it worked!!!
Who is online
Users browsing this forum: No registered users