abraker95 / tanks

2D arcade top-view shooting game
1 stars 0 forks source link

Camera view doesn't zoom in on one tank #42

Closed ghost closed 9 years ago

ghost commented 9 years ago

When a tank is destroyed externally (not by another tank), the camera still thinks there are 2 tanks. Also, when the previous is true, shooting a bullet makes the camera follow it.

ghost commented 9 years ago

I will solve this issue now.

ghost commented 9 years ago

Now when a tank is destroyed a destroyevent is emitted. The event is then catched by the view system, and it updates automatically.