photonstorm
719b81c6e3
GamepadButton.justPressed and justReleased now correctly report if the button has just been pressed or released (thanks @padpadpad #1019 )
2014-08-29 16:08:38 +01:00
photonstorm
9047e4d5ca
Sorted out the issue with Images not working properly with texture atlases.
2014-08-29 15:55:23 +01:00
photonstorm
7b9c1a561e
GamePad and SinglePad onAxisCallback parameters have changed. You are now sent: this (a reference to the SinglePad that caused the callback), the axis index and the axis value in that order.
...
GamePad axis detection now works again properly in Firefox (#1035 )
2014-08-29 15:55:05 +01:00
photonstorm
32119e9892
Animation.onUpdate is a new event that is dispatched each time the animation frame changes. Due to its intensive nature it is disabled by default. Enable it with Animation.enableUpdate = true
( #902 )
2014-08-29 14:30:44 +01:00
photonstorm
9055fc7e01
The Pointer move callbacks are now sent an extra parameter: fromClick
allowing your callbacks to distinguish between the Pointer just moving, or moving as a result of being pressed down (thanks @iforce2d #1055 )
2014-08-29 14:19:47 +01:00
photonstorm
9b6ffc3f94
Moved Springs to not extend p2 Springs as they break when added to the p2.World. Springs and spring removal now working properly ( #1134 )
2014-08-29 14:13:20 +01:00
photonstorm
26a55bd202
SoundManager.destroy is a new method that will destroy all current sounds and reset any callbacks.
...
StateManager.clearCurrentState now handles the process of clearing down the current state and is now called if the Game is destroyed.
Game.destroy now clears the current state, activating its shutdown callback if it had one. It also now destroys the SoundManager, stopping any currently running sounds (#1092 )
2014-08-29 11:37:47 +01:00
photonstorm
69b9e5eb7c
Arcade.overlap and collide are now more consistent about allowing a Group vs. Group or Group vs. Array of Groups set (thanks @pyromanfo #877 #1147 )
2014-08-29 01:28:43 +01:00
Richard Davey
32989094f4
Merge pull request #1147 from pyromanfo/dev
...
Fix for group vs group within group collision (fixes #877 )
2014-08-29 01:27:01 +01:00
Allen Cook
5a3eeb8a9c
Fix for group vs group within group collision ( fixes #877 )
2014-08-28 20:23:02 -04:00
photonstorm
dd160f004b
jsdocs update for collideWorldBounds #1010
2014-08-29 01:16:05 +01:00
photonstorm
52ea95d9ce
Sound.restart used to cause the Sound to double-up if it was already playing when called. Now correctly stops the sound before restarting it (thanks @wombatbuddy #1136 )
2014-08-29 01:06:29 +01:00
photonstorm
dd9e7e6297
Pointer.dirty is a new boolean that is set by the InputHandler. It tells the Pointer to re-check all interactive objects it may be over on the next update, regardless if it has moved position or not. This helps solve issues where you may have a Button that on click generates a pop-up window that now obscures the Button (thanks @jflowers45 #882 )
2014-08-29 00:47:49 +01:00
photonstorm
b4ba7958c6
Added missing copy parameter to Image.crop, fixing jshint in the process.
2014-08-28 23:26:27 +01:00
photonstorm
cca955f1fd
Updated to latest version of Pixi.
2014-08-28 23:11:13 +01:00
Richard Davey
ffb413b741
Fixed issue with callbacks not having the correct context.
2014-08-28 21:54:30 +01:00
photonstorm
e3f73b87ba
Fixed some jsdocs issues and added the Image.alive property.
2014-08-28 17:04:59 +01:00
photonstorm
05922d6fb0
Lots of fixes to the Image class to restore texture loading and fix cropping so it works exactly the same as the Sprite now.
2014-08-28 17:04:59 +01:00
photonstorm
6fbaa36ddd
P2.PointProxy.mx and my values are get and set in meters with no pixel conversion taking place.
...
P2.InversePointProxy.mx and my values are get and set in meters with no pixel conversion taking place.
P2.PointProxy.x and y values are now returned in pixels (previously they were returned in meters). See PointProxy.mx/my for meter values.
P2.InversePointProxy.x and y values are now returned in pixels (previously they were returned in meters). See PointProxy.mx/my for meter values.
2014-08-28 17:04:58 +01:00
Richard Davey
8bc4f90630
Merge pull request #1146 from englercj/improve-ts-def
...
fix some minor issues in the typescript definition
2014-08-28 15:25:08 +01:00
Chad Engler
6483e48b2e
fix some minor issues in the typescript definition
2014-08-28 06:56:27 -07:00
photonstorm
34426e7560
Loader.useXDomainRequest boolean automatically set to true
if the browser is specifically detected as IE9, but you can still override this. IE10 will use xhr.
2014-08-28 05:24:57 +01:00
photonstorm
9de1d494df
Phaser 2.1.0 build files for testing.
...
Ninja Physics is no longer included in the build files by default. Not enough people were using it, and not enough contributions were coming in to help polish it up, so we've saved the space and removed it. It's still available in the grunt build files if you require it, but we're deprecating it from the core library at this time. It will make a return in Phaser3 when we move to a modular class system.
2014-08-28 04:53:05 +01:00
photonstorm
4cdffb6b6f
Change log update.
2014-08-28 04:38:26 +01:00
Richard Davey
3a9f869882
Merge pull request #1129 from videlais/patch-2
...
Device detection of Node-Webkit
2014-08-28 04:37:58 +01:00
photonstorm
2d4d1a050d
Tilemap.hasTile now checks the Tile.index value and will return false if the index is -1 (i.e. a non-active tile) (thanks @elgansayer #859 )
2014-08-28 04:30:13 +01:00
photonstorm
a7d9b2c8c5
The P2.World.postBroadphaseHandler now checks if the returned pairs array is empty or not before processing it (thanks @wayfu #934 )
2014-08-28 04:24:08 +01:00
photonstorm
0c88ba041a
If you used a single Game configuration object and didn't specify the enableDebug property it would crash on Debug.preUpdate (thanks @luizbills #1053 )
2014-08-28 04:19:10 +01:00
photonstorm
83619ba81e
InputHandler docs updated to avoid Pointer data-type confusion ( #1097 )
2014-08-28 04:07:24 +01:00
photonstorm
6216cf578c
BitmapFonts are now correctly added to the Cache._bitmapFont array and returned via Cache.getBitmapFont (thanks @prudolfs #1076 )
2014-08-28 03:52:26 +01:00
photonstorm
0f207c47a7
Calling P2.Body.destroy or ArcadePhysics.Body.destroy wouldn't null the parent sprite body, causing it to error in the next update (thanks @jonathanhooker #1077 )
2014-08-28 03:44:02 +01:00
photonstorm
ec687868de
Input.setMoveCallback has been removed due to deprecation.
...
BitmapData.refreshBuffer has been removed and replaced with BitmapData.update.
BitmapData.drawSprite has been removed due to deprecation. Use BitmapData.draw instead.
Pointer.moveCallback has been removed due to deprecation.
SinglePad.addButton has been removed due to deprecation.
P2.Body.loadData has been removed due to deprecation.
P2.World.defaultFriction and defaultRestitution have been removed due to deprecation.
Canvas.create noCocoon parameter has been removed due to deprecation.
Color.getColorInfo, RGBtoHexstring, RGBtoWebstring and colorToHexstring has been removed due to deprecation.
2014-08-28 03:40:59 +01:00
photonstorm
6e2cd37776
ScaleManager.destroy now removes the window and document event listeners, which are no longer created anonymously (thanks @eguneys #1092 )
...
Input.Gamepad.destroy now destroys all connected SinglePads and clears event listeners.
SinglePad.destroy now clears all associated GamepadButton objects and signals.
2014-08-28 03:31:47 +01:00
Dan Cox
a0840274f7
Tests for both Node and Node-Webkit
2014-08-27 22:00:14 -04:00
photonstorm
fa45d7feff
Events.onDestroy is a new signal that is dispatched whenever the parent is being destroyed. It's dispatched at the start of the destroy process, allowing you to perform any additional house cleaning needed (thanks @jonkelling #1084 )
...
Group.onDestroy is a new signal that is dispatched whenever the Group is being destroyed. It's dispatched at the start of the destroy process, allowing you to perform any additional house cleaning needed (thanks @jonkelling #1084 )
2014-08-28 02:56:06 +01:00
photonstorm
6b4510f693
TileSprite now has the alive
property, which should help with some Group operations (thanks @jonkelling #1085 )
2014-08-28 02:36:30 +01:00
photonstorm
42c810b43f
Fixed the resolution uniform type in the SampleFilter (thanks @VictoryRice #1137 )
2014-08-28 02:20:49 +01:00
photonstorm
d7f8950758
Debug.cameraInfo no longer crashes if the camera bounds are nulled (thanks @wayfu #1143 )
...
Camera.setBoundsToWorld no longer crashes if the camera bounds are nulled (thanks @wayfu #1143 )
2014-08-28 02:13:51 +01:00
photonstorm
01db9257e0
Change log updates.
2014-08-28 02:06:48 +01:00
Richard Davey
5f675a0902
Merge pull request #1132 from englercj/feature-npm-publish
...
Prepare package for npm publish
2014-08-28 02:05:43 +01:00
Richard Davey
50179d76fb
Merge pull request #1015 from Zielak/dev
...
Phaser.Camera.position for quick access
2014-08-28 02:02:40 +01:00
Richard Davey
ee579c2b0d
Merge pull request #989 from lucbloom/android-stock-browser
...
Android stock browser check
2014-08-28 02:01:25 +01:00
photonstorm
31f450dd42
Docs updates, preparing for Rope merge.
2014-08-28 01:59:10 +01:00
photonstorm
c76aa785f9
Documentation updates.
2014-08-28 01:57:38 +01:00
Richard Davey
9941942941
Merge pull request #1030 from codevinsky/rope
...
Phaser.Rope
2014-08-28 01:56:02 +01:00
Richard Davey
7fe4abc5c4
Merge pull request #1059 from lucbloom/spritesheet-to-framecount
...
Sprite Sheet => frame count
2014-08-28 01:49:15 +01:00
Richard Davey
fea565a019
Merge pull request #1144 from allomov/fix-textscrip-site
...
Fix TextScrip site URL
2014-08-28 01:44:48 +01:00
photonstorm
7772590b18
Docs update.
2014-08-28 01:44:48 +01:00
Richard Davey
6a314a60d1
Merge pull request #1142 from darfux/dev
...
Fixed Group.removeBetween's default endIndex bug
2014-08-28 01:44:01 +01:00
Richard Davey
f076edcf2e
Merge pull request #1133 from rhmoller/dev
...
Emitter.setScale() has separate arguments for x and y and easing parameter should be a function type
2014-08-28 01:41:40 +01:00