ziggurat 0.48.1 ziggurat: ^0.48.1 copied to clipboard
A library for making fully-featured audio games using Dart and SDL.
Changelog #
[0.48.0] #
Changed #
- Convert the
Game
constructor to exclusively use named arguments. - The
Game
class now requires a validSdl
instance. - The
Game.run
method no longer accepts asdl
argument. - The
Game.tick
method no longer accepts asdl
argument.
Added #
- Add
orgName
andappName
properties to theGame
class. - Add a
preferencesDirectory
getter to theGame
class. - Add the
Preferences
class. - Give the
Game
class apreferences
getter.
[0.47.0] #
[0.40.1] #
Fixed #
- The
ParameterMenu
class no longer inadvertently changes the type of its.menuItems
property.
[0.39.0] #
[0.37.0] #
Changed #
- Use faster SDL-based timestamps.
- Start using relative timings for tasks.
- Rip out unmaintained and under-tested mapping code.
- Moved a load of functions into their proper places.
[0.36.0] #
[0.33.0] #
Changed #
- Fixed a bug where it became impossible to navigate with the arrow keys in menus with number lock on.
[0.31.0] #
[0.28.1] #
[0.27.0] #
[0.26.0] #
Added #
- Made it possible to serialize many classes.
- Added the
ParameterMenu
class.
Changed #
- Changed the signatures for A lot of functions to use named arguments.
- Moved some files into the
json
directory. - Changed the relevant exports so that normal
package:ziggurat/xxx.dart
imports will work without changes. - Reformatted some code.
Fixed #
- Fixed an oversight in
game.handleSdlEvent
where controllers would get removed whenremap
event was received.
[0.25.7] #
[0.24.0] #
[0.23.4] #
Added #
- Added a
after
argument toGame.pushLevel
, so that levels can be pushed after a specified delay.
[0.23.1] #
Fixed #
- Fixed a crash when moving right in a multi grid level with a single item in a row.
[0.22.5] #
[0.22.1] #
Added
- You can now set (or clear) reverbs for sound channels.
[0.22.0] #
Changed #
- Changed the signature for the
Box
constructor. - The
Box.onActivate
callback is now an instance variable, rather than a class method. - Renamed
Surface.moveInterval
tomaxMoveInterval
. - Make
Box.sound
aList
. - Rename
Box.sound
tosounds
.
[0.21.1] #
[0.21.0] #
Added #
- Added a
Editor
level. - Added a
onCancel
parameter to theMenu
constructor, so thecancel
method doesn't need to be overridden every time. - When creating a
Menu
instance, it is now possible to set the initial position within the menu. - You can now specify random sounds for
Menu
instances. - It is now possible to specify multiple triggers with the same name.
- Added the
ControllerAxisDispatcher
class.
Fixed #
- Fixed a broken link in the documentation for
angleToRad
.
Changed #
- Cleaned up code.
- Update SDL.
- Added a bunch of parameters to the
Menu
constructor, to replace the oldregisterCommands
method. - The
TriggerMap
class now uses a list for command triggers.
Removed #
- Removed
Menu.registerCommands
, in favour of the new parameters to the constructor. - Removed the unused
InvalidCommandNameError
error. - Removed the unused
InvalidStateError
error.
[0.19.0] #
[0.18.2] #
Added #
- It is now possible to add random sounds to any level.
- It is now possible to know when a
Game
instance started running with thestarted
property. - You can now get the time that a
Game
instance has been running with therunDurationMilliseconds
integer, and therunDurationSeconds
double.
Changed #
- Made
Game.window
a readonly property.
[0.17.0] #
Removed #
- Moved the
AssetStore
class to the ziggurat_sounds package.
[0.16.0] #
Added #
- 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.
Changed #
- Renamed
SoundReference
toAssetReference
.
[0.15.0] #
Added #
- Added the
SoundPositionScalar
class. - Added the
SoundPositionAngular
class.
Removed #
- Removed the
SoundPositionPanned
class.
Changed #
- Updated the API to reflect changes in dart_synthizer.
[0.14.1] #
Changed #
- Changed the constructor of
SoundPositionPanned
to allow the use of either a scalar value, or an azimuth / elevation pair.
[0.13.3] #
Added #
- Added the
Menu.addButton
convenience method. - Added the
Menu.addLabel
convenience method.
[0.13.2] #
Added #
- Added the
PitchBend
sound event. - Added events for applying filters to
SoundChannel
instances.
[0.12.0] #
[0.8.0] #
[0.7.0] #
Removed #
- Moved executable scripts and accompanying JSON schemas to to the ziggurat_sounds package.
[0.6.7] #
[0.6.6] #
Added #
- Added a time offset to
Game.registerTask
for tasks that are scheduled before callingGame.run
..
[0.6.2] #
- Destroy interface and ambiance channels with
Game.destroy
.
[0.5.0] #
Added #
- Added a
keepAlive
property to theMessage
class. - Added a
Game.outputText
method. - Added a
Game.outputSound
method.
Changed #
- Split
Game.outputMessage
up to use the newoutputText
andoutputSound
methods. - Made
Game.outputMessage
return aPlaySound
instance. - Remove
oldSound
, when passed as an argument tooutputMessage
. - Changed the constructor for the
Ambiance
class.
[0.4.0] #
[0.2.0] #
[0.0.0] #
Initial version.