1. trstamper
  2. ludum dare

Commits

Se...@Seph-BOOTCAMP  committed d0fbcba Merge

Merge

  • Participants
  • Parent commits f53ebc9, 2498730
  • Branches default

Comments (0)

Files changed (4)

File Assets/Prefabs/TextPrefab.prefab

Binary file modified.

File Assets/Scenes/menu.unity

Binary file modified.

File Assets/Scripts/EnemyManagerScript.cs

View file
 		enemyPos.angle += Mathf.PI;
 		Debug.Log("spawning");
 
-		var Enemy = GameObject.Instantiate(EnemyType, PolarCoord.polarToCartesian(enemyPos), Quaternion.AngleAxis(enemyPos.angle * Mathf.Rad2Deg, Vector3.back)) as GameObject;
+		var Enemy = GameObject.Instantiate(EnemyType, PolarCoord.polarToCartesian(enemyPos), Quaternion.AngleAxis(enemyPos.angle * Mathf.Rad2Deg -90, Vector3.back)) as GameObject;
 		Enemy.GetComponent<EnemyScript>().World = World;
 
 		eligibleForSpawn = false;

File Assets/Scripts/ShipLoggerScript.cs

View file
 	// Use this for initialization
 	void Start () {
 		textClone = Instantiate(text) as GUIText;
-		textClone.gameObject.active = false;
-		textClone.fontSize = 12;
+		textClone.gameObject.active = false;
 	}
 	
 	// Update is called once per frame