|
CharacterCreation
This page explain how a character is stored, and will explain how to create one. Introduction - Character creationWhatEvery file about one character is contained in a directory of the name of the character, placed in media/characters/ these directory contain 2 types of file:
HowAbout png files, they must use transparency if you want a correct integration in the game (and you /want/ that). I won't explain much about theses, they are just basically images of the character in every pwosition the player will see him when playing. About the xml file, it describe any specificity of the player, every animation with all their meta-information are descrided here. Basically copy it from the first ever character for this game then modify it, it must follow those rules: Character node
Example: <character
name="Stick"
image="./icon.jpg"
creator="Samoht"
weight="110"
age="Not Disclosed"
Description="A misterious character based on sticks, with some awsome powers.">
</character>Movement nodesEvery "movement" node need at least the name of the movement, his duration, and if the animation of this movement "loop". And at least one "frame" node. Example: ... Static <movement name="static"
duration="1"
repeat="-1"
>
</movement>... Movement <movement name="walk"
duration="1000"
repeat="-1"
>
</movement>
Frame nodes
Example: <frame
time="0"
image="stick-static1.png"
> </frame>
<frame
time="150"
image="stick-walk1.png"
> </frame>
<frame
time="300"
image="stick-walk2.png"
> </frame>
<frame
time="450"
image="stick-walk3.png"
> </frame>
<frame
time="600"
image="stick-walk4.png"
> </frame>
<frame
time="750"
image="stick-walk5.png"
> </frame>Agressive nodes
IdeasIf you want to create characters but you aren't inspired I put a few ideas here: you can add ideas too, please be descriptive.
|
Sign in to add a comment