You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TilemapLayer.getTiles now returns a copy of the Tiles found by the method, rather than references to the original Tile objects, so you're free to modify them without corrupting the source (thanks @Leekaophaserjs#1585)
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,19 +68,23 @@ Version 2.3.0 - "Tarabon" - in dev
68
68
69
69
### Updates
70
70
71
-
* TypeScript definitions fixes and updates (thanks @clark-stevenson@TimvdEijnden@belohlavek@ivw)
71
+
* TypeScript definitions fixes and updates (thanks @Phaiax@Bilge@clark-stevenson@TimvdEijnden@belohlavek@ivw@vulvulune)
72
72
* Sound.fadeTween is now used for Sound.fadeIn and Sound.fadeOut audio tweens.
73
73
* Sound.stop and Sound.destroy now halt a fade tween if in effect.
74
74
* Arcade Physics `computeVelocity` now allows a max velocity of 0 allowing movement to be constrained to a single axis (thanks @zekoff#1594)
75
75
* Added missing properties to the InputHandler prototype, reducing hidden class modifications.
76
76
* Updated docstrap-master toc.js to fix nav scrolling (thanks @abderrahmane-tj@vulvulune#1589)
77
+
* Added missing plugins member in Phaser.Game class (thanks @Bilge#1568)
78
+
* Lots of JSDocs fixes (thanks @vulvulune@micahjohnston@Marchys)
79
+
* TilemapLayer.getTiles now returns a copy of the Tiles found by the method, rather than references to the original Tile objects, so you're free to modify them without corrupting the source (thanks @Leekao#1585)
77
80
78
81
### Bug Fixes
79
82
80
83
* SoundManager.unlock checks for audio `start` support and falls back to `noteOn` if not found.
81
84
* Sprite.frame and AnimationManager.frame wouldn't return the correct index if a sprite sheet was being used unless it had first been set via the setter.
82
85
* Error in diffX and diffY calculation in Tilemap.paste (thanks @amelia410#1446)
83
86
* Fixed issue in PIXI.canUseNewCanvasBlendModes which would create false positives in browsers that supported `multiply` in Canvas path/fill ops, but not for `drawImage` (Samsung S5 for example). Now uses more accurate magenta / yellow mix test.
87
+
* Fixed FrameData.getFrame index out of bound error (thanks @jromer94#1581#1547)
84
88
85
89
For changes in previous releases please see the extensive [Version History](https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md).
86
90
@@ -240,7 +244,9 @@ If you need to support IE9 / Android 2.x **and** use P2 physics then you must us
240
244
241
245
Phaser is developed in JavaScript. We've made no assumptions about how you like to code and were careful not to impose a strict structure upon you. You won't find Phaser split into modules, requiring a build step, or making you use a class / inheritance OOP approach. That doesn't mean you can't do so, it just means we don't *force* you to. It's your choice.
242
246
243
-
If you code with [TypeScript](http://www.typescriptlang.org/) there are comprehensive definition files in the `typescript` folder. They are for TypeScript 1.0+. If using an earlier version of TypeScript (i.e. 0.9.5) you will need to include [WebGL definitions](https://github.com/piersh/WebGL.ts) into your project first.
247
+
If you code with [TypeScript](http://www.typescriptlang.org/) there are comprehensive definition files in the `typescript` folder. They are for TypeScript 1.4+ only.
248
+
249
+
We don't officially support any version of TypeScript before 1.4, however you can use any of our defs files from January 2015 or before, although they will not be fully feature complete. If using a very early version of TypeScript (i.e. 0.9.5) you will need to include [WebGL definitions](https://github.com/piersh/WebGL.ts) into your project first.
0 commit comments