Trying to add new enemy

This commit is contained in:
Jasmine
2021-12-04 17:54:29 -06:00
parent 1e8a8a15f8
commit 5a3ae103f5
20 changed files with 865 additions and 120 deletions

16
Enemies/Ghost_Enemy.gd Normal file
View File

@@ -0,0 +1,16 @@
extends KinematicBody2D
# Declare member variables here. Examples:
# var a: int = 2
# var b: String = "text"
onready var animation_player: AnimationPlayer = get_node("AnimationPlayer")
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
animation_player.play("appear")
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta: float) -> void:
# pass