Updated mirror wave; tweaked CRT movement
This commit is contained in:
parent
7e75a96795
commit
78472ee95c
28 changed files with 938 additions and 32 deletions
19
scenes/enemy_shards.gd
Normal file
19
scenes/enemy_shards.gd
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
extends Node2D
|
||||
|
||||
# var enemy_type: String = "shards"
|
||||
|
||||
func _ready() -> void:
|
||||
print("Requesting Animations…")
|
||||
start_all_animations()
|
||||
|
||||
|
||||
|
||||
func start_all_animations():
|
||||
var all_children = get_children(true)
|
||||
for child in all_children:
|
||||
#print(all_children)
|
||||
print("Looking for AnimationPlayers…")
|
||||
if child is AnimationPlayer:
|
||||
print("Found an AnimationPlayer!")
|
||||
child.play("patrol")
|
||||
elif child != AnimationPlayer: print("No animation players found!")
|
||||
Loading…
Add table
Add a link
Reference in a new issue