Move Hiro animations to a global library
This commit is contained in:
parent
2b88ea97ac
commit
b7fb3bbb23
1683
Hiro/hiro_ai.tscn
1683
Hiro/hiro_ai.tscn
File diff suppressed because it is too large
Load diff
2113
Hiro/hiro_anims.tres
Normal file
2113
Hiro/hiro_anims.tres
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,7 @@
|
|||
extends CharacterBody2D
|
||||
|
||||
@export var health = 100
|
||||
@export var can_move = true
|
||||
|
||||
signal got_hurt(damage: int, attack_direction: Vector2)
|
||||
signal defeated
|
||||
|
|
|
@ -17,6 +17,7 @@ texture = ExtResource("4_elb6q")
|
|||
|
||||
[node name="HiroPlayer" parent="." instance=ExtResource("1_c1gpq")]
|
||||
position = Vector2(92, 178)
|
||||
can_move = true
|
||||
|
||||
[node name="ReedPlayer" parent="." instance=ExtResource("6_cn8e2")]
|
||||
position = Vector2(176, 178)
|
||||
|
|
Loading…
Reference in a new issue