Releases: britzl/monarch
Monarch 3.0.2
FIX: Monarch should transition out and back in again if showing the same screen twice.
Monarch 3.0.0
NEW: This is not a breaking change but the behaviour of commands such as show(), back(), hide() and preload() have changed. Monarch does now allow a sequence of commands and it will execute them one by one. This means that it's now possible to do:
monarch.show("one")
monarch.show("two")
And have screen "one" show and immediately transition to "two", building a stack of [ "one", "two" ].
monarch.is_busy() will still return true if Monarch is waiting for a screen transition to finish.
Monarch 2.20.0
NEW: Added two new options:
- Screen Keeps Input Focus When Below Popup (boolean) - Check this if the screen should keep input focus when it is below a popup.
- Others Keep Input Focus When Below Screen (boolean) - Check this if other screens should keep input focus when below this screen.
Monarch 2.19.1
FIX: It wasn't possible to change transition for a node with the new system where multiple nodes can have transitions
Monarch 2.19.0
NEW: It is now possible to post a message to a screen using monarch.post(screen_id, message_id, [message]). For proxy screens the message will be sent to the Receiver Url defined on the screen_proxy.script. For factory screens the message will be sent to all game objects in the collection.
Monarch 2.18.0
NEW: GUI transitions now supports multiple nodes if needed
Monarch 2.17.2
FIX: Fixed incorrect scope of variable in monarch.show()
FIX: Reloading a screen could cause problems with screen unregister/register flow
FIX: More error reporting
Monarch 2.17.1
FIX: Focus lost messages we're not received before the screen was unloaded
Monarch 2.17.0
FIX: It was not possible to call monarch.show() on a screen that was preloading (via monarch.preload() or the Preload setting). Fixes #40.
NEW: monarch.is_preloading(screen_id)
NEW: monarch.when_preloaded(screen_id, callback)
Monarch 2.16.3
FIX: It wasn't possible to reload a preloaded screen