enemies can be squashed by rocks

This commit is contained in:
pennyrigate 2022-12-07 02:23:21 -05:00
parent 20fa885736
commit 4790b2b2a4
9 changed files with 34 additions and 26 deletions

View file

@ -1,5 +1,6 @@
extends KinematicBody2D
var velocity = Vector2.ZERO
onready var bottom = $Bottom
func _physics_process(delta):
if !is_on_floor():