Commit graph

3477 commits

Author SHA1 Message Date
jdowell
5a35e1a61d Initial Rope Commit 2014-07-15 11:40:40 -05:00
Darek Zieliński
64ae6c6ba7 "Reuse a single Point object rather than creating a new one each time" 2014-07-15 18:32:20 +02:00
Richard Davey
011c0380b7 Merge pull request #1027 from codevinsky/editor-config
added: .editorconfig file to help with jshint issues
2014-07-15 17:14:43 +01:00
jdowell
74ee0548c4 Added: grunt-notify for jshint errors 2014-07-15 10:21:56 -05:00
Richard Davey
afb379f2dd Merge pull request #1024 from lucbloom/if-onShutDownCallback
Add a check around this optional function
2014-07-15 16:21:35 +01:00
Richard Davey
615d1b6526 Merge pull request #1026 from lucbloom/spritesheet-report-key
Report key when failing
2014-07-15 16:13:39 +01:00
Luc Bloom
7498e6aa6e Report key when failing
While loading sprite sheet.
2014-07-15 16:47:49 +02:00
jdowell
364cbe5044 added: .editorconfig file 2014-07-15 09:35:25 -05:00
Richard Davey
053f862b6b Merge pull request #1023 from lucbloom/sprite-textureChange-obsolete
Removed obsolete code in setTexture
2014-07-15 15:14:36 +01:00
photonstorm
538425193a World.wrap when using the bounds of the object wouldn't adjust the bounds correctly, meaning wrapping outside the camera failed (thanks @jackrugile #1020) 2014-07-15 14:22:24 +01:00
Richard Davey
f77b4d4e8f Merge pull request #1014 from Dumtard/dev
Group create was not creating with p2 debug flag
2014-07-15 12:39:53 +01:00
Luc Bloom
5328069329 Removed obsolete code in setTexture
This code has no side-effects besides assigning “textureChange”, which
is used nor reset anywhere else.
2014-07-15 13:28:31 +02:00
Luc Bloom
f1cb146c10 Add a check around an optional function
My game crashes here if I update phaser.js to a new version. It happens
when my game switches to another State object.
2014-07-15 13:02:44 +02:00
photonstorm
64000dfcb6 Fixed small boolean check error. 2014-07-15 11:49:05 +01:00
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