diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-15 12:42:55 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-15 12:42:55 -0500 |
commit | 5834a85dcfafd50a1863a00fc2daf2cf1e8bb7e9 (patch) | |
tree | d4764b11bf5b51d8ad50d9637a042691b570eb9c /res | |
parent | d1235174157bd498d0c148325d7c8066e3ab6ac7 (diff) | |
download | tanetane-5834a85dcfafd50a1863a00fc2daf2cf1e8bb7e9.tar.gz tanetane-5834a85dcfafd50a1863a00fc2daf2cf1e8bb7e9.tar.bz2 tanetane-5834a85dcfafd50a1863a00fc2daf2cf1e8bb7e9.zip |
Added Doria
Things to note about her: she does not have walking animations in the intercardinal directions. Also her disappearing animation needs a higher frame rate than the 30 FPS we currently have.
Diffstat (limited to 'res')
-rw-r--r-- | res/maps/map2.tmx | 18 | ||||
-rw-r--r-- | res/scripts/map2.lua | 4 | ||||
-rw-r--r-- | res/sprites/doria.png | bin | 0 -> 42556 bytes | |||
-rw-r--r-- | res/sprites/doria_anim.txt | 25 | ||||
-rw-r--r-- | res/sprites/doria_frames.txt | 178 |
5 files changed, 224 insertions, 1 deletions
diff --git a/res/maps/map2.tmx b/res/maps/map2.tmx index f6d6dd2..fe58daf 100644 --- a/res/maps/map2.tmx +++ b/res/maps/map2.tmx | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="64" height="64" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="7"> | 2 | <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="64" height="64" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="9"> |
3 | <tileset firstgid="1" name="fromRom" tilewidth="16" tileheight="16" tilecount="180" columns="10"> | 3 | <tileset firstgid="1" name="fromRom" tilewidth="16" tileheight="16" tilecount="180" columns="10"> |
4 | <image source="map2_tiles.png" width="160" height="288"/> | 4 | <image source="map2_tiles.png" width="160" height="288"/> |
5 | <tile id="61"> | 5 | <tile id="61"> |
@@ -660,6 +660,22 @@ | |||
660 | <object id="6" name="debugWarp_mailboxes" type="warp" x="598.667" y="420.667"> | 660 | <object id="6" name="debugWarp_mailboxes" type="warp" x="598.667" y="420.667"> |
661 | <point/> | 661 | <point/> |
662 | </object> | 662 | </object> |
663 | <object id="7" name="doria" type="sprite" x="328" y="525"> | ||
664 | <properties> | ||
665 | <property name="animation" value="../res/sprites/doria_anim.txt"/> | ||
666 | <property name="collisionHeight" type="int" value="8"/> | ||
667 | <property name="collisionOffsetX" type="int" value="-8"/> | ||
668 | <property name="collisionOffsetY" type="int" value="-8"/> | ||
669 | <property name="collisionWidth" type="int" value="12"/> | ||
670 | <property name="shadow" type="bool" value="true"/> | ||
671 | </properties> | ||
672 | <point/> | ||
673 | </object> | ||
674 | <object id="8" name="approach_doria" type="trigger" x="384" y="512" width="16" height="64"> | ||
675 | <properties> | ||
676 | <property name="script" value="approach_doria"/> | ||
677 | </properties> | ||
678 | </object> | ||
663 | </objectgroup> | 679 | </objectgroup> |
664 | <layer id="1" name="Layer 0" width="64" height="64"> | 680 | <layer id="1" name="Layer 0" width="64" height="64"> |
665 | <data encoding="csv"> | 681 | <data encoding="csv"> |
diff --git a/res/scripts/map2.lua b/res/scripts/map2.lua index cdab0f5..1249f7d 100644 --- a/res/scripts/map2.lua +++ b/res/scripts/map2.lua | |||
@@ -65,3 +65,7 @@ function map2.mailbox_lightning() | |||
65 | WaitForEndOfMessage() | 65 | WaitForEndOfMessage() |
66 | HideCutsceneBars() | 66 | HideCutsceneBars() |
67 | end | 67 | end |
68 | |||
69 | function map2.approach_doria() | ||
70 | SetAnimation("doria", "hearts") | ||
71 | end | ||
diff --git a/res/sprites/doria.png b/res/sprites/doria.png new file mode 100644 index 0000000..c105a22 --- /dev/null +++ b/res/sprites/doria.png | |||
Binary files differ | |||
diff --git a/res/sprites/doria_anim.txt b/res/sprites/doria_anim.txt new file mode 100644 index 0000000..c52a456 --- /dev/null +++ b/res/sprites/doria_anim.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | ../res/sprites/doria.png | ||
2 | ../res/sprites/doria_frames.txt | ||
3 | still[down]: 0 | ||
4 | still[down_left]: 1 | ||
5 | still[left]: 2 | ||
6 | still[up_left]: 3 | ||
7 | still[up]: 4 | ||
8 | still[up_right]: 5 | ||
9 | still[right]: 6 | ||
10 | still[down_right]: 7 | ||
11 | walk[down]: 8,0,16,0 | ||
12 | walk[left]: 10,2,18,2 | ||
13 | walk[up]: 12,4,20,4 | ||
14 | walk[right]: 14,6,22,6 | ||
15 | talk[down]: 24,32,40 | ||
16 | talk[down_left]: 25,33,41 | ||
17 | talk[left]: 26,34,42 | ||
18 | talk[up_left]: 27,35,43 | ||
19 | talk[up]: 28,36,44 | ||
20 | talk[up_right]: 29,37,45 | ||
21 | talk[right]: 30,38,46 | ||
22 | talk[down_right]: 31,39,47 | ||
23 | hairflip![down]: 48,49,50,51,52,53,54,55,56 | ||
24 | hearts[down]: 57,58,59,60,61,62,63 | ||
25 | cheer[down_right]: 76,77,78,79 \ No newline at end of file | ||
diff --git a/res/sprites/doria_frames.txt b/res/sprites/doria_frames.txt new file mode 100644 index 0000000..910b4ef --- /dev/null +++ b/res/sprites/doria_frames.txt | |||
@@ -0,0 +1,178 @@ | |||
1 | 35,33 cell size | ||
2 | 10 frames per row | ||
3 | 174 frames | ||
4 | |||
5 | 32,32,16,32 | ||
6 | 32,32,16,32 | ||
7 | 32,32,16,32 | ||
8 | 32,32,16,32 | ||
9 | 32,32,16,32 | ||
10 | 32,32,16,32 | ||
11 | 32,32,16,32 | ||
12 | 32,32,16,32 | ||
13 | 32,32,16,32 | ||
14 | 32,32,16,32 | ||
15 | 32,32,16,32 | ||
16 | 32,32,16,32 | ||
17 | 32,32,16,32 | ||
18 | 32,32,16,32 | ||
19 | 32,32,16,32 | ||
20 | 32,32,16,32 | ||
21 | 32,32,16,32 | ||
22 | 32,32,16,32 | ||
23 | 32,32,16,32 | ||
24 | 32,32,16,32 | ||
25 | 32,32,16,32 | ||
26 | 32,32,16,32 | ||
27 | 32,32,16,32 | ||
28 | 32,32,16,32 | ||
29 | 32,32,16,32 | ||
30 | 32,32,16,32 | ||
31 | 32,32,16,32 | ||
32 | 32,32,16,32 | ||
33 | 32,32,16,32 | ||
34 | 32,32,16,32 | ||
35 | 32,32,16,32 | ||
36 | 32,32,16,32 | ||
37 | 32,32,16,32 | ||
38 | 32,32,16,32 | ||
39 | 32,32,16,32 | ||
40 | 32,32,16,32 | ||
41 | 32,32,16,32 | ||
42 | 32,32,16,32 | ||
43 | 32,32,16,32 | ||
44 | 32,32,16,32 | ||
45 | 32,32,16,32 | ||
46 | 32,32,16,32 | ||
47 | 32,32,16,32 | ||
48 | 32,32,16,32 | ||
49 | 32,32,16,32 | ||
50 | 32,32,16,32 | ||
51 | 32,32,16,32 | ||
52 | 32,32,16,32 | ||
53 | 35,32,19,32 | ||
54 | 32,32,19,32 | ||
55 | 32,32,19,32 | ||
56 | 32,32,19,32 | ||
57 | 32,32,19,32 | ||
58 | 32,32,19,32 | ||
59 | 32,32,19,32 | ||
60 | 32,32,19,32 | ||
61 | 32,32,19,32 | ||
62 | 32,32,16,32 | ||
63 | 32,32,16,32 | ||
64 | 32,32,16,32 | ||
65 | 32,32,16,32 | ||
66 | 32,32,16,32 | ||
67 | 32,32,16,32 | ||
68 | 32,32,16,32 | ||
69 | 32,32,16,32 | ||
70 | 32,32,16,32 | ||
71 | 32,32,16,32 | ||
72 | 32,32,16,32 | ||
73 | 32,32,16,32 | ||
74 | 32,32,16,32 | ||
75 | 32,32,16,32 | ||
76 | 32,32,16,32 | ||
77 | 32,32,16,32 | ||
78 | 32,32,16,32 | ||
79 | 32,32,16,32 | ||
80 | 32,32,16,32 | ||
81 | 32,32,16,32 | ||
82 | 32,32,16,32 | ||
83 | 32,32,16,32 | ||
84 | 32,32,16,32 | ||
85 | 32,32,16,32 | ||
86 | 32,32,16,31 | ||
87 | 32,32,16,30 | ||
88 | 22,33,11,32 | ||
89 | 22,33,11,31 | ||
90 | 22,33,11,30 | ||
91 | 22,33,11,32 | ||
92 | 22,33,11,31 | ||
93 | 22,33,11,30 | ||
94 | 22,33,11,30 | ||
95 | 32,32,16,32 | ||
96 | 32,32,16,32 | ||
97 | 32,32,16,32 | ||
98 | 32,24,16,32 | ||
99 | 32,32,16,32 | ||
100 | 32,32,16,32 | ||
101 | 32,24,16,32 | ||
102 | 32,32,16,32 | ||
103 | 32,32,16,32 | ||
104 | 32,24,16,32 | ||
105 | 32,32,16,32 | ||
106 | 32,32,16,32 | ||
107 | 32,24,16,32 | ||
108 | 32,32,16,32 | ||
109 | 32,32,16,32 | ||
110 | 32,24,16,32 | ||
111 | 32,32,16,32 | ||
112 | 32,32,16,32 | ||
113 | 32,24,16,32 | ||
114 | 32,32,16,32 | ||
115 | 32,32,16,32 | ||
116 | 32,24,16,32 | ||
117 | 32,32,16,32 | ||
118 | 32,32,16,32 | ||
119 | 32,24,16,32 | ||
120 | 32,32,16,32 | ||
121 | 32,32,16,32 | ||
122 | 32,24,16,32 | ||
123 | 32,32,19,32 | ||
124 | 32,32,19,32 | ||
125 | 32,24,19,32 | ||
126 | 32,32,19,32 | ||
127 | 32,32,19,32 | ||
128 | 32,24,19,32 | ||
129 | 32,32,19,32 | ||
130 | 32,32,19,32 | ||
131 | 32,24,19,32 | ||
132 | 32,32,19,32 | ||
133 | 32,32,19,32 | ||
134 | 32,24,19,32 | ||
135 | 32,32,19,32 | ||
136 | 32,32,19,32 | ||
137 | 32,24,19,32 | ||
138 | 32,32,19,32 | ||
139 | 32,32,19,32 | ||
140 | 32,24,19,32 | ||
141 | 32,32,19,32 | ||
142 | 32,32,19,32 | ||
143 | 32,32,19,32 | ||
144 | 32,32,19,32 | ||
145 | 32,32,19,32 | ||
146 | 32,24,19,32 | ||
147 | 16,8,8,8 | ||
148 | 32,32,18,32 | ||
149 | 32,32,18,32 | ||
150 | 32,24,18,32 | ||
151 | 32,32,18,34 | ||
152 | 16,32,10,34 | ||
153 | 16,32,10,34 | ||
154 | 8,32,8,34 | ||
155 | 16,16,8,22 | ||
156 | 16,16,8,22 | ||
157 | 16,16,8,23 | ||
158 | 16,16,8,24 | ||
159 | 16,16,8,25 | ||
160 | 16,16,8,26 | ||
161 | 16,16,8,27 | ||
162 | 16,16,8,28 | ||
163 | 16,16,8,28 | ||
164 | 16,16,8,28 | ||
165 | 8,8,8,28 | ||
166 | 16,16,8,28 | ||
167 | 16,16,8,28 | ||
168 | 32,24,16,28 | ||
169 | 32,24,16,28 | ||
170 | 32,24,16,28 | ||
171 | 32,24,16,28 | ||
172 | 32,24,16,28 | ||
173 | 32,24,16,28 | ||
174 | 16,16,8,20 | ||
175 | 16,16,8,20 | ||
176 | 16,16,8,20 | ||
177 | 16,8,8,12 | ||
178 | 16,16,8,20 | ||