Skip to content

Releases: ekelokorpi/panda-engine

1.13.1

17 Feb 14:37
Compare
Choose a tag to compare

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

16 Feb 14:38
Compare
Choose a tag to compare

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 to setTarget

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, when Debug is enabled
  • Removed addAssets method

Debug

  • Added objects count
  • Added spriteLineColor attribute to DebugDraw
  • Added bodyLineColor attribute to DebugDraw
  • Changed default alpha to 0.5 on DebugDraw
  • Fixed Debug not working, when using Loader between scenes

Loader

  • Fixed Keyboard errors, when using Loader 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 to debug module
  • Optimized update method on Body

Renderer

  • Updated Pixi to 2.2.5
  • Added loop parameter to play method on Animation
  • Added reverse property to Animation

Scene

  • Fixed removeTimer to skip undefined timer
  • Changed tweenEngine to update before World

Storage

  • Fixed error on Safari Private Browsing mode

System

  • Fixed setScene not working, when engine paused
  • Cleaned code

1.12.0

15 Jan 09:32
Compare
Choose a tag to compare

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 from World
  • Added force property to Body
  • Added damping property to Body
  • Fixed to skip velocityLimit when 0 on Body
  • Added addTo method to Body
  • Changed default velocityLimit to 0 on Body
  • Fixed multiple collisions on World
  • Fixed addShape to return this on Body
  • 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 to anim on SpriteSheet
  • 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 with game.device.cocoonJS
  • Removed constructor parameters

Timer

  • Changed maxStep attribute to minFPS

1.11.0

11 Dec 10:03
Compare
Choose a tag to compare

Audio

  • Added setVolume method
  • Added error callback to load
  • Moved soundVolume and musicVolume 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 without swipeTime
  • Fixed audio stop to not apply on first scene

SpriteSheet

  • Added array support to anim method
  • Optimized code

1.10.1

13 Nov 20:55
Compare
Choose a tag to compare

Config

  • Removed coreModules

Core

  • Fixed to work without Debug module

System

  • Fixed rotateImg path

Video

  • Cleaned code

1.10.0

13 Nov 10:14
Compare
Choose a tag to compare

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 and removeAssets methods
  • Fixed nocache to apply after device-specific config
  • Fixed mediaFolder and sourceFolder to accept empty string
  • Fixed Opera detection

Debug

  • Added backgroundColor attribute
  • Added object count
  • Changed default frequency to 500
  • Changed position attribute to positionX and positionY

Emitter

  • Added onComplete function

Loader

  • Added crossorigin attribute
  • Changed bar color
  • Renamed timeout attribute to time
  • Renamed barBg attribute to barBgColor

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 to setScene
  • Added originalWidth and originalHeight properties
  • Removed stopAudioOnSceneChange attribute
  • Fixed resizeToFill to work correctly

Tween

  • Fixed currentTime to 0 on start

1.9.0

24 Oct 09:41
Compare
Choose a tag to compare

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

05 Sep 13:25
Compare
Choose a tag to compare

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 and createScene 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 to center 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

29 Jul 12:17
Compare
Choose a tag to compare

Analytics

  • Renamed event method to send

Animation

  • Added addTo method

Audio

  • Fixed playSound and playMusic to return audio object

Core

  • Added renderer type to version output
  • Moved version output to core

Loader

  • Fixed to fill audioQueue only when Audio enabled

System

  • Fixed dimension rounding
  • Added scaleMode attribute

1.7.0

24 Jul 06:50
Compare
Choose a tag to compare

Audio

  • Fixed playMusic to change currentMusic, when music is muted

BitmapText

  • Added addTo method

CollisionSolver

  • Optimized Line vs Line 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 to Point

Tween

  • Added string shorthand to easing