You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now the bullet speed and angle is predefined and fixed, we can only hit the opponent in a fixed distance.
We can implement a range attack in bullet.update. When it hit some object, create three balls of radius r, 2r, 4r, respctively. and check collision with tanks, for different range apply different level of attack.
The text was updated successfully, but these errors were encountered:
Now the bullet speed and angle is predefined and fixed, we can only hit the opponent in a fixed distance.
We can implement a range attack in bullet.update. When it hit some object, create three balls of radius r, 2r, 4r, respctively. and check collision with tanks, for different range apply different level of attack.
The text was updated successfully, but these errors were encountered: