Is it possible to change the default image location?
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.
-
- Newbie
- Posts: 23
- Joined: Tue Mar 20, 2018 11:37 am
- itch: slim-games
- Contact:
Is it possible to change the default image location?
Hi, I would like to know if it is possible to change the renpy default image folder? For example if I press a key it will change to a different image folder as the default folder.
Play my game (nsfw) for free at: https://www.patreon.com/SLim_Games
-
- Newbie
- Posts: 23
- Joined: Tue Mar 20, 2018 11:37 am
- itch: slim-games
- Contact:
Re: Is it possible to change the default image location?
Nobody got an answer?
Play my game (nsfw) for free at: https://www.patreon.com/SLim_Games
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: Is it possible to change the default image location?
Though you can set the folders that Ren'py searches for images, the evaluation is *likely* done at init so would not really work on a dynamic basis.
You can try if you want though:
Image Search Path
or
Archive Searching
Using DynamicImages would likely be best though:
You can try if you want though:
Image Search Path
or
Archive Searching
Using DynamicImages would likely be best though:
Code: Select all
default image_style = "fuzzy"
image some_ref = DynamicImage( "images/[image_style]/some_image.png" )
label start:
show some_ref
"..."
$ image_style = "gaussian"
"..."
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
-
- Newbie
- Posts: 23
- Joined: Tue Mar 20, 2018 11:37 am
- itch: slim-games
- Contact:
Re: Is it possible to change the default image location?
cool thanks a lot, I'm gonna try thatRemix wrote: ↑Fri Mar 30, 2018 5:33 am Though you can set the folders that Ren'py searches for images, the evaluation is *likely* done at init so would not really work on a dynamic basis.
You can try if you want though:
Image Search Path
or
Archive Searching
Using DynamicImages would likely be best though:Code: Select all
default image_style = "fuzzy" image some_ref = DynamicImage( "images/[image_style]/some_image.png" ) label start: show some_ref "..." $ image_style = "gaussian" "..."
Play my game (nsfw) for free at: https://www.patreon.com/SLim_Games
Who is online
Users browsing this forum: No registered users