Great new thrust ship example added for ScrollZones. Also added rotationOffset value to GameObject base class.

This commit is contained in:
Richard Davey
2013-04-23 21:27:45 +01:00
parent 00fb20f8c2
commit 6466361f5f
10 changed files with 129 additions and 24 deletions
+5
View File
@@ -76,6 +76,11 @@ module Phaser {
public origin: MicroPoint;
public z: number = 0;
// This value is added to the angle of the GameObject.
// For example if you had a sprite drawn facing straight up then you could set
// rotationOffset to 90 and it would correspond correctly with Phasers rotation system
public rotationOffset: number = 0;
// Physics properties
public immovable: bool;