From 82e8d2eba1811a88a5c86777ed0b0dedfe057cf9 Mon Sep 17 00:00:00 2001 From: cflip Date: Mon, 26 Sep 2022 21:32:35 -0600 Subject: Remove debug testing controls --- scripts/basketball.gd | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scripts/basketball.gd') 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: -- cgit v1.2.3