significant work on game logic
This commit is contained in:
@@ -8,7 +8,7 @@ func _physics_process(_delta: float) -> void:
|
||||
Controls where the camera is pointed based on which player is selected
|
||||
'''
|
||||
|
||||
target_angle = abs(GLOBALVARS.selected_player) * 90
|
||||
target_angle = (abs(GLOBALVARS.selected_player) * 90)
|
||||
if current_angle != target_angle:
|
||||
current_angle += 0.1*(target_angle-current_angle)
|
||||
|
||||
|
Reference in New Issue
Block a user