ziggurat 0.21.4 ziggurat: ^0.21.4 copied to clipboard
A library for making audio games. This package started out as a way to create 2d maps for use in games, but has since grown to include tools and methods for making audio games with and without maps.
Changelog #
[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.16.0] #
[0.15.0] #
[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.