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
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,8 @@ Version 2.0.5 - "Tanchico" - in development
87
87
* Tilemap.setCollisionBetween has a new boolean parameter 'recalculate' which lets you control recalculation of the collision faces (thanks @max-m, #819)
88
88
* Tilemap.setCollisionByExclusion has a new boolean parameter 'recalculate' which lets you control recalculation of the collision faces (thanks @max-m, #819)
89
89
* Tilemap.setCollisionByIndex has a new boolean parameter 'recalculate' which lets you control recalculation of the collision faces (thanks @max-m, #819)
90
+
* Graphics.drawTriangles will draw an array of vertices to the Graphics object (thanks @codevinsky, #795)
91
+
* Polygon.area will calculate the area of the Polygon (thanks @codevinsky, #795)
* Indicates the rotation of the Graphics, in degrees, from its original orientation. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation.
303
325
* Values outside this range are added to or subtracted from 360 to obtain a value within the range. For example, the statement player.angle = 450 is the same as player.angle = 90.
304
326
* If you wish to work in radians instead of degrees use the property Sprite.rotation instead.
327
+
*
305
328
* @name Phaser.Graphics#angle
306
329
* @property {number} angle - Gets or sets the angle of rotation in degrees.
0 commit comments