Skip to content

Commit 5b73bb2

Browse files
committed
Sprite would glitch if it had an ArcadePhysics Body that was re-positioned out of loop.
Sprite would "fly off" if it had an ArcadePhysics Body that was re-positioned during an input handler. Newly generated docs
1 parent f9c1dc5 commit 5b73bb2

238 files changed

Lines changed: 8946 additions & 11285 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,8 @@ module.exports = function (grunt) {
390390
'!src/Intro.js',
391391
'!src/Outro.js',
392392
'!src/pixi/**/*',
393-
'!src/physics/p2/p2.js'
393+
'!src/physics/p2/p2.js',
394+
'!plugins/AStar.js'
394395
],
395396
options: { jshintrc: '.jshintrc' }
396397
},

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Phaser 2.0.2
55

66
Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It uses [Pixi.js](https://github.com/GoodBoyDigital/pixi.js/) internally for fast 2D Canvas and WebGL rendering.
77

8-
Version: 2.0.2 "Ghealdan" - Released: -in active development-
8+
Version: 2.0.2 "Ghealdan" - Released: 28th March 2014
99

1010
By Richard Davey, [Photon Storm](http://www.photonstorm.com)
1111

@@ -25,6 +25,9 @@ By Richard Davey, [Photon Storm](http://www.photonstorm.com)
2525
What's new in 2.0.2?
2626
--------------------
2727

28+
The great thing about running an open source project are all the awesome contributions from the community, and this release reflects that. Aside from a raft of small but important ArcadePhysics fixes we've also had the entirely library jshinted and tidied up by xtian. We have had jshint configs in place for a while now, but he's forced us to make them part of the build process and helped tidy-up a number of things that had crept in.
29+
30+
We've also updated the included tutorial (and the web version) so it's now fully compatible with Phaser 2 and re-published and updated all of the API documentation, which you'll find in the docs folder in this release.
2831

2932

3033
Welcome to Phaser
@@ -58,12 +61,17 @@ There is also an [un-official Getting Started Guide](http://www.antonoffplus.com
5861
Change Log
5962
----------
6063

61-
Version 2.0.2 - "Ghealdan" - -in active development-
64+
Version 2.0.2 - "Ghealdan" - 28th March 2014
6265

6366
Bug Fixes
6467

68+
* Sprite would glitch if it had an ArcadePhysics Body that was re-positioned out of loop.
69+
* Sprite would "fly off" if it had an ArcadePhysics Body that was re-positioned during an input handler.
6570
* Tween.generateData would enter an eternal loop if the total resulted in a float. Now wrapped in Math.floor.
6671
* ArcadePhysics.Body preUpdate has been modified to stop Sprites with non-1 scaling from gaining delta and moving off the screen (fix #644).
72+
* ArcadePhysics.Body deltaMaxY wasn't being correctly applied.
73+
* P2.World - Removing tilemap layer retrieval for object layers in convertCollisionObjects() (thanks bmceldowney, fix #653)
74+
* Calling Keyboard.stop() wouldn't let you call Keyboard.start() later on in the same game
6775

6876

6977
Updated
@@ -72,11 +80,13 @@ Updated
7280
* Line.fromSprite now sets "fromCenter" to false by default as Sprite.center is deprecated in 2.x. Documentation and Examples updated to reflect this.
7381
* All the documentation has been re-published for 2.0.2.
7482
* Lots of ArcadePhysics.World methods have been marked as private where they shouldn't be called directly (separateX, etc)
83+
* xtian jshint fixed nearly every single file in the repository!
7584

7685

7786
New Features
7887

7988
* Sprite.overlap lets you quickly check to see if the bounds of two display objects are intersecting or not, without having to use a physics system.
89+
* Keyboard.destroy will now clear all event listeners and any custom set callbacks or Keys.
8090

8191

8292
There is an extensive [Migration Guide](https://github.com/photonstorm/phaser/blob/master/resources/Migration%20Guide.md) available for those converting from Phaser 1.x to 2.x. In the guide we detail the API breaking changes and approach to our new physics system.

0 commit comments

Comments
 (0)