]> 4ch.mooo.com Git - 16.git/blob - data/spri/chikyuu.sht
adb951de832c4877b76066e76986bda828b6284f
[16.git] / data / spri / chikyuu.sht
1 # CHUKYUU.PCX demo sprite sheet compiler script
2 # (C) 2016 Jonathan Campbell
3
4 # *spritesheet declares the section used by the sprite sheet cutting tool
5 #
6 # Sprites are declared by name (which becomes the .VRL file) at the + in the form:
7 # +NAME@ID
8 #
9 # Sprite names are meant for temporary use when compiling the sprite sheet into VRLs.
10 # At some point a longer name might be provided for use in your code.
11 # This will fill the CURRENT WORKING DIRECTORY with .VRL files as directed when you
12 # run PCXSSCUT, make sure your makefile does this in a temporary directory when
13 # you integrate into your build and that your cleanup commands delete these files,
14 # and that your .gitignore does not attempt to commit these files.
15
16 # this format is a bit crap, but we'll improve it as needed. be patient.
17
18 # begin spritesheet section
19 *spritesheet
20
21 # ---------------- player, walking, blue shirt with white cross. Frame 2/3 could be used for standing still
22
23 # player, forward, frame 1/3
24 +CHUBFCW0@10
25 xy=0,0
26 wh=16,32
27 # player, forward, frame 2/3
28 +CHUBFCW1@11
29 xy=16,0
30 wh=16,32
31 # player, forward, frame 3/3
32 +CHUBFCW2@12
33 xy=32,0
34 wh=16,32
35
36 # player, left, frame 1/3
37 +CHUBLCW0@20
38 xy=0,32
39 wh=16,32
40 # player, left, frame 2/3
41 +CHUBLCW1@21
42 xy=16,32
43 wh=16,32
44 # player, left, frame 3/3
45 +CHUBLCW2@22
46 xy=32,32
47 wh=16,32
48
49 # player, right, frame 1/3
50 +CHUBRCW0@30
51 xy=0,64
52 wh=16,32
53 # player, right, frame 2/3
54 +CHUBRCW1@31
55 xy=16,64
56 wh=16,32
57 # player, right, frame 3/3
58 +CHUBRCW2@32
59 xy=32,64
60 wh=16,32
61
62 # player, away, frame 1/3
63 +CHUBACW0@40
64 xy=0,96
65 wh=16,32
66 # player, away, frame 2/3
67 +CHUBACW1@41
68 xy=16,96
69 wh=16,32
70 # player, away, frame 3/3
71 +CHUBACW2@42
72 xy=32,96
73 wh=16,32
74
75 # begin animation list section. must come after sprite sheet
76 *animation
77
78 # Chikyuu, forward, standing and walking animation cycles
79 +CHUBFCW_STANDING@10
80 sprite=CHUBFCW1
81
82 +CHUBFCW_WALKING@11
83 sprite=CHUBFCW0
84 delay=20
85 -newframe
86 sprite=CHUBFCW1
87 delay=20
88 event=@100         # in this example, signal the game engine the frame is one that can immediately transition to "standing"
89 -newframe
90 sprite=CHUBFCW2
91 delay=20
92 -newframe
93 sprite=CHUBFCW1
94 delay=20
95 event=@100         # in this example, signal the game engine the frame is one that can immediately transition to "standing"
96
97 # Chikyuu, left, standing and walking animation cycles
98 +CHUBLCW_STANDING@20
99 sprite=CHUBLCW1
100
101 +CHUBLCW_WALKING@21
102 sprite=CHUBLCW0
103 delay=20
104 -newframe
105 sprite=CHUBLCW1
106 delay=20
107 event=@100         # in this example, signal the game engine the frame is one that can immediately transition to "standing"
108 -newframe
109 sprite=CHUBLCW2
110 delay=20
111 -newframe
112 sprite=CHUBLCW1
113 delay=20
114 event=@100         # in this example, signal the game engine the frame is one that can immediately transition to "standing"
115
116 # Chikyuu, right, standing and walking animation cycles
117 +CHUBRCW_STANDING@30
118 sprite=CHUBRCW1
119
120 +CHUBRCW_WALKING@31
121 sprite=CHUBRCW0
122 delay=20
123 -newframe
124 sprite=CHUBRCW1
125 delay=20
126 event=@100         # in this example, signal the game engine the frame is one that can immediately transition to "standing"
127 -newframe
128 sprite=CHUBRCW2
129 delay=20
130 -newframe
131 sprite=CHUBRCW1
132 delay=20
133 event=@100         # in this example, signal the game engine the frame is one that can immediately transition to "standing"
134
135 # Chikyuu, away, standing and walking animation cycles
136 +CHUBACW_STANDING@40
137 sprite=CHUBACW1
138
139 +CHUBACW_WALKING@41
140 sprite=CHUBACW0
141 delay=20
142 -newframe
143 sprite=CHUBACW1
144 delay=20
145 event=@100         # in this example, signal the game engine the frame is one that can immediately transition to "standing"
146 -newframe
147 sprite=CHUBACW2
148 delay=20
149 -newframe
150 sprite=CHUBACW1
151 delay=20
152 event=@100         # in this example, signal the game engine the frame is one that can immediately transition to "standing"
153