I just started playing around with the new layered image system recently introduced, and I love it so far.
I am however having difficulty with one aspect.
This may be a dumb question, but how do you hide a specific layer/group/attribute?
The exact problem I am having is that I have effects that are not shown by default:
anger mark, blushes, other standard 'anime extreme expression' effects.
I can easily show them by calling the attribute:
show character blush.
but... how do I get rid of it afterwards?
Once I show it, I am not sure how to make it go away...
I mean, I could save a blank image with nothing in it and make it a 'clear' attribute I guess. But I feel like there is probably already a way that exists that I am missing.
Layered Image question : Hiding a specific layer?
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.
- ChroniclerOfLegends
- Regular
- Posts: 53
- Joined: Thu Feb 16, 2017 5:57 pm
- Projects: Scifi Non-Linear Visual Novel/Arcade/Adventure game. (No name yet)
- Contact:
- ChroniclerOfLegends
- Regular
- Posts: 53
- Joined: Thu Feb 16, 2017 5:57 pm
- Projects: Scifi Non-Linear Visual Novel/Arcade/Adventure game. (No name yet)
- Contact:
Re: Layered Image question : Hiding a specific layer?
Sorry to respond to my own topic, but I found the answer and wanted to share if it helped anyone else.
You don't need to make a blank image, just add a blank attribute to anything you want to be able to completely hide like so:
attribute noeffect default:
null
You don't need to make a blank image, just add a blank attribute to anything you want to be able to completely hide like so:
attribute noeffect default:
null
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Layered Image question : Hiding a specific layer?
Or more simply, just remove the attribute.
show character blush
Will show the character with the blush
show character -blush
Will remove the blush again.
show character blush
Will show the character with the blush
show character -blush
Will remove the blush again.
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
*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
Who is online
Users browsing this forum: Bing [Bot]