Skip to content

Commit 8128288

Browse files
authored
Merge pull request #3 from fifengine/xml_proposal
* Adopted the xml files to the new format.
2 parents 2632cb7 + 2ef99b7 commit 8128288

File tree

2 files changed

+36
-32
lines changed

2 files changed

+36
-32
lines changed
Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
<?fife type="object"?>
2-
<object id="skel" namespace="tutorial1objects" blocking="1" static="0">
3-
<action id="stand">
4-
<animation atlas="stand.png" width="128" height="128" x_offset="0" y_offset="-32" frames="4" delay="200">
5-
<direction dir="180"/>
6-
<direction dir="135"/>
7-
<direction dir="90"/>
8-
<direction dir="45"/>
9-
<direction dir="0"/>
10-
<direction dir="315"/>
11-
<direction dir="270"/>
12-
<direction dir="225"/>
13-
</animation>
14-
</action>
15-
<action id="walk">
16-
<animation atlas="walk.png" width="128" height="128" x_offset="0" y_offset="-32" frames="8" delay="100">
17-
<direction dir="180"/>
18-
<direction dir="135"/>
19-
<direction dir="90"/>
20-
<direction dir="45"/>
21-
<direction dir="0"/>
22-
<direction dir="315"/>
23-
<direction dir="270"/>
24-
<direction dir="225"/>
25-
</animation>
26-
</action>
27-
</object>
2+
<assets>
3+
<object id="skel" namespace="tutorial1objects" blocking="1" static="0">
4+
<action id="stand">
5+
<animation atlas="stand.png" width="128" height="128" x_offset="0" y_offset="-32" frames="4" delay="200">
6+
<direction dir="180"/>
7+
<direction dir="135"/>
8+
<direction dir="90"/>
9+
<direction dir="45"/>
10+
<direction dir="0"/>
11+
<direction dir="315"/>
12+
<direction dir="270"/>
13+
<direction dir="225"/>
14+
</animation>
15+
</action>
16+
<action id="walk">
17+
<animation atlas="walk.png" width="128" height="128" x_offset="0" y_offset="-32" frames="8" delay="100">
18+
<direction dir="180"/>
19+
<direction dir="135"/>
20+
<direction dir="90"/>
21+
<direction dir="45"/>
22+
<direction dir="0"/>
23+
<direction dir="315"/>
24+
<direction dir="270"/>
25+
<direction dir="225"/>
26+
</animation>
27+
</action>
28+
</object>
29+
</assets>
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?fife type="object"?>
2-
<object id="grass:01" namespace="tutorial1objects" blocking="0" static="1">
3-
<image source="45.png" direction="45" />
4-
<image source="135.png" direction="135" />
5-
<image source="225.png" direction="225" />
6-
<image source="315.png" direction="315" />
7-
</object>
2+
<assets>
3+
<object id="grass:01" namespace="tutorial1objects" blocking="0" static="1">
4+
<image source="45.png" direction="45" />
5+
<image source="135.png" direction="135" />
6+
<image source="225.png" direction="225" />
7+
<image source="315.png" direction="315" />
8+
</object>
9+
</assets>

0 commit comments

Comments
 (0)