Commit graph

1533 commits

Author SHA1 Message Date
photonstorm
1326e40598 Build files + docs update. 2014-04-15 15:39:23 +01:00
photonstorm
5f455791d4 TypeScript defs update (thanks @cheshirepuss42, ping to @clark-stevenson to ensure merge with his master version :) 2014-04-15 03:24:54 +01:00
photonstorm
3b73c17997 ArcadePhysics.Body.phase is checked in postUpdate to prevent it from being called multiple times in a single frame. 2014-04-15 02:50:25 +01:00
photonstorm
1164bf85ac Line.angle and Math.angleBetween used Math.atan2 arguments in the wrong order (thanks @jotson, fix #724) 2014-04-15 02:12:33 +01:00
Richard Davey
d9e5b4078d Merge pull request #724 from jotson/dev
Math.atan2 calls are using arguments in the wrong order
2014-04-15 02:08:53 +01:00
John Watson
252032359d Merge branch 'dev' of github.com:jotson/phaser into dev 2014-04-14 17:15:09 -07:00
John Watson
27bdbbafaa Fixed Math.atan2 arguments in wrong order
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/atan2
2014-04-14 17:14:31 -07:00
photonstorm
563e581049 Tidied up jsdoc blocks. 2014-04-15 00:57:35 +01:00
photonstorm
eeff786eb2 StateManager.restart incorrectly skipped the first additional parameter after clearCache (thanks @mariusbrn, fix #722) 2014-04-14 23:34:13 +01:00
photonstorm
25a93cf4af AnimationManager.play will now call Animation.stop on the current animation before switching to the new one (thanks @nihakue, #713) 2014-04-14 23:29:09 +01:00
photonstorm
5d0ea6453b AnimationManager.destroy now iterates through child animations calling destroy on all of them, avoiding a memory leak (thanks stauzs)
Animation.destroy didn't correctly clear the onStart, onLoop and onComplete signals.
2014-04-14 22:53:05 +01:00
photonstorm
a7f6165e39 InputManager.resetLocked - If the Input Manager has been reset locked then all calls made to InputManager.reset, such as from a State change, are ignored.
Keyboard.reset has a new `hard` parameter which controls the severity of the reset. A soft reset doesn't remove any callbacks or event listeners.
Key.reset has a new `hard` parameter which controls the severity of the reset. A soft reset doesn't remove any callbacks or event listeners.
2014-04-14 21:53:08 +01:00
photonstorm
055cb8058d Device.crosswalk detects if your game is running under Intels Crosswalk XDK. 2014-04-14 16:40:14 +01:00
photonstorm
e9cb345261 P2.World.convertTilemap now correctly checks the collides parameter of the tiles as it converts them. 2014-04-14 13:52:53 +01:00
photonstorm
f70e4d7d90 Fixed the use of the destroy parameter in Group.removeAll and related functions (thanks @AnderbergE, fix #717) 2014-04-14 12:57:29 +01:00
Richard Davey
2fd704062d Merge pull request #718 from clark-stevenson/patch-1
Update phaser.d.ts
2014-04-14 11:52:34 +01:00
photonstorm
f33ba5dcc7 Timer has removed all use of local temporary vars in the core update loop.
Timer.clearPendingEvents will purge any events marked for deletion, this is run automatically at the start of the update loop.
The main Timer loop could incorrectly remove TimeEvent if a new one was added specifically during an event callback (thanks @garyyeap, fix #710)
2014-04-14 11:51:50 +01:00
clark-stevenson
af42813a36 Update phaser.d.ts
#715

Added OnFileStart signal to loader
2014-04-14 11:44:32 +01:00
Richard Davey
286882b1ee Merge pull request #705 from codevinsky/Loader-onFileStart
Added OnFileStart signal to loader
2014-04-14 11:27:32 +01:00
Richard Davey
ddf401e2a4 Merge pull request #714 from clark-stevenson/patch-2
Update phaser.d.ts
2014-04-14 11:22:23 +01:00
clark-stevenson
4167e9ab00 Update phaser.d.ts
#95b0532
#770ced8
#780fb48
#a01cc2e
#b7b1e74  <-- Not sure how to handle src/utils/Utils.js Array.prototype.forEach
2014-04-13 19:43:13 +01:00
jdowell
c9a67936d8 Added OnFileStart signal to loader
We've had a number of people in the channel ask for the ability to know when a file has started loading and to get the file names of said files.

Added the OnFileStart signal to do just that.
2014-04-11 13:17:26 -05:00
photonstorm
4c31623e6e Fixed changelog case. 2014-04-11 14:32:37 +01:00
photonstorm
c1ff6ef0df Changed md. 2014-04-11 14:31:54 +01:00
photonstorm
0d15350755 Preparing for 2.0.4 development. 2014-04-11 14:29:38 +01:00
photonstorm
cdff873cf7 Updated change log and readme headers. 2014-04-11 13:28:17 +01:00
photonstorm
7b2c3e8e0f Updated header styles in readme. 2014-04-11 13:15:41 +01:00
photonstorm
4cea8d7bcc Preparing for final 2.0.3 release. Updated docs, readme and build files. 2014-04-11 13:09:28 +01:00
photonstorm
eb23903174 Corrected initial particle scale. 2014-04-11 03:26:14 +01:00
photonstorm
a2b2d558a5 jsdoc and jshint fixes. 2014-04-11 03:02:19 +01:00
photonstorm
3d7ca639c3 Fixed the vectors used in the BlurX and BlurY filters (thanks @nickryall, fix #668) 2014-04-11 01:01:47 +01:00
photonstorm
77f8e5eefc P2 Fixtures Collection Class (@georgiee please test it works ok! #704) 2014-04-11 00:43:30 +01:00
photonstorm
3a1c202e24 jsdoc fixes for SignalBindings. 2014-04-11 00:19:37 +01:00
Richard Davey
b7b1e7428a Merge pull request #704 from georgiee/fixture-list
P2 Fixtures Collection Class
2014-04-11 00:19:05 +01:00
Richard Davey
7424ef7c7a Merge pull request #703 from STuFF/dev
Dev
2014-04-11 00:12:09 +01:00
photonstorm
a01cc2e1ca Objects with an InputHandler now deactivate it when the object is removed from a Group but not destroyed (fix #672)
Lots of jsdoc fixes in Body and World.
Removed un-used events from World (such as onImpact).
2014-04-11 00:06:22 +01:00
STuFF
3376956657 re-generated documentation 2014-04-11 00:13:43 +02:00
STuFF
c24b6e6f1c documentation template : classes names indentation 2014-04-11 00:11:26 +02:00
Georgios Kaleadis
b61f19cf76 added fixture list files to grunt 2014-04-10 23:51:07 +02:00
Georgios Kaleadis
b4a1816245 added fixture list files to grunt 2014-04-10 23:50:05 +02:00
Georgios Kaleadis
13e5cacd71 added a p2 fixture collections helper class 2014-04-10 23:45:35 +02:00
Georgios Kaleadis
1213cae0a4 additionally save fixtures by key 2014-04-10 21:28:14 +02:00
photonstorm
289b5b2532 Removed un-used vars. 2014-04-10 17:25:35 +01:00
photonstorm
9ddcc5d0ea p2.World.defaultRestitution has been deprecated and is now p2.World.restitution.
p2.World.defaultFriction has been deprecated and is now p2.World.friction.
p2.World now uses 4 bodies for the world boundaries, rather than 1 body with 4 shapes. This helps the broadphase massively.
p2.World bounds are now included in the callback events such as beginContact and impact events.
2014-04-10 17:11:16 +01:00
photonstorm
780fb48ab3 P2.World has a new contactMaterial property, which can be configured like a normal P2 Contact Material and is applied when two bodies hit that don't have defined materials. 2014-04-10 14:51:20 +01:00
photonstorm
8449f77152 Fixed World.restitution typo.
Updated World to use the new p2 defaultContactMaterial.
2014-04-10 14:41:50 +01:00
photonstorm
78aa24f04b Emitter.setScale now allows you to scale the x and y axis of the particles independently. 2014-04-10 05:18:06 +01:00
photonstorm
fab18dd80d Modified Phaser.Animation.generateFrameNames to make it a static function (fix #701) 2014-04-10 04:31:27 +01:00
Richard Davey
d05ac487c6 Merge pull request #698 from clark-stevenson/patch-1
generateFrameNames returns string[]
2014-04-10 04:28:54 +01:00
photonstorm
8c434a83ab Fixed issue with Particles not being updated by the Emitter and rebuilt the dist files. 2014-04-10 04:19:43 +01:00