- May 3, 2018
- 1,403
- 1,016
I'm running into the titled issue, where renpy.image() seems to return None, and I can't figure out why
my only guess is maybe I'm doing something wrong with the image file path, but I don't know what, as you can see in the code below I try to hard code the path as well but still I get None
Code:
source problem (causes my other scripts to fail)
here's the file structure
because I can only run load images in an
I have seen somewhere, something about using %s at the end right before ".png" but I can find where I came across this and what it signifies
The only thing that matters is shoving all the images into the
I usually try not to be annoying, trying to solve problems on my own before asking for help, but I can't think of a damn thing to search for to figure out what's wrong, everything I understand says this is ok code. Any help would be appreciated.
my only guess is maybe I'm doing something wrong with the image file path, but I don't know what, as you can see in the code below I try to hard code the path as well but still I get None
Code:

source problem (causes my other scripts to fail)

here's the file structure

because I can only run load images in an
init:
I can't test by hand what it takes to make the code work
I have seen somewhere, something about using %s at the end right before ".png" but I can find where I came across this and what it signifies
The only thing that matters is shoving all the images into the
b_normal
array, to be used by other scripts. So if need be, I can manually type each entry and ignore the for loop... but I feel I should be able to make the for loop work, but what concerns me is that my test code after the for looped didn't work either, so I must be missing something.I usually try not to be annoying, trying to solve problems on my own before asking for help, but I can't think of a damn thing to search for to figure out what's wrong, everything I understand says this is ok code. Any help would be appreciated.