Commit Graph

9 Commits

Author SHA1 Message Date
Lapask
0006284f40 Update fixed-resizable-hybrid (#7612)
Bug fixes
- Fixed cutscene viewport size bug with chatboxes opening and closing
- Fixed text wrapping issue with wideChat enabled
2025-03-10 14:25:07 -07:00
Lapask
3c90829cde update fixed-resizable-hybrid (#7558)
Option to reposition minimap orbs
- Resizable mode has a larger minimap than fixed mode in the III and IV quadrants. This adds an optional setting to move the run and spec orbs slightly further away to prevent click-through (where clicking run also clicks on the minimap, moving the character)

Failsafe sprite loader
- Rarely, the minimap sprites fail to load. This adds a fail-safe check when inventory tabs are changed to ensure that the widgets are loaded, assuming the game is in fixed-resizable mode.
2025-03-02 21:22:09 -08:00
Lapask
541baf54d7 update fixed-resizable-hybrid (#7539)
* Update fixed-resizable-hybrid

Improvements to Cutscene Handling and Wide Chatbox
- Switched wide chatbox from using overlays to instead using widgets, allowing for interface styles or resource packs to be compatible with the chatbox.
- Added option for repositioning chat buttons in wide chatbox mode (stretched vs centered options).
- Generalized fixFairyWidget function to also fix other widgets with dynamic/full screen backgrounds (e.g. canoe)
- Added cutscene handling (varbit 542) which allows for widget positioning during cutscenes. This also prevents the inventory widget from being hidden similar to in fixed mode.

Improved ingame overlay handling
- TOB party overlay bounding restriction
- MTA clipping

Properly handling transparent chatbox
- Prevents viewport resizing when chatbox is transparent.
- Expands height of viewport to extend under the chat buttons in transparent chatbox.

Default Config Settings
- set centerChatboxButtons to true by default

Restored border overlay png file (deleted by accident)
- also updated overlay to only load the image once (static final)

* Update fixed-resizable-hybrid

Also remove unused import / keymanager
2025-02-28 19:12:49 -08:00
Lapask
874a44852c Update fixed-resizable-hybrid (#7441) 2025-02-16 16:17:24 -06:00
Lapask
11d27a49be Update fixed-resizable-hybrid (#7410)
Fixed minimap widget bug with world hopping in specific areas (e.g. wildy / tormented demons)
2025-02-12 23:52:54 +01:00
Lapask
7ae158a9cd Update fixed-resizable-hybrid (#7364) 2025-02-07 11:54:25 -06:00
Lapask
54192a41e4 update fixed-resizable-hybrid (#7317)
* Update fixed-resizable-hybrid

- Improved Overlay Dimensions (e.g. fairy ring background overlap, minigames like Volcanic Mine)
- Fixed some interface backgrounds on the wide chat mode and added more script triggers to catch more cases that were missed before.

* Update fixed-resizable-hybrid

- removed leftover log.info() uses
2025-02-01 11:50:18 -08:00
Lapask
83feec669d update fixed-resizable-hybrid (#7090)
* Update fixed-resizable-hybrid

- Changed gap widget to gap overlay to prevent overlays from rending through. Updated to be static final to prevent reloading resource images every frame.

- Added Wide Chat Mode, which stretches the chat and dialogue across the bottom of the viewport like in fixed mode. When open, it resizes the viewport to recenter the player on what is visible. Configurable in settings.

* Update fixed-resizable-hybrid

Added more customizable config options.
- Customizable aspect ratio resizing. With further options to resize by width vs height.
- Customizable viewport resizing with wide chatbox enabled.

Also cleaned up window resizing code.
2024-12-04 19:26:59 -05:00
Lapask
36ba91b276 add fixed-resizable-hybrid (#7045)
* Create fixed-resizable-hybrid

* Update fixed-resizable-hybrid

Added a gap filler for atypical aspect ratios or when people aren't using stretched mode and the client height >503.

* Update fixed-resizable-hybrid

Used componentID wherever possible. Cleaned up some function code.
2024-11-26 22:14:36 -05:00