comparison 06/anm.xml @ 7:2a7b9d62c0c4

Fix details, and details and documentation for a few instructions
author Thibaut Girka <thib@sitedethib.com>
date Tue, 23 Aug 2011 11:58:03 +0200
parents 0a7e6e3d5327
children 6d47bfc23c64
comparison
equal deleted inserted replaced
6:578e67aa3c03 7:2a7b9d62c0c4
28 <desc>Resizes the current sprite.</desc> 28 <desc>Resizes the current sprite.</desc>
29 </op> 29 </op>
30 30
31 <op> 31 <op>
32 <num>3</num> 32 <num>3</num>
33 <params> 33 <name>set_alpha</name>
34 <param type="S"></param> 34 <params>
35 <param type="S">alpha (0 to 255)</param>
35 </params> 36 </params>
36 </op> 37 </op>
37 38
38 <op> 39 <op>
39 <num>4</num> 40 <num>4</num>
42 </params> 43 </params>
43 </op> 44 </op>
44 45
45 <op> 46 <op>
46 <num>5</num> 47 <num>5</num>
47 <params> 48 <name>jump</name>
48 <param type="S"></param> 49 <params>
49 </params> 50 <param type="S">relative offset of the instruction to jump to</param>
51 </params>
52 <desc>Jump to the given instruction and reset the frame counter to the instruction's frame.</desc>
50 </op> 53 </op>
51 54
52 <op> 55 <op>
53 <num>7</num> 56 <num>7</num>
54 <name>set_mirror</name> 57 <name>set_mirror</name>
66 <desc>Set a rotation for the current object.</desc> 69 <desc>Set a rotation for the current object.</desc>
67 </op> 70 </op>
68 71
69 <op> 72 <op>
70 <num>10</num> 73 <num>10</num>
71 <params> 74 <name>set_3d_rotation_speed</name>
72 <param type="f"></param> 75 <params>
73 <param type="S"></param> 76 <param type="f">-x</param>
74 <param type="f"></param> 77 <param type="f">y</param>
78 <param type="f">-z</param>
75 </params> 79 </params>
76 </op> 80 </op>
77 81
78 <op> 82 <op>
79 <num>11</num> 83 <num>11</num>
99 <num>14</num> 103 <num>14</num>
100 </op> 104 </op>
101 105
102 <op> 106 <op>
103 <num>15</num> 107 <num>15</num>
104 <desc>A kind of return</desc> 108 <name>keep_still</name>
109 <desc>When this instruction is called, the sprite is a still image: the script stops without the sprite disappearing.</desc>
105 </op> 110 </op>
106 111
107 <op> 112 <op>
108 <num>16</num> 113 <num>16</num>
109 <params> 114 <params>
187 </params> 192 </params>
188 </op> 193 </op>
189 194
190 <op> 195 <op>
191 <num>27</num> 196 <num>27</num>
192 <params> 197 <name>shift_texture_x</name>
193 <param type="f"></param> 198 <params>
194 </params> 199 <param type="f">dx</param>
200 </params>
201 <desc>Add dx to the x coordinates of the texture, causing the texture to "move".</desc>
195 </op> 202 </op>
196 203
197 <op> 204 <op>
198 <num>28</num> 205 <num>28</num>
199 <params> 206 <name>shift_texture_y</name>
200 <param type="f"></param> 207 <params>
201 </params> 208 <param type="f">dy</param>
209 </params>
210 <desc>Add dy to the y coordinates of the texture, causing the texture to "move".</desc>
202 </op> 211 </op>
203 212
204 <op> 213 <op>
205 <num>29</num> 214 <num>29</num>
206 <params> 215 <params>