GUI support
See original GitHub issueWe need to be able to automatically tweak the GUI according to the computed viewport.
All GUI components are managed from *.lua and *.sjson files in the Content directory.
EDIT: I’ve released v0.2.0 with initial support for GUI patching (SJSON + Lua). This first version of GUI patching patches both SJSON and Lua files:
- Automatic patching of SJSON
X,Y, etc. properties based on their original values and the new viewport. - Registering a custom Lua mod for recalculating various hardcoded values and repositioning dynamic calls.
It works fine enough, though there are still some rough edges to tackle – I did not get all the vignette/overlays right yet, e.g. when transitioning between scenes.
In a future version I’d also move away from automatic SJSON patching to have a bit more control about how it detects what to patch, but for now the automatic patcher will do.
EDIT: Been working on progressively fixing stuff, most overlays/vignettes are good, I’m now working my way through all screens/shops. v0.6.0 is out if you’d like to have a try. Not everything’s fixed yet but it’s looking way better already 😃
EDIT: I think I’ve fixed almost everything in v0.8.0 😄 There are a bunch of small effects left to fix but we’re already in a excellent state, with all screens done and all major effects 😃
EDIT: I’m pretty sure I’ve fixed almost everything in latest version v0.11.0 🎉 Finally got rid of the automatic SJSON patcher to move towards fully controlled patching.
EDIT: Released v0.12.0 and v0.13.0 with fixes for last nits (victory screen, end credits, etc.). I think we should be good for a v1.0.0 release, and also publishing on Nexus Mods. Closing issue.
Left to do (updated: v0.13.0):
- Texts overflowing out of GUI components
- Locked keepsake icons not properly positioned
- Top left icon in boon choice menu not properly positioned
- Boon re-roll vignette not scaling
- Poison animation not scaling
- Lava animation not scaling
- [Redacted] boiling blood animation not scaling
- Gun ammo UI + reload UI offset to the right
- Companion summon overlay fixed on the left / not centred
- Mid-run trait UI (B button) bottom graphics not centred
- Epilogue sigils not properly positioned
To determine if something is needed / possible:
- Victory screen fixed on the left / not centred
- #4
- Fullscreen displacement FX for various occasions (calls, Chaos interact, Hades speaking, etc.)
- End credits
- Epilogue
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (11 by maintainers)

Top Related StackOverflow Question
Excellent progress mate! Here’s some findings for boon/hammer selection where I believe they should appear directly on top of Zag’s hand.
I think I’ve fixed almost everything in v0.8.0 😄
There are a bunch of small effects left to fix but we’re already in a excellent state, with all screens done and all major effects 😃 I’m adding a list of outstanding issues in OP.