mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 15:14:47 +00:00
TypeScript defs update (thanks @cheshirepuss42, ping to @clark-stevenson to ensure merge with his master version :)
This commit is contained in:
parent
3b73c17997
commit
5f455791d4
2 changed files with 7 additions and 2 deletions
|
@ -88,6 +88,11 @@ Version 2.0.4 - "Mos Shirare" - in development
|
|||
* Line.angle and Math.angleBetween used Math.atan2 arguments in the wrong order (thanks @jotson, fix #724)
|
||||
|
||||
|
||||
### ToDo
|
||||
|
||||
* Stage.postUpdate may update a camera tracked object twice if it's not on the root display level (which it rarely is)
|
||||
|
||||
|
||||
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.
|
||||
|
||||
The full Change Log is at https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md
|
||||
|
|
4
build/phaser.d.ts
vendored
4
build/phaser.d.ts
vendored
|
@ -1781,7 +1781,7 @@ declare module Phaser {
|
|||
sprite(x: number, y: number, key?: any, frame?: any, group?: Phaser.Group): Phaser.Sprite;
|
||||
spriteBatch(parent: any, name?: string, addToStage?: boolean): Phaser.Group;
|
||||
text(x: number, y: number, text: string, style: any, group?: Phaser.Group): Phaser.Text;
|
||||
tilemap(key: string, tileWidth?: number, tileHeight?: number, width?: number, height?: number): Phaser.Tilemap;
|
||||
tilemap(key?: string, tileWidth?: number, tileHeight?: number, width?: number, height?: number): Phaser.Tilemap;
|
||||
tileSprite(x: number, y: number, width: number, height: number, key?: any, frame?: any, group?: Phaser.Group): Phaser.TileSprite;
|
||||
tween(obj: Object): Phaser.Tween;
|
||||
|
||||
|
@ -4179,7 +4179,7 @@ declare module Phaser {
|
|||
addTilesetImage(tileset: string, key?: string, tileWidth?: number, tileHeight?: number, tileMargin?: number, tileSpacing?: number, gid?: number): Phaser.Tileset;
|
||||
calculateFaces(layer: number): void;
|
||||
copy(x: number, y: number, width: number, height: number, layer?: any): Phaser.Tile[];
|
||||
create(name: string, width: number, height: number, tileWidth:number, tileHeight:number): Phaser.Tilemap;
|
||||
create(name: string, width: number, height: number, tileWidth:number, tileHeight:number): Phaser.TilemapLayer;
|
||||
createBlankLayer(name: string, width: number, height: number, tileWidth: number, tileHeight: number, group?: Phaser.Group): Phaser.TilemapLayer;
|
||||
createFromObjects(name: string, gid: any, key: string, frame?: any, exists?: boolean, autoCull?: boolean, group?: Phaser.Group, CustomClass?: Object, adjustY?:boolean): void;
|
||||
createLayer(layer: any, width?: number, height?: number, group?: Phaser.Group): Phaser.TilemapLayer;
|
||||
|
|
Loading…
Reference in a new issue