Entity progress
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
<BoxCollider />
|
||||
<EntityHealth />
|
||||
<EntityMove moveSpeed="60" />
|
||||
<EntitySwordAttack />
|
||||
<EntityFaction faction="FACTION_PLAYER" />
|
||||
<PlayerController ref="player" />
|
||||
|
||||
<child position="0, 0, -0.7">
|
||||
|
5
assets/games/rose/prefabs/SwordHitbox.xml
Normal file
5
assets/games/rose/prefabs/SwordHitbox.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<prefab name="SwordHitbox" type="">
|
||||
<CharacterController2D />
|
||||
<BoxCollider />
|
||||
<HurtHazard ref="hazard" />
|
||||
</prefab>
|
@ -6,6 +6,5 @@
|
||||
<BoxCollider />
|
||||
<EntityHealth />
|
||||
<HurtHazard />
|
||||
<EntityMove moveSpeed="20" />
|
||||
<EntityChargePlayer />
|
||||
<EntityFaction faction="FACTION_ENEMY" />
|
||||
</prefab>
|
Reference in New Issue
Block a user