HowToAddCreaturesStendhal: Difference between revisions

Content deleted Content added
imported>Kymara
improve ai profiles section.
imported>Kymara
not been called GameObjects for a long time. is EntityMap
Line 95:
See also [[StendhalOpenTasks#Monsters and Items| How to know graphics specifications for creatures]]
 
= Register the class =
= Edit GameObjects=
Just in case your sprite is not an standard size ''(48x64)'' you will need to use a different Creature class, there is probably already one there available like giant_human or huge_animal, etc,. but just incaseIf not, hereadd isyour howcreature to do asrc/games/stendhal/client/entity/EntityMap.java, newlike onethis:
 
register("creature","small_animal",SmallCreature.class);