Releases: ekelokorpi/panda-engine
Releases · ekelokorpi/panda-engine
1.13.1
Camera
- Added
rounding
property
Keyboard
- Added new keys
Renderer
- Optimized code
- Moved debug code into
debug
module
System
- Fixed issue with system pause, when
Loader
running - Fixed to scale canvas using rounded values
1.13.0
Audio
- Fixed error, when trying to stop paused music
- Moved ogg to first in
formats
list
Camera
- Added
scale
property - Moved debug code to
debug
module - Renamed
follow
method tosetTarget
Core
- Added Nintendo Wii U detection
game.device.wiiu
- Added
getTexture
method - Fixed to not require
game.main
named module - Fixed all game modules to require core module
- Fixed viewport meta to be added only on mobile devices
- Fixed
noCanvasURL
not working on IE 8 - Fixed to enable
DebugDraw
only, whenDebug
is enabled - Removed
addAssets
method
Debug
- Added objects count
- Added
spriteLineColor
attribute toDebugDraw
- Added
bodyLineColor
attribute toDebugDraw
- Changed default alpha to 0.5 on
DebugDraw
- Fixed
Debug
not working, when usingLoader
between scenes
Loader
- Fixed
Keyboard
errors, when usingLoader
between scenes
Physics
- Added
setCollideAgainst
method to Body - Fixed zero y gravity on
World
- Fixed
removeBodyCollision
, when body already removed - Fixed
addBodyCollision
, when body already added - Fixed
setCollisionGroup
to work, when body not added to world - Fixed addTo, when already added to world on Body
- Fixed double collide
- Moved
World
debug code todebug
module - Optimized update method on Body
Renderer
- Updated Pixi to 2.2.5
- Added
loop
parameter toplay
method onAnimation
- Added
reverse
property toAnimation
Scene
- Fixed
removeTimer
to skip undefined timer - Changed
tweenEngine
to update beforeWorld
Storage
- Fixed error on Safari Private Browsing mode
System
- Fixed
setScene
not working, when engine paused - Cleaned code
1.12.0
Analytics
- Optimized code
- Enabled on CocoonJS by default
Core
- Added support for low framerate debugging
- Fixed to delete pandaConfig, when booting
- Removed parameters from
start
method - Optimized code
Debug
- Added physic bodies count
- Added emitters count
- Added timers count
Loader
- Removed logo
- Fixed loader bar position on CocoonJS WebGL
Particle
- Changed default values on
Emitter
Physics
- Fixed body's
collisionGroup
when removed fromWorld
- Added
force
property toBody
- Added
damping
property toBody
- Fixed to skip
velocityLimit
when 0 onBody
- Added
addTo
method toBody
- Changed default
velocityLimit
to 0 onBody
- Fixed multiple collisions on
World
- Fixed
addShape
to returnthis
onBody
- Cleaned and optimized
World
code - Fixed body removing
- Optimized and cleaned
CollisionSolver
code - Removed
Line
class - Added remove method to
Body
Renderer
- Added
onlyTextures
parameter toanim
onSpriteSheet
- Optimized code
Scene
- Added
clear
method
Storage
- Fixed to get
id
from attribute if not defined in constructor
System
- Moved canvas creation to
initRenderer
method - Fixed centering and scaling on CocoonJS WebGL
- Fixed screencanvas
- Replaced
navigator.isCocoonJS
withgame.device.cocoonJS
- Removed constructor parameters
Timer
- Changed
maxStep
attribute tominFPS
1.11.0
Audio
- Added
setVolume
method - Added error callback to load
- Moved
soundVolume
andmusicVolume
to attributes - Fixed playback on IE
- Fixed volume, when muted
- Fixed
audioId
to start from 1 - Fixed
setPlaybackRate
- Fixed rewind on CocoonJS
- Fixed stop on CocoonJS
- Optimized and cleaned code
Core
- Moved start messages to Debug
- Added compare function parameter to
ksort
- Cleaned code
Debug
- Added tweens count
Emitter
- Fixed
onComplete
to be called, after all particles are removed
Graphics
- Added
remove
method
Keyboard
- Moved available keys list into attribute
- Fixed
keydown
to use keyCode with unknown keys
Loader
- Fixed loader bar position rounding
Scene
- Added
exit
method - Fixed
swipe
to work withoutswipeTime
- Fixed audio stop to not apply on first scene
SpriteSheet
- Added array support to
anim
method - Optimized code
1.10.1
Config
- Removed
coreModules
Core
- Fixed to work without
Debug
module
System
- Fixed
rotateImg
path
Video
- Cleaned code
1.10.0
Audio
- Added
stopOnSceneChange
attribute - Added
currentMusicName
property - Added
soundMuted
property - Added
toggleSound
method - Added
toggleMusic
method - Fixed audio rewinding with HTML5 Audio
- Fixed audio callback not called, when stopping sound
- Disabled m4a audio format, when using Opera with Web Audio
Core
- Added
removeAsset
andremoveAssets
methods - Fixed
nocache
to apply after device-specific config - Fixed
mediaFolder
andsourceFolder
to accept empty string - Fixed Opera detection
Debug
- Added
backgroundColor
attribute - Added object count
- Changed default
frequency
to 500 - Changed
position
attribute topositionX
andpositionY
Emitter
- Added
onComplete
function
Loader
- Added
crossorigin
attribute - Changed bar color
- Renamed
timeout
attribute totime
- Renamed
barBg
attribute tobarBgColor
Renderer
- Updated Pixi to 2.1.1
- Added
Video
class - Fixed HiRes mode with Pixi v2
Scene
- Fixed audio stopping on scene change
Sprite
- Added
game.Sprite.fromImage
function - Fixed constructor to multiply position with
game.scale
System
- Added
removeAssets
parameter tosetScene
- Added
originalWidth
andoriginalHeight
properties - Removed
stopAudioOnSceneChange
attribute - Fixed
resizeToFill
to work correctly
Tween
- Fixed
currentTime
to 0 on start
1.9.0
Analytics
- Cleaned code
Animation
- Added
fromFrames
method - Fixed to use delta time
Audio
- Added support for multiple audio formats
- Fixed support for Windows Phone 8
- Fixed support for IE
- Fixed support for iOS 6
- Fixed loading, when disabled
- Fixed
setMusicVolume
BitmapText
- Added
remove
method
Body
- Changed
collideAgainst
type to array
Camera
- Fixed sensor size to use
game.scale
CollisionSolver
- Fixed collide direction parameter
Core
- Added detection for Android stock browser
- Fixed device specific config
- Fixed iPhone 4 detection
- Fixed limit on Number
DebugDraw
- Cleaned code
Emitter
- Changed
duration
to milliseconds - Changed
life
property into milliseconds - Changed
rate
property into milliseconds
Keyboard
- Fixed
keysDown
on window blur - Cleaned code
Loader
- Fixed to store all JSON data on
game.json
- Fixed to call
ready
, even if nothing was loaded - Fixed to remove all tweens on start
- Fixed logo position
- Cleaned code
Renderer
- Updated Pixi to 2.0.0
- Added
SpriteSheet
class
Sprite
- Added
crop
method
System
- Added
currentSceneName
property - Added
webGL
property - Added HiRes support for bigger textures
- Fixed iOS innerHeight bug
1.8.0
Animation
- Added
remove
method
Audio
- Rewritten module
Body
- Added second parameter to
collide
method
Camera
- Fixed following flipped sprite
Config
- Added
disableCache
- Added loader support
Core
- Added game version output
- Added audio debug output
- Added
createClass
andcreateScene
methods - Added
addAttributes
method - Added
addAssets
method - Added max value support to
Math.random
- Fixed to start automatically, when all modules are loaded
DebugDraw
- Fixed sprite sizes
Emitter
- Added
addTo
method - Fixed to clear all it's particles on remove
Keyboard
- Added preventDefault, when
keydown
method returns true
Loader
- Removed logo tweening
- Changed timeout default value to 200
- Fixed
audioQueue
length - Fixed
assetQueue
length
Sprite
- Added
offset
param tocenter
method
System
- Added
rotateScreen
attribute - Added
stopAudioOnSceneChange
attribute - Removed orientation attribute
- Changed default size to 1024 x 768
- Changed default scene to
Main
- Fixed
resizeToFill
on CocoonJS - Fixed canvas scaling
- Optimized code
TilingSprite
- Added
RenderTexture
support
1.7.1
Analytics
- Renamed
event
method tosend
Animation
- Added
addTo
method
Audio
- Fixed
playSound
andplayMusic
to return audio object
Core
- Added renderer type to version output
- Moved version output to core
Loader
- Fixed to fill
audioQueue
only whenAudio
enabled
System
- Fixed dimension rounding
- Added
scaleMode
attribute
1.7.0
Audio
- Fixed
playMusic
to changecurrentMusic
, when music is muted
BitmapText
- Added
addTo
method
CollisionSolver
- Optimized
Line
vsLine
hit test
Core
- Added version to console on debug mode
- Removed
FlashClip
class - Removed
sprite
module - Optimized code
Graphics
- Added
addTo
method
Loader
- Added
onComplete
method - Fixed to skip already loaded files
Renderer
- Updated Pixi to 1.6.1
- Moved Pixi into own module
Sprite
- Added
center
method
System
- Added Data URI support to
rotateImg
TilingSprite
- Changed
speed
property type toPoint
Tween
- Added string shorthand to easing