Monday, August 23, 2010

Turrets & bullets

This week I managed to get the hang of using a unity particle system for all the bullets by using the Emit() method of the ParticleEmitter. That will ensure just one draw call for all the bullets in my scene.

I have also made a Turret to focus on a target and start shooting at it. I also tried doing a prediction method that takes into consideration the distance and speed of the vehicle. I will need to add also into consideration the bullet's speed.

For Next week:
- re-add the enemies and make them shoot at the player
- optimize the textured enemies to use an unparented bones system (read this somewhere to minimize draw calls in unity)
- buy unity license

No comments: