How to change the folder Auto Layered Images checks (SOLVED)

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
Geckos
Veteran
Posts: 471
Joined: Fri Aug 17, 2012 8:33 am
Completed: Brilliant Shadows, Perceptions of the Dead, The Phantom Icecream Truck
Projects: Embers of Magic, Pale Spectrum, Perceptions of the Dead
Organization: Ithaqua Labs
Tumblr: geckosart
Deviantart: sitaart
Contact:

How to change the folder Auto Layered Images checks (SOLVED)

#1 Post by Geckos » Sun Aug 26, 2018 6:09 pm

Hey there!
Been working on getting the new Layered Images working for my sprites.

How do I go about changing which folder the code looks in, for the auto variant?

If not, I guess I'll just have to get used to one big folder XD

Code: Select all

layeredimage raychel:

#    group hairbehind if_any "hoodie" auto variant "hoodie" prefix "hairbehind"
#    group hairbehind if_not "hoodie" auto variant "hoodieup" prefix "hairbehind"

#    group base auto:
#        attribute hoodie default

#    group hair if_any "hoodie" auto variant "hoodie" prefix "hair"
#    group hair if_not "hoodie" auto variant "hoodieup" prefix "hair"

#    group face auto:
#        attribute neut default
Last edited by Geckos on Sun Aug 26, 2018 11:32 pm, edited 1 time in total.
Image ImageImage

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: How to change the folder Auto Layered Images checks

#2 Post by trooper6 » Sun Aug 26, 2018 9:04 pm

You don't need one big folder. The game will look inside all folders in the images folder. So you can make as many subfolders as you like and it will still find the folders.
But just be careful about your naming conventions. The program is going to ignore the name of the subfolders and they won't be part of your definitions. So put the files in any subfolder inside images you want, but make sure the actual file name is complete.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
Geckos
Veteran
Posts: 471
Joined: Fri Aug 17, 2012 8:33 am
Completed: Brilliant Shadows, Perceptions of the Dead, The Phantom Icecream Truck
Projects: Embers of Magic, Pale Spectrum, Perceptions of the Dead
Organization: Ithaqua Labs
Tumblr: geckosart
Deviantart: sitaart
Contact:

Re: How to change the folder Auto Layered Images checks

#3 Post by Geckos » Sun Aug 26, 2018 11:32 pm

trooper6 wrote:
Sun Aug 26, 2018 9:04 pm
You don't need one big folder. The game will look inside all folders in the images folder. So you can make as many subfolders as you like and it will still find the folders.
But just be careful about your naming conventions. The program is going to ignore the name of the subfolders and they won't be part of your definitions. So put the files in any subfolder inside images you want, but make sure the actual file name is complete.
Oh wow!
Awesome. Thanks so much ^^
Image ImageImage

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]