diff options
author | cflip <cflip@cflip.net> | 2022-09-26 21:32:35 -0600 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2022-09-26 21:32:35 -0600 |
commit | 82e8d2eba1811a88a5c86777ed0b0dedfe057cf9 (patch) | |
tree | fa6570324d160ea952aa91929f4b377e9921b867 | |
parent | 9e9a9475481fd52db1f1247d2f35bd664b211c1d (diff) |
Remove debug testing controls
-rw-r--r-- | scripts/basketball.gd | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/basketball.gd b/scripts/basketball.gd index feed262..857e991 100644 --- a/scripts/basketball.gd +++ b/scripts/basketball.gd @@ -38,16 +38,10 @@ func _integrate_forces(state): state.linear_velocity = Vector2() state.angular_velocity = 0 -# Temporary testing controls func _process(delta): if waiting_for_shoot: $Sprite.rotation += spin_speed * delta $GhostSprite.rotation += spin_speed * delta - if Input.is_action_pressed("ui_left"): - start_position.x -= move_speed * delta - if Input.is_action_pressed("ui_right"): - start_position.x += move_speed * delta - start_position.x = clamp(start_position.x, 0, get_viewport_rect().size.x) func _input(event): if event.is_action_pressed("shoot") and mouse_over_ball and waiting_for_shoot: |