Hi, I have been using monarch as screen manager and I love how easy it is to use. But only recently, I tried to do some popups and encounter some strange behavior. First is when I just use monarch.show(hash(“popup”)), the popup rendered behind the screen I was at previously. Subsequently, I used gui.set_render_order(15) to get it to the front but apparently, those text_nodes will still be in the front even though my DirtyLarry ui are hidden at the back. Is there anything I am missing? Thanks for the assistance in advance.
Text nodes with the default system font are rendered in the default render script separately (so that drawing debug text can work). If you use your own font that’s not going to happen.
I think I’ve got some similar issue, but in my case, it’s not only text but also a box node. I use layers to organize nodes. When I show a popup (I use my whDefRouter library) which is also GUI-based, I see all nodes under the popup except one, which is just a box with a text as a child. There’s a similar node which displays correctly. I don’t know what happens It doesn’t cause a big problem, so even if I can’t fix it, I can live with it.
And these are in different .gui scenes? Can you create a minimal example and share?
Yes, they’re in the different .gui scenes. I can try to create an example, but I’m not sure if the issue will be reproduced. I have this issue only at one screen. Everywhere else it’s fine. I can share the project with you privately.
Thanks! That had totally solved the issue I am facing. Good to know the purpose of the system font.