Can't use image directory call with dots in filename
Can't use image directory call with dots in filename
I have a file called ball.0001.png, placed in the game/images folder. When attempting to call it in script.rpy, it shows the default image. Changing ball.0001.png to ball-0001.png works fine.
A Tale of a Meeting. A short sci-fi VN featuring space opera in one part of the universe.
Dorne's Lets Read Visual Novels
https://www.youtube.com/user/dornevn/videos
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Can't use image directory call with dots in filename
You shouldn't be using dots in file names, except before the file extension. https://www.renpy.org/doc/html/displayi ... -directory
To completely get rid of any possible problems, your file name should actually beorif you want to use 'ball' as a name tag.
To completely get rid of any possible problems, your file name should actually be
Code: Select all
ball_0001.png
Code: Select all
ball 0001.png
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Re: Can't use image directory call with dots in filename
I see. The program I use opentoonz renders image sequence names as the name dot four number sequence dot png.
If this is not allowed in Ren'Py, I'll need to create a script to convert my image sequences to the appropriate naming scheme. Thanks!
If this is not allowed in Ren'Py, I'll need to create a script to convert my image sequences to the appropriate naming scheme. Thanks!
A Tale of a Meeting. A short sci-fi VN featuring space opera in one part of the universe.
Dorne's Lets Read Visual Novels
https://www.youtube.com/user/dornevn/videos
Who is online
Users browsing this forum: No registered users