From The Mana World
(Added "Animation" section for adding the xml sheet for animation) |
(→XML) |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ProjectItem|Project=Crypt}} | |||
== Summary == | == Summary == | ||
Psi-Brain by Skipy. Made for Crypt project. | Psi-Brain by Skipy. Made for Crypt project. | ||
== Licensing == | |||
{{GPL2_CC-BY-SA-3.0}} | |||
== XML == | |||
This layers two sprites, both using the one spritesheet. | |||
== | === psi-brain.xml === | ||
<syntaxhighlight lang="xml"> | |||
<?xml version="1.0"?> | |||
<sprite> | |||
<imageset name="base" src="graphics/sprites/monsters/psi-brain.png" width="64" height="67"/> | |||
<action name="default" imageset="base"> | |||
<animation direction="down"> | |||
<sequence start="0" end="3" delay="125"/> | |||
</animation> | |||
<animation direction="right"> | |||
<sequence start="12" end="15" delay="125"/> | |||
</animation> | |||
<animation direction="up"> | |||
<sequence start="6" end="9" delay="125"/> | |||
</animation> | |||
<animation direction="left"> | |||
<sequence start="18" end="21" delay="125"/> | |||
</animation> | |||
</action> | |||
<action name="dead" imageset="base"> | |||
<animation direction="down"> | |||
<sequence start="24" end="27" delay="200"/> | |||
<frame index="27" delay="0"/> | |||
</animation> | |||
<animation direction="right"> | |||
<sequence start="24" end="27" delay="200"/> | |||
<frame index="27" delay="0"/> | |||
</animation> | |||
<animation direction="up"> | |||
<sequence start="24" end="27" delay="200"/> | |||
<frame index="27" delay="0"/> | |||
</animation> | |||
<animation direction="left"> | |||
<sequence start="24" end="27" delay="200"/> | |||
<frame index="27" delay="0"/> | |||
</animation> | |||
</action> | |||
</sprite> | |||
</syntaxhighlight> | |||
=== psi-bubble.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="default" imageset="base"> | |||
<animation direction="down"> | |||
<frame index="14" delay="0"/> | |||
</animation> | |||
<animation direction="right"> | |||
<frame index="14" delay="0"/> | |||
</animation> | |||
<animation direction="up"> | |||
<frame index="14" delay="0"/> | |||
</animation> | |||
<animation direction="left"> | |||
<frame index="14" delay="0"/> | |||
</animation> | |||
</action> | |||
<action name="attack" 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> | |||
</sprite> | |||
</syntaxhighlight> |
Latest revision as of 17:42, 29 July 2013
Project Item | |
---|---|
Project | Crypt |
Summary
Psi-Brain by Skipy. Made for Crypt project.
Licensing
GPL 2+ | This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See version 2 and version 3 of the GNU General Public License for more details. |
CC-BY-SA-3.0 | This file is licensed under the Creative Commons Attribution-Share Alike 3.0 license. |
You are free:
Under the following conditions:
|
XML
This layers two sprites, both using the one spritesheet.
psi-brain.xml
<?xml version="1.0"?>
<sprite>
<imageset name="base" src="graphics/sprites/monsters/psi-brain.png" width="64" height="67"/>
<action name="default" imageset="base">
<animation direction="down">
<sequence start="0" end="3" delay="125"/>
</animation>
<animation direction="right">
<sequence start="12" end="15" delay="125"/>
</animation>
<animation direction="up">
<sequence start="6" end="9" delay="125"/>
</animation>
<animation direction="left">
<sequence start="18" end="21" delay="125"/>
</animation>
</action>
<action name="dead" imageset="base">
<animation direction="down">
<sequence start="24" end="27" delay="200"/>
<frame index="27" delay="0"/>
</animation>
<animation direction="right">
<sequence start="24" end="27" delay="200"/>
<frame index="27" delay="0"/>
</animation>
<animation direction="up">
<sequence start="24" end="27" delay="200"/>
<frame index="27" delay="0"/>
</animation>
<animation direction="left">
<sequence start="24" end="27" delay="200"/>
<frame index="27" delay="0"/>
</animation>
</action>
</sprite>
psi-bubble.xml
<?xml version="1.0"?>
<sprite>
<imageset name="base" src="graphics/sprites/monsters/psi-brain.png" width="128" height="67"/>
<action name="default" imageset="base">
<animation direction="down">
<frame index="14" delay="0"/>
</animation>
<animation direction="right">
<frame index="14" delay="0"/>
</animation>
<animation direction="up">
<frame index="14" delay="0"/>
</animation>
<animation direction="left">
<frame index="14" delay="0"/>
</animation>
</action>
<action name="attack" 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>
</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.