Text.lineSpacing allows you to control the spacing between each line that is rendered.

Text.inputEnabled allows you to enable all input events over Text objects: dragging, clicking, etc - anything that works on a Sprite works on Text now too.
This commit is contained in:
photonstorm
2014-02-09 22:48:35 +00:00
parent 9ee5cdaded
commit e15bebd269
4 changed files with 79 additions and 13 deletions
+1 -1
View File
@@ -784,7 +784,7 @@ Object.defineProperty(Phaser.Sprite.prototype, "renderOrderID", {
});
/**
* By default an Image won't process any input events at all. By setting inputEnabled to true the Phaser.InputHandler is
* By default a Sprite won't process any input events at all. By setting inputEnabled to true the Phaser.InputHandler is
* activated for this object and it will then start to process click/touch events and more.
*
* @name Phaser.Sprite#inputEnabled