Testing some enemies

This commit is contained in:
2023-03-30 18:29:56 -07:00
parent 7bfc067e27
commit 3af0e0af00
22 changed files with 374 additions and 71 deletions

View File

@ -0,0 +1,15 @@
<prefab name="Crab" type="">
<MeshRenderer />
<CapsuleMeshHost />
<SimpleTexturedMaterial ref="material" />
<CharacterController2D />
<BoxCollider />
<EntityHealth />
<EntityRandomWalk />
<child position="0, 0, -0.6">
<MeshRenderer />
<CubeMeshHost size="0.2, 0.2, 0.2" />
<SimpleTexturedMaterial color="COLOR_RED" />
</child>
</prefab>

View File

@ -3,7 +3,8 @@
<CapsuleMeshHost />
<SimpleTexturedMaterial ref="material" />
<CharacterController2D />
<BoxCollider min="-1, -1" max="1, 1" />
<BoxCollider />
<EntityHealth />
<PlayerController ref="player" />
<child position="0, 0, -0.7">

View File

@ -0,0 +1,9 @@
<prefab name="Urchin" type="">
<MeshRenderer />
<CapsuleMeshHost />
<SimpleTexturedMaterial ref="material" />
<CharacterController2D />
<BoxCollider />
<EntityHealth />
<HurtHazard />
</prefab>