mirror of
https://github.com/wassname/phaser.git
synced 2026-08-18 12:20:33 +08:00
Lots of Tilemap updates, moved the renderer out, added components and new tests.
This commit is contained in:
@@ -79,7 +79,7 @@ module Phaser.Components {
|
||||
public cameraBlacklist: number[];
|
||||
|
||||
/**
|
||||
* Whether the Sprite background is opaque or not. If set to true the Sprite is filled with
|
||||
* Whether the texture background is opaque or not. If set to true the object is filled with
|
||||
* the value of Texture.backgroundColor every frame. Normally you wouldn't enable this but
|
||||
* for some effects it can be handy.
|
||||
* @type {boolean}
|
||||
@@ -136,6 +136,12 @@ module Phaser.Components {
|
||||
*/
|
||||
public renderRotation: bool = true;
|
||||
|
||||
/**
|
||||
* The direction the animation frame is facing (can be Phaser.Types.RIGHT, LEFT, UP, DOWN).
|
||||
* Very useful when hooking animation to Sprite directions.
|
||||
*/
|
||||
public facing: number;
|
||||
|
||||
/**
|
||||
* Flip the graphic horizontally (defaults to false)
|
||||
* @type {boolean}
|
||||
|
||||
Reference in New Issue
Block a user