forked from team-sg/hero-mark-2
enemies can be squashed by rocks
This commit is contained in:
parent
20fa885736
commit
4790b2b2a4
9 changed files with 34 additions and 26 deletions
|
@ -1,5 +1,6 @@
|
|||
extends KinematicBody2D
|
||||
var velocity = Vector2.ZERO
|
||||
onready var bottom = $Bottom
|
||||
|
||||
func _physics_process(delta):
|
||||
if !is_on_floor():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue