Список изменений
✨ New Features
- Pause Screen & Death Screen now fully JSON-customizable
Use pause_screen.json and death_screen.json to freely adjust backgrounds, texts, buttons, separators, etc.
- Text elements support dynamic data and scaling
dynamicType: score, death_cause, player_name – display real-time game data; scale: scale text (e.g. "scale": 1.2).
- Colors now support hex strings
Use "0xAARRGGBB" or "0xRRGGBB" format (e.g. "color": "0xFFAA00").
- Extended button actions
Added resume_game, disconnect, open_link, respawn, exit_to_title.
- Enhanced expression system
Supports width, height, elementWidth, elementHeight and basic arithmetic.
🔧 Improvements
- Fully adjustable layout
Buttons and text can be placed anywhere; multi-layer background masks are supported.
- Internal loading optimization
Removed style cache, fixed link confirmation dialog invocation.
🐛 Fixes
-
Fixed open_link action not working.
-
Fixed hex color values causing invisible text (alpha channel auto-filled).
-
Fixed coordinate and matrix transform errors when scaling text.
-
Fixed the error that the resource package cannot be loaded.
⚠️ Notes
-
Colors must be strings with quotes, e.g. "color": "0xFFFFFF".
-
For score display, it is recommended to use two text elements: deathScreen.score (prefix) + dynamicType: "score" (number).
-
open_link action requires a "url" field.

