After the player's controller is changed (via player.set_controller) to god, the bottom GUI area seems to increase in altitude and draws over other GUI elements, such as those in the center GUI.
Normal controller:
After changing controller (clicking God! button):
Recreating the frame doesn't fix the problem as seen by cliking the Toggle frame button.
I don't know if there is a concept of altitude/z-index in the GUI system, but I think the center gui should stay on top of everything else.
[Rseding91] [for 0.16] [0.14.4] Changing controller puts bottom GUI over others
[Rseding91] [for 0.16] [0.14.4] Changing controller puts bottom GUI over others
- Attachments
-
- gui-overlay_0.0.1.zip
- (1.4 KiB) Downloaded 99 times
Factorio Mod Portal Notifier - https://fac-notify.ml/
Cut and paste tools - https://mods.factorio.com/mods/mickael9/cut-and-paste
Portable Chests - https://mods.factorio.com/mods/mickael9/portable-chests
Cut and paste tools - https://mods.factorio.com/mods/mickael9/cut-and-paste
Portable Chests - https://mods.factorio.com/mods/mickael9/portable-chests
Re: [0.14.4] [Rseding91] Changing controller puts bottom GUI over others
When you say "I think the center gui should stay on top of everything else" what exactly do you mean?
I can make the center GUI always-on-top but then it will be on top of even your character GUI (when you hit E) or any other GUI you open.
I can make the center GUI always-on-top but then it will be on top of even your character GUI (when you hit E) or any other GUI you open.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.14.4] [Rseding91] Changing controller puts bottom GUI over others
I think the mod center GUI should be on top of the 4 side GUIs. Like this (by altitude) :
Either :
3 Game center GUI (inventory)
2 Mod center GUI
1 All side GUIs (game and mod)
Or
3 Mod center GUI
2 Game center GUI (inventory)
1 All side GUIs (game and mod)
I honestly don't know which is better, but some game GUIs obviously need to always be on top (like the Escape menu), so perhaps it's easier to implement if all center game GUIs are on top of the mod center GUI.
The ideal answer would be "both" with the possibility to set the altitude of a GUI item upon its creation but is it worth the effort?
Either :
3 Game center GUI (inventory)
2 Mod center GUI
1 All side GUIs (game and mod)
Or
3 Mod center GUI
2 Game center GUI (inventory)
1 All side GUIs (game and mod)
I honestly don't know which is better, but some game GUIs obviously need to always be on top (like the Escape menu), so perhaps it's easier to implement if all center game GUIs are on top of the mod center GUI.
The ideal answer would be "both" with the possibility to set the altitude of a GUI item upon its creation but is it worth the effort?
Factorio Mod Portal Notifier - https://fac-notify.ml/
Cut and paste tools - https://mods.factorio.com/mods/mickael9/cut-and-paste
Portable Chests - https://mods.factorio.com/mods/mickael9/portable-chests
Cut and paste tools - https://mods.factorio.com/mods/mickael9/cut-and-paste
Portable Chests - https://mods.factorio.com/mods/mickael9/portable-chests