Is there any way to hide the hud when someone is speaking? I know i could hide it manually but i'm hoping theres another way so I don't have to do it everytime i start writing dialogue. It'd be perfect if there was a way of knowing when dialogue is being shown on screen and combining that with the showif on the HUD screen?
I just tried setting a variable when the say screen is shown and turning it off when it's hidden, which seems to work for hiding it but it doesnt show again once the dialogue is over.
Thanks.
[SOLVED] Hiding HUD during dialogue segments
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.
- zombiehead
- Newbie
- Posts: 10
- Joined: Sun Jul 26, 2020 8:45 am
- Contact:
[SOLVED] Hiding HUD during dialogue segments
Last edited by zombiehead on Mon Aug 10, 2020 3:20 pm, edited 2 times in total.
- RicharDann
- Veteran
- Posts: 286
- Joined: Thu Aug 31, 2017 11:47 am
- Contact:
Re: Hiding HUD during dialogue segments
You could use the renpy.get_screen() function to check if the dialogue screen is being shown:
Code: Select all
showif not renpy.get_screen("say"):
text "show HUD"
The most important step is always the next one.
- zombiehead
- Newbie
- Posts: 10
- Joined: Sun Jul 26, 2020 8:45 am
- Contact:
Re: Hiding HUD during dialogue segments
Perfect, thanks!RicharDann wrote: ↑Mon Aug 10, 2020 9:47 am You could use the renpy.get_screen() function to check if the dialogue screen is being shown:Code: Select all
showif not renpy.get_screen("say"): text "show HUD"
Who is online
Users browsing this forum: Google [Bot]