adding the sage npc (dialogs not working)

This commit is contained in:
Clément Le Bihan
2020-05-01 17:25:24 +02:00
parent 3d558f7e4b
commit 17b8670d4f
2 changed files with 22 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

+22
View File
@@ -145,6 +145,7 @@
<sprite name="farmer1" src="assets/sprites/npc/farmer1.png" />
<sprite name="mayor" src="assets/sprites/npc/mayor.png" />
<sprite name="mia" src="assets/sprites/npc/mia.png" />
<sprite name="sage" src="assets/sprites/npc/sage.png" />
<enemies>
<enemy name="bee" src="prefabs/enemies/bee.gcprefab" spawn_rate="17%" />
@@ -236,6 +237,27 @@
</dialog_holder>
</gc_entity>
<gc_entity>
<transform_component>
<Position x="0" y="0" />
<Size x="70" y="90" />
</transform_component>
<renderer src="sage">
<Rect height="32" width="24" top="64" left="24" />
</renderer>
<map_linker x="39" y="30" />
<dialog_holder x="39" y="29" tile_texture="npc_interact">
<Sage line="Nice to meet you !" />
<Sage line="I will explain to you the legends\n and secrets of this village" />
<Sage line="There are 4 legendary items, \none for each attack you can perform in combat." />
<Sage line="First the fireball upgrade, \nits majestic fire wand c" />
<Sage line="This weapon makes your fireball attack stronger" />
<Sage line="Second the Water Jet update, \nthis wand was." />
<Sage line="The third item is uppercut upgrade ,\nthose gante" />
<Sage line="The fourth and final item is the,\n HERO shield is d" />
</dialog_holder>
</gc_entity>
<gc_entity>
<transform_component>
<Position x="0" y="0" />