remove print statements; increase charger range
This commit is contained in:
parent
2f30c9f04b
commit
7d4a6938dc
3 changed files with 1 additions and 10 deletions
|
|
@ -171,12 +171,6 @@ func _process(delta: float) -> void:
|
|||
else:
|
||||
%Tank.rotation.y = opp_dir.angle()
|
||||
|
||||
# print("tank_angle = ", %Tank.rotation.y, "; angle = ", angle, "; angle2 = ", angle2)
|
||||
# if (abs(angle - %Tank.rotation.y) <= abs(angle2 - %Tank.rotation.y)):
|
||||
# %Tank.rotation.y = angle
|
||||
# else:
|
||||
# %Tank.rotation.y = angle2
|
||||
|
||||
func damage(damager: Node3D) -> void:
|
||||
if health <= 0: return
|
||||
if state == State.DASHING:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue