Skip to content

Commit 71f8247

Browse files
committed
Tidying up all of the map files, sorting out Tiled paths and updated the tilemap examples for 1.1.4.
1 parent c6fa2cb commit 71f8247

60 files changed

Lines changed: 39 additions & 543 deletions

Some content is hidden

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

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Significant API changes:
5555
* Tilemap.createFromObjects can now turn a bunch of Tiled objects into Sprites in one single call, and copies across all properties as well.
5656
* Tween.onStartCallback and onCompleteCallback have been removed to avoid confusion. You should use the onStart, onLoop and onComplete events instead.
5757
* Button.forceOut default value has changed from true to false, so Buttons will revert to an Up state (if set) when pressed and released.
58+
* Body.drag has been removed. Please use the new Body.friction value instead (which is a number value, not a Point object)
5859

5960

6061
New features:
@@ -81,6 +82,9 @@ New features:
8182
* Groups can now be added to other Groups as children via group.add() and group.addAt()
8283
* Groups now have an 'alive' property, which can be useful when iterating through child groups with functions like forEachAlive.
8384
* Added a new Project Template "Full Screen Mobile" which you can find in the resources folder. Contains html / css / layout needed for a deployed Phaser game.
85+
* Body.speed - the current speed of the body.
86+
* Body.friction - This now replaces Body.drag and provides for a much smoother friction experience.
87+
* Body.sleeping - A Physics Body can now be set to 'go to sleep' if the velocity drops between the given range (sleepMin and sleepMax) for the given period of sleepDuration (see the new examples).
8488

8589

8690
New Examples:
@@ -137,6 +141,8 @@ Updates:
137141
* Canvas.getOffset now runs a strict/quirks check and uses document.documentElement when calculating scrollTop and scrollLeft to avoid Chrome console warnings.
138142
* The Time class now has its own Phaser.Timer which you can access through game.time.events. See the new Timer examples to show how to use them.
139143
* Added StateManager.getCurrentState to return the currently running State object (thanks Niondir)
144+
* Removed the console.log redirect from Utils as it was messing with Firefox.
145+
* Body.acceleration is now much smoother and less eratic at high speeds.
140146

141147

142148
Bug Fixes:
-77.2 KB
Binary file not shown.
-148 KB
Binary file not shown.
-6.99 KB
Binary file not shown.
-21.7 KB
Binary file not shown.
-24 KB
Binary file not shown.
-28 KB
Binary file not shown.
-20.6 KB
Binary file not shown.
-28 KB
Binary file not shown.
-4.74 KB
Binary file not shown.

0 commit comments

Comments
 (0)