- Added the
Game.replaceLevel method.
- Added the ability to specify a fade time for ambiances when popping levels.
- Made
Game.destroy not a future.
- You can now set a time to wait before applying an automation fade.
- The
AutomationFade.cancel method now returns void.
- Changed the way sound events are created and what information they hold.
- Added the ability to cancel a fade.
- Added a reference to the sound that should be faded.
- Added an
AutomationFade sound event.
- Moved executable scripts and accompanying JSON schemas to to the ziggurat_sounds package.
- Maintain a list of open game controllers on
Game instances.
- Fixed a bug with double-playing menu ambiances.
- Menus now properly announce themselves when they're revealed.
- Added an activate
sound property to Button.
- When activating a menu, if the current widget is a button, play the button's activate sound.
- Added a time offset to
Game.registerTask for tasks that are scheduled before calling Game.run..
- Show menu items with the
onPush method, rather than onReveal.
- Show the current menu item when revealing a menu.
SoundChannel.playSound now respects the looping argument.
- Destroy interface and ambiance channels with
Game.destroy.
- Stop menu sounds playing when returning to the top of the menu.
- Added a
keepAlive property to the Message class.
- Added a
Game.outputText method.
- Added a
Game.outputSound method.
- Split
Game.outputMessage up to use the new outputText and outputSound methods.
- Made
Game.outputMessage return a PlaySound instance.
- Remove
oldSound, when passed as an argument to outputMessage.
- Changed the constructor for the
Ambiance class.
- Added a
keepAlive property to the PlaySound event.
- Calling
destroy on a PlaySound event with its keepAlive property set to false will result in a DeadSound error being thrown.
- Sound events are now queued while the stream has no listeners or is paused.
- Added a
channel property to DestroySound.
- Changed the type of
PlaySound.channel from SoundChannel to int.
- Added a
destroy method to the CreateReverb class.
- Reverbs must now be destroyed with
CreateReverb.destroy.
- Renamed
PlaySound.destroySound to destroy.
- Removed the
Game.destroyReverb method.