Can I set sprite manager sprites to a layer so they become invisible when the middle mouse button is clicked (like the say window)?
On the same note, how can I remove the say window until I want to make it visible again? pause is not what I need because it freezes the game, I just want the say window to get out of my way while the user uses screens and sprites in a battle system.
Finally, how can I tell Ren'Py to hide a custom layer with the middle mouse button?
[SOLVED]Sprite manager sprites and layers
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.
- Milkymalk
- Miko-Class Veteran
- Posts: 753
- Joined: Wed Nov 23, 2011 5:30 pm
- Completed: Don't Look (AGS game)
- Projects: KANPEKI! ★Perfect Play★
- Organization: Crappy White Wings
- Location: Germany
- Contact:
[SOLVED]Sprite manager sprites and layers
Last edited by Milkymalk on Thu Jul 24, 2014 8:19 am, edited 1 time in total.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Sprite manager sprites and layers
1) Yes, put it in a screen or on the transient layer.
2) use "window hide" to hide the whindow, and "window show" to show it again.
3) You can append the new layer to config.context_clear_layers.
2) use "window hide" to hide the whindow, and "window show" to show it again.
3) You can append the new layer to config.context_clear_layers.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- Milkymalk
- Miko-Class Veteran
- Posts: 753
- Joined: Wed Nov 23, 2011 5:30 pm
- Completed: Don't Look (AGS game)
- Projects: KANPEKI! ★Perfect Play★
- Organization: Crappy White Wings
- Location: Germany
- Contact:
Re: Sprite manager sprites and layers
Thank you! I found out number 1 by myself by now, but the rest will come in very handy soon
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Who is online
Users browsing this forum: Google [Bot], henne