I ran onto a weird problem, and I have no clue how to solve this issue. Basically, when my images are put directly in 'images' folder, everything works just fine. The problem is that I decided to organize everything a little bit, because it started to get really messy and hard to follow. I created new subfolders in images folder for every chapter of my game and in these subfolders, I created another subfolders for every location where the action takes place. Now instead of having individual number per each render or unique name, they are all named, let's say, from 1-10 but since they are in different folders there's no problem with it. It makes coding way easier for me, I guess. Now, the problem is that renpy clearly can't find the path to those images. But why? Should I define them and how?
I need to use this code, because as you may see each render has a different filter attached to it [which is chosen by the player]
now this code works just fine if the image named '1' is directly in the images folder
Code: Select all
$ renpy.show("1"+persistent.filter)
but with what was said earlier, now I have a lot of '1' images divided in all of subfolders, and when I'm trying to create a path renpy doesn't see the image.
example
Code: Select all
$ renpy.show("ch1/home/1"+persistent.filter)
So, how the hell should it be done?