question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

We 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:closed
  • Created 2 years ago
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
opariffazmancommented, Aug 20, 2021

Excellent progress mate! Here’s some findings for boon/hammer selection where I believe they should appear directly on top of Zag’s hand.

image

image

1reaction
nbusseneaucommented, Aug 19, 2021

I think I’ve fixed almost everything in v0.8.0 😄

2021-08-20_00-29-25_Hades

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Run Linux GUI apps with WSL | Microsoft Learn
Windows Subsystem for Linux (WSL) now supports running Linux GUI applications (X11 and Wayland) on Windows in a fully integrated desktop ...
Read more >
Install Ubuntu on WSL2 and get started with graphical ...
Upgrades, maintenance, support, and fully managed options for long-term ... Your subscriptions › · Support login › ... Install and use a GUI...
Read more >
How to install Linux GUI apps on Windows 10 - Pureinfotech
Here are the steps to install and run Linux GUI apps with WSL on Windows 10. This guide also helps you set up...
Read more >
11.2. GUI Support - Wireshark
Creates and manages a modal progress bar. This is intended to be used with coroutines, where a main UI thread controls the progress...
Read more >
Graphical user interface - Wikipedia
The GUI graphical user interface, is a form of user interface that allows users to interact with electronic devices through graphical icons and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found