Entity progress

This commit is contained in:
2023-03-30 21:43:13 -07:00
parent af110f7c66
commit c0a74bf52f
19 changed files with 200 additions and 55 deletions

View File

@ -6,6 +6,8 @@
<BoxCollider />
<EntityHealth />
<EntityMove moveSpeed="60" />
<EntitySwordAttack />
<EntityFaction faction="FACTION_PLAYER" />
<PlayerController ref="player" />
<child position="0, 0, -0.7">

View File

@ -0,0 +1,5 @@
<prefab name="SwordHitbox" type="">
<CharacterController2D />
<BoxCollider />
<HurtHazard ref="hazard" />
</prefab>

View File

@ -6,6 +6,5 @@
<BoxCollider />
<EntityHealth />
<HurtHazard />
<EntityMove moveSpeed="20" />
<EntityChargePlayer />
<EntityFaction faction="FACTION_ENEMY" />
</prefab>