All Nonay Engine releases
Nonay Engine 0.1.1
Reworked the engine's UI system entirely
Added
16 items- Added UI as a proper layer of every scene, edited in the main viewport
- Added a World / UI toggle to the toolbar
- Added Button, Panel and Image elements alongside Text
- Added click, hover and press states to UI elements
- Added anchors so UI stays put at any window size
- Added corner radius, borders, hover/press colours and text alignment
- Added On Click, On Hover and On Unhover events for UI
- Added Set UI Text, Show/Hide UI Element, Set UI Color and Set UI Position blocks
- Added Quit Game block
- Added menu scenes that hide the character and park the camera
- Added a per-scene background colour
- Added an Insert Main Menu preset with wired-up Play and Quit buttons
- Added a UI tree to the explorer with rename, duplicate, delete, show/hide and reorder
- Added double-click on a UI element to edit its scripts
- Added multi-select, box-select and arrow-key nudging to UI editing
- Added Ctrl+D to duplicate the selection
Changed
11 items- Reworked the UI editor into the main scene viewport
- Reworked UI scripting to run on the full block interpreter
- Reworked the UI renderer so the editor draws exactly what the game draws
- Changed Change Scene to pick from a dropdown instead of a typed name
- Compiled more changes to the runtime engine
- Cached script graphs instead of rebuilding them on every event
- Cached behaviour strings instead of re-parsing them every frame
- Reduced per-frame sorting and allocation in the game loop
- Cached UI text measurement and colour blending
- Coalesced editor redraws to one per frame
- Bumped the version to 0.1.1
Removed
1 item- Removed the separate UI editor overlay and its View menu toggle
Fixed
3 items- Fixed UI elements being unclickable at runtime
- Fixed UI scripts only supporting two blocks
- Fixed text labels shifting by their padding when auto-sized
Nonay