public InGamePage() { EnableMultiTouch(); //IMPORTANT!! character = new BCharacter(); character.scale = 0.25f; AddChild(character); ListenForUpdate(HandleUpdate); }
public InGamePage() { EnableMultiTouch (); //IMPORTANT!! character = new BCharacter (); character.scale = 0.25f; AddChild (character); ListenForUpdate (HandleUpdate); }
public void shoot() { Debug.Log ("Shooting!"); BCharacter _bullet = new BCharacter(); AddChild (_bullet); _bullet.scale = 0.025f; _bullet.x = character.x; _bullet.y = character.y; }
public void shoot() { Debug.Log("Shooting!"); BCharacter _bullet = new BCharacter(); AddChild(_bullet); _bullet.scale = 0.025f; _bullet.x = character.x; _bullet.y = character.y; }