translate(x, y) → {Phaser.Matrix}
Translates the matrix on the x and y.
This is the same as Matrix.tx += x.
Parameters
Name | Type | Description |
---|---|---|
x | number | The x value to translate on. |
y | number | The y value to translate on. |
Returns
This Matrix object.
- Source code: geom/Matrix.js (Line 279)
Please login to continue.