Commit graph

2263 commits

Author SHA1 Message Date
photonstorm
f78a527ad5 Prevented objects with pixel perfect checks from over-riding other higher priority ID items (#983)
Rebuilt the way items are polled for Pointer events (drag, click, move). Now faster and more efficient, especially when some items in the stack require pixel perfect checks.
2014-07-15 11:20:57 +01:00
Richard Davey
eba502de45 Merge pull request #1018 from devinb83/dev-quadtree
QuadTree leveling Bug
2014-07-14 21:58:06 +01:00
devinb83
4a632ed3a0 codePaused should be set if manually called
If pause is called manually, codePaused should be set regardless of whether the game is currently paused or not. This would fix issues where a developer might not want the game to automatically resume when the screen regains focus.
2014-07-14 12:57:37 -07:00
devinb83
2be45e93ae QuadTree leveling Bug
Rather than level++ which changes the current node's level, the subnodes should get the current node's level + 1
2014-07-14 12:55:26 -07:00
Darek Zieliński
852054b772 Plus validation of non-point objects 2014-07-14 20:09:22 +02:00
Charles Black
7107d73188 group create with p2 debug 2014-07-14 14:05:44 -04:00
Darek Zieliński
ee1df55d84 Added position Point object for quick x/y coordinates access. 2014-07-14 20:03:34 +02:00
jdowell
aad74ff4d5 added: Phaser.Utils.getProperty / Phaser.Utils.setProperty; added: Phaser.Group.checkAll
Added deep-property getting and setting via strings:

Phaser.Util.getProperty(someObj, 'foo.bar.baz');

Phaser.Util.setProperty(someObj, 'foo.bar.baz', 'lol');

Added a "checkAll" method to Phaser.Group that returns true/false if all of the children's given properties match the value passed in.

this.someGroup.checkAll('foo.bar.baz', 'lol'); // will return true if child[n].foo.bar.baz === 'lol'

Comes with standard 'force' ability.
2014-07-14 12:33:13 -05:00
Richard Davey
ff5dda7e82 Merge pull request #1012 from Dumtard/dev
docs typo
2014-07-14 16:12:59 +01:00
Charles Black
6363b35e26 docs typo 2014-07-14 11:01:21 -04:00
photonstorm
e5078a2197 Fixed missing cacheKey parameter. 2014-07-14 12:56:05 +01:00
photonstorm
f0365835c9 Pixi 1.6.1 2014-07-14 12:56:05 +01:00
photonstorm
2c421d27ce GameObjectFactory.spriteBatch now lets you specify null as a parameter for the parent and automatically adds the batch to game.world as a result. Also fixed jsdocs issues (@petarov #1000) 2014-07-14 12:56:05 +01:00
Richard Davey
92815d8965 Merge pull request #1007 from mjeffery/dev
Added missing onPackComplete Signal
2014-07-14 12:17:53 +01:00
Richard Davey
fe960b79d7 Merge pull request #1002 from petarov/bugfix_883
Fix issue #883
2014-07-14 12:16:08 +01:00
Richard Davey
35a8c70f45 Merge pull request #1011 from clark-stevenson/dev
GamePad changed to Gamepad
2014-07-14 12:15:19 +01:00
photonstorm
5bc482685b Renaming the release :) #1004 2014-07-14 12:08:46 +01:00
Clark Stevenson
9d1822a3ff Merge branch 'dev' of https://github.com/clark-stevenson/phaser into dev 2014-07-14 11:42:41 +01:00
Clark Stevenson
a7bd3977eb Incorrect GamePad replaced with Gamepad 2014-07-14 11:28:20 +01:00
Clark Stevenson
ce8481d737 Merge branch 'dev' of https://github.com/photonstorm/phaser into dev 2014-07-13 23:47:38 +01:00
Clark Stevenson
0ec4fefbc4 Updated Phaser.d.ts to dev
Fixes #1008
2014-07-13 23:46:24 +01:00
photonstorm
321acd1676 New build files. 2014-07-13 23:46:20 +01:00
photonstorm
b30ac258f5 Updated docs. 2014-07-13 23:46:16 +01:00
photonstorm
0cc24d0966 Restored old Image object. 2014-07-13 23:46:13 +01:00
photonstorm
0632e87ebc Pixi 1.6 patches for RenderTextures and IE9 Float32 calls. 2014-07-13 23:46:09 +01:00
photonstorm
0f5c07e4a0 Reverting to a 2.0.7 release to fix the issues with Image / RetroText / Buttons. 2014-07-13 23:46:05 +01:00
photonstorm
aa8384a738 Temporary fix for #997 2014-07-13 23:46:02 +01:00
Alvin
9e9cf1ab23 Added game.add.plugin to the definitions file 2014-07-13 23:45:58 +01:00
photonstorm
938fd51ac3 NuSphere updates 2014-07-13 23:45:54 +01:00
photonstorm
d08c6ba7c9 Updated build files with patched Pixi UMD statement. 2014-07-13 23:45:51 +01:00
photonstorm
a0113ed231 Debug.preUpdate was still being called in the Game Loop even if enableDebug was set to false (thanks @qdrj, #995) 2014-07-13 23:45:47 +01:00
Jeroen Verfallie
43845c2c34 Fixed pixel perfect dragging, this was still using the old property 'pixelPerfect' instead of the new 'pixelPerfectClick' 2014-07-13 23:45:43 +01:00
photonstorm
0d04eefd03 Preparing for 2.1.0 build. 2014-07-13 23:45:39 +01:00
Clark Stevenson
a4fd4e30bf Updated Phaser.d.ts to dev
Fixes #1008
2014-07-13 23:11:08 +01:00
photonstorm
b949773735 New build files. 2014-07-13 23:11:04 +01:00
photonstorm
be54d0f9ca Updated docs. 2014-07-13 23:11:00 +01:00
photonstorm
b4633852ca Restored old Image object. 2014-07-13 23:10:57 +01:00
photonstorm
84f0d5bfe1 Pixi 1.6 patches for RenderTextures and IE9 Float32 calls. 2014-07-13 23:10:53 +01:00
photonstorm
81b88aef27 Reverting to a 2.0.7 release to fix the issues with Image / RetroText / Buttons. 2014-07-13 23:10:50 +01:00
photonstorm
ef76d9bd6c Temporary fix for #997 2014-07-13 23:10:46 +01:00
Alvin
2bf1ee305c Added game.add.plugin to the definitions file 2014-07-13 23:10:42 +01:00
photonstorm
aa62026abc NuSphere updates 2014-07-13 23:10:39 +01:00
photonstorm
0d3b801768 Updated build files with patched Pixi UMD statement. 2014-07-13 23:10:35 +01:00
photonstorm
e0dce49024 Debug.preUpdate was still being called in the Game Loop even if enableDebug was set to false (thanks @qdrj, #995) 2014-07-13 23:10:31 +01:00
Jeroen Verfallie
8a1c1db8d9 Fixed pixel perfect dragging, this was still using the old property 'pixelPerfect' instead of the new 'pixelPerfectClick' 2014-07-13 23:10:27 +01:00
mjeffery
fcc23ef5d2 fixed onPackComplete Signal 2014-07-13 15:38:13 -04:00
Petar Petrov
78771d875b Fix issue #883
Check if points is an Array before parsing arguments.
2014-07-12 22:50:48 +02:00
photonstorm
0b903bf792 New build files. 2014-07-11 18:03:43 +01:00
photonstorm
bc9e5804b2 Updated docs. 2014-07-11 18:02:47 +01:00
photonstorm
22462566b4 Restored old Image object. 2014-07-11 18:02:40 +01:00