- Added the
ListButton
class.
- Added the
Checkbox
class.
- Ambiance positions are now respected.
- Ambiances now store their own playback information.
- Removed the
Level.ambianceSounds
list.
- It is now possible to add random sounds to any level.
- It is now possible to know when a
Game
instance started running with the started
property.
- You can now get the time that a
Game
instance has been running with the runDurationMilliseconds
integer, and the runDurationSeconds
double.
- Made
Game.window
a readonly property.
- Add events for setting global audio settings.
- Moved the
AssetStore
class to the ziggurat_sounds package.
- Added a
getFile
method to the AssetReference
class.
- Added the ability to load files (and random files) via the
AssetReference.load
method.
- Added the
AssetStore
class, which will be used by ziggurat_utils.
- Added a load more tests.
- Renamed
SoundReference
to AssetReference
.
Added a encryptionKey
field to the SoundReference
class.
- Added the
SoundPositionScalar
class.
- Added the
SoundPositionAngular
class.
- Removed the
SoundPositionPanned
class.
- Updated the API to reflect changes in dart_synthizer.
- Changed the constructor of
SoundPositionPanned
to allow the use of either a scalar value, or an azimuth / elevation pair.
- Removed the
elevation
property from SoundPositionPanned
.
- Added the
Menu.addButton
convenience method.
- Added the
Menu.addLabel
convenience method.
- Added the
PitchBend
sound event.
- Added events for applying filters to
SoundChannel
instances.
- Added the `CommandTrigger.basic constructor.
- Added more tests.
- No longer allow changing from one sound position type to another.
- Added the
SetSoundChannelPosition
event.
- Made both parameters to the constructor of
SoundPositionPanned
optional.
- Made all parameters to the constructor of
SoundPosition3d
optional.
- 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.