From The Mana World
m (Use ProjectItem template) |
|||
Line 5: | Line 5: | ||
{{GPL}} | {{GPL}} | ||
==Animation== | ==Animation== | ||
This layers two xmls at once (psi-brain.xml and psi-bubble.xml) for the one spritesheet. | |||
'''psi-brain.xml''': | |||
==XML== | |||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<?xml version="1.0"?> | <?xml version="1.0"?> | ||
Line 40: | Line 46: | ||
<sequence start="24" end="27" delay="175"/> | <sequence start="24" end="27" delay="175"/> | ||
<frame index="27" delay="0"/> | <frame index="27" delay="0"/> | ||
</action> | |||
</sprite> | |||
</syntaxhighlight> | |||
'''psi-bubble.xml''': | |||
==XML== | |||
<syntaxhighlight lang="xml"> | |||
<?xml version="1.0"?> | |||
<sprite> | |||
<imageset name="base" src="graphics/sprites/monsters/psi-brain.png" width="128" height="67"/> | |||
<action name="stand" imageset="base"> | |||
<animation direction="down"> | |||
<frame index="2"/> | |||
</animation> | |||
<animation direction="right"> | |||
<frame index="2"/> | |||
</animation> | |||
<animation direction="up"> | |||
<frame index="2"/> | |||
</animation> | |||
<animation direction="left"> | |||
<frame index="2"/> | |||
</animation> | |||
</action> | |||
<action name="walk" imageset="base"> | |||
<animation direction="down"> | |||
<frame index="2" delay="100"/> | |||
<frame index="5" delay="100"/> | |||
<frame index="8" delay="100"/> | |||
<frame index="11" delay="100"/> | |||
</animation> | |||
<animation direction="right"> | |||
<frame index="2" delay="100"/> | |||
<frame index="5" delay="100"/> | |||
<frame index="8" delay="100"/> | |||
<frame index="11" delay="100"/> | |||
</animation> | |||
<animation direction="up"> | |||
<frame index="2" delay="100"/> | |||
<frame index="5" delay="100"/> | |||
<frame index="8" delay="100"/> | |||
<frame index="11" delay="100"/> | |||
</animation> | |||
<animation direction="left"> | |||
<frame index="2" delay="100"/> | |||
<frame index="5" delay="100"/> | |||
<frame index="8" delay="100"/> | |||
<frame index="11" delay="100"/> | |||
</animation> | |||
</action> | |||
<action name="dead" imageset="base"> | |||
<animation direction="down"> | |||
<frame index="2" delay="0"/> | |||
</animation> | |||
<animation direction="right"> | |||
<frame index="2" delay="0"/> | |||
</animation> | |||
<animation direction="up"> | |||
<frame index="2" delay="0"/> | |||
</animation> | |||
<animation direction="left"> | |||
<frame index="2" delay="0"/> | |||
</animation> | |||
</action> | </action> | ||
</sprite> | </sprite> | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 22:31, 27 July 2013
Project Item | |
---|---|
Project | Crypt |
Summary
Psi-Brain by Skipy. Made for Crypt project.
Licensing
Animation
This layers two xmls at once (psi-brain.xml and psi-bubble.xml) for the one spritesheet.
psi-brain.xml:
XML
<?xml version="1.0"?>
<sprite>
<imageset name="base" src="graphics/sprites/monsters/psi-brain.png" width="64" height="67"/>
<action name="stand" imageset="base">
<animation direction="down">
<frame index="0"/>
</animation>
<animation direction="right">
<frame index="12"/>
</animation>
<animation direction="up">
<frame index="6"/>
</animation>
<animation direction="left">
<frame index="18"/>
</animation>
</action>
<action name="walk" imageset="base">
<animation direction="down">
<sequence start="0" end="3" delay="175"/>
</animation>
<animation direction="right">
<sequence start="12" end="15" delay="175"/>
</animation>
<animation direction="up">
<sequence start="6" end="9" delay="175"/>
</animation>
<animation direction="left">
<sequence start="18" end="21" delay="175"/>
</animation>
</action>
<action name="dead" imageset="base">
<sequence start="24" end="27" delay="175"/>
<frame index="27" delay="0"/>
</action>
</sprite>
psi-bubble.xml:
XML
<?xml version="1.0"?>
<sprite>
<imageset name="base" src="graphics/sprites/monsters/psi-brain.png" width="128" height="67"/>
<action name="stand" imageset="base">
<animation direction="down">
<frame index="2"/>
</animation>
<animation direction="right">
<frame index="2"/>
</animation>
<animation direction="up">
<frame index="2"/>
</animation>
<animation direction="left">
<frame index="2"/>
</animation>
</action>
<action name="walk" imageset="base">
<animation direction="down">
<frame index="2" delay="100"/>
<frame index="5" delay="100"/>
<frame index="8" delay="100"/>
<frame index="11" delay="100"/>
</animation>
<animation direction="right">
<frame index="2" delay="100"/>
<frame index="5" delay="100"/>
<frame index="8" delay="100"/>
<frame index="11" delay="100"/>
</animation>
<animation direction="up">
<frame index="2" delay="100"/>
<frame index="5" delay="100"/>
<frame index="8" delay="100"/>
<frame index="11" delay="100"/>
</animation>
<animation direction="left">
<frame index="2" delay="100"/>
<frame index="5" delay="100"/>
<frame index="8" delay="100"/>
<frame index="11" delay="100"/>
</animation>
</action>
<action name="dead" imageset="base">
<animation direction="down">
<frame index="2" delay="0"/>
</animation>
<animation direction="right">
<frame index="2" delay="0"/>
</animation>
<animation direction="up">
<frame index="2" delay="0"/>
</animation>
<animation direction="left">
<frame index="2" delay="0"/>
</animation>
</action>
</sprite>
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 15:28, 27 July 2013 | ![]() | 384 × 335 (89 KB) | Straelyn (talk | contribs) | fixed a few minor alignment anomalies |
09:08, 1 July 2013 | ![]() | 384 × 352 (87 KB) | Wombat (talk | contribs) | Psi-Brain by Skipy. Made for Crypt project. |
You cannot overwrite this file.
File usage
There are no pages that use this file.