Release Notes
Summary
This is a minor update aimed at updating the dependencies for using Raylib 6.0. The latest Raylib release introduces a windowing overhaul that necessitated some modifications to the GameWindow class. While there shouldn’t be any breaking changes, I managed to eliminate some outdated workarounds and utilized this opportunity to clean up the windowing, mouse, and screen texture system in Shape Engine. Additionally, I resolved some issues I encountered with the control node system and the Grid GetRect function.
New Features
- Add hash function to Coordinates struct (PR #170) – New hashing system added to the Coordinates struct to enable better usage patterns with collections
Bug Fixes
- Grid GetRect function does not use supplied coordinates (PR #167) – Fixed rect calculation in the Grid struct to properly utilize supplied coordinates
- Mouse On Screen Detection Broken on MacOS (PR #169) – Restored mouse screen detection functionality on macOS after startup issues were introduced in recent GameWindow refactoring
- ControlNode Selection Issues (PR #171) – Major refactor addressing multiple UI control issues:
- Fixed selected button staying pressed when switching to another button with mouse
- Added internal validation to clear current selection when navigation while button is pressed
- Corrected state management for button press/release detection vs. mouse input detection
Dependencies
- Bump Raylib-cs from 7.0.2 to 8.0.0 (PR #158) – Updated to latest Raylib-cs version wich includes GameWindow, Mouse, and ScreenTexture updates based on the raylib 6.0 release.
- Automated monthly update of gamecontrollerdb.txt (PR #165) – Updated game controller database
- Update dependency-versions.txt from csproj (PR #166) – Synchronized dependency version documentation
Full Changelog: v5.0.0...v5.1.0