Skip to content

2.10.0

Compare
Choose a tag to compare
@ekelokorpi ekelokorpi released this 28 Nov 10:16
· 49 commits to master since this release
  • Added stop function to Core
  • Added muteMusic method to Audio
  • Added muteSound method to Audio
  • Added mutedMusic property to Audio
  • Added mutedSound property to Audio
  • Added showBounds attribute to Debug
  • Added reverse method to Tween
  • Added new frames paramater type to addAnim method in Animation
  • Added noLoop parameter to playMusic in Audio
  • Added error messages to Animation
  • Added name parameter to stop in Animation
  • Added name parameter to gotoFrame function in Animation
  • Added support for mp3 audio files
  • Added support for empty lines in Text
  • Added Vector type to first parameter of hitTest function in Container
  • Added second isCircle parameter to hitTest function in Container
  • Added key names for key codes 188 and 190
  • Added support for bezier curves on Polygon
  • Added showBounds attribute to Debug
  • Added duration property to Sound
  • Added spriteAlpha, spriteColor and spriteLineWidth attributes to Debug
  • Changed hitTest method in Container to use hitArea instead of bounds
  • Fixed font loading on BMFont with whitespace
  • Fixed soundVolume and musicVolume to affect only _soundGain and _musicGain
  • Fixed circle hit area to correct size
  • Fixed debug drawing of circle hit area
  • Fixed font loading with font name that has spaces
  • Fixed fadeIn in Sound to work properly
  • Fixed setText not working when maxWidth is set on Text
  • Fixed audio context to resume on mousedown and touchstart events if suspended
  • Fixed timers to get paused on scene pause
  • Fixed new line on fonts with char id 10 defined
  • Fixed Circle hitArea positioning