Enemies are spheres now cause fuck off.

This commit is contained in:
Victor Turgeon
2022-10-11 19:54:40 -04:00
parent f9e2351adb
commit 922c38cf7b
2 changed files with 17 additions and 50 deletions

View File

@@ -1,6 +1,5 @@
extends KinematicBody
onready var animation_player = $AnimationPlayer
var hit_acceleration = 10
var hit_speed = 100
@@ -21,5 +20,7 @@ func _physics_process(delta):
move_and_slide(movement, Vector3.UP)
func get_slapped(slap_level, slap_vector):
animation_player.play("head_wobble")
direction = slap_vector
func get_shot():
queue_free()