Materials Guide

Warning! SLEEPING BAG ALERT!

The Liero palette, particularly in the context of levels, implies a bespoke mapping of color indices to material properties. This mapping is fixed in WebLiero; perhaps it will be possible to modify it in the future. For now, modders should familiarize themselves with the mappings between materials and the Liero palette to inform palette choices and level design.

This document serves as a reference for the default WebLiero mappings. First, the material properties will be described and then the mapping will be enumerated alongside the default Liero palette.

Material PropertyDescription
DirtNormal dirt - blocks bullets, destructible
Dirt2Alt dirt - blocks bullets, destructible
RockSolid rock - blocks bullets
BackgroundBackground - allows worm to pass
ShadowReceives shadow
WormMWorm material - used for special collision test

There is little practical difference between Dirt and Dirt2 material properties-- the distinction does affect dirt effects in-game but physics-wise there is no difference.

Some materials combine more than one material property to produce interesting effects in-game. For instance, a material with both Dirt and Background flags will allow worms to pass through, but are still diggable and will collide with non-player objects.

Materials with no properties set are usually intended for sprites and not levels. However, they can still be placed in levels. Such materials will block players, are indestructible, but will allow non-player objects to pass through.

IndexPreviewColor HexDirtDirt2RockBackgroundShadowWormM
0#000000
1#6c3800
2#6c5000
3#a49480
4#009000
5#3cac3c
6#fc5454
7#a8a8a8
8#545454
9#5454fc
10#54d854
11#54fcfc
12#784008
13#804408
14#88480c
15#905010
16#985414
17#a05818
18#ac601c
19#4c4c4c
20#545454
21#5c5c5c
22#646464
23#6c6c6c
24#747474
25#7c7c7c
26#848484
27#8c8c8c
28#949494
29#9c9c9c
30#383888
31#5050c0
IndexPreviewColor HexDirtDirt2RockBackgroundShadowWormM
32#6868f8
33#9090f4
34#b8b8f4
35#6c6c6c
36#909090
37#b4b4b4
38#d8d8d8
39#206020
40#2c842c
41#3cac3c
42#70bc70
43#a4d4a4
44#6c6c6c
45#909090
46#b4b4b4
47#d8d8d8
48#a8a8f8
49#d0d0f4
50#fcfcf4
51#3c5000
52#587000
53#749000
54#94b000
55#784834
56#9c7858
57#c4a87c
58#ecd8a0
59#9c7858
60#c4a87c
61#ecd8a0
62#c86400
63#a05000
IndexPreviewColor HexDirtDirt2RockBackgroundShadowWormM
64#484848
65#6c6c6c
66#909090
67#b4b4b4
68#d8d8d8
69#fcfcfc
70#c4c4c4
71#909090
72#983c00
73#b46400
74#d08c00
75#ecb400
76#a85400
77#d80000
78#bc0000
79#a40000
80#c80000
81#ac0000
82#d80000
83#bc0000
84#a40000
85#d80000
86#bc0000
87#a40000
88#5050c0
89#6868f8
90#9090f4
91#5050c0
92#6868f8
93#9090f4
94#948800
95#887c00
IndexPreviewColor HexDirtDirt2RockBackgroundShadowWormM
96#7c7000
97#746400
98#845c28
99#a08448
100#bcb068
101#d8dc88
102#f8f8bc
103#f4f4fc
104#fc0000
105#f81804
106#f83408
107#f85010
108#f86c14
109#f88818
110#f8a420
111#f8c024
112#f8dc28
113#f4e83c
114#f4f450
115#f4f470
116#f4f494
117#f0f0b4
118#f0f0d4
119#f0f0f8
120#2c842c
121#3cac3c
122#70bc70
123#2c842c
124#3cac3c
125#70bc70
126#f83c3c
127#f47c7c
IndexPreviewColor HexDirtDirt2RockBackgroundShadowWormM
128#f4bcbc
129#6868f8
130#9090f4
131#b8b8f4
132#9090f4
133#3cac3c
134#70bc70
135#a4d4a4
136#70bc70
137#948800
138#887400
139#7c6000
140#704c00
141#643800
142#582800
143#686888
144#9090c0
145#bcbcf8
146#c8c8f4
147#dcdcf4
148#287028
149#2c842c
150#349834
151#3cac3c
152#fcc8c8
153#f4a4a4
154#f85c5c
155#f44c4c
156#f43c3c
157#f44c4c
158#f45c5c
159#f4a4a4
IndexPreviewColor HexDirtDirt2RockBackgroundShadowWormM
160#542800
161#582800
162#5c2c00
163#603000
164#3c1c00
165#401c00
166#442000
167#482400
168#fcfcfc
169#dcdcdc
170#bcbcbc
171#9c9c9c
172#7c7c7c
173#9c9c9c
174#bcbcbc
175#dcdcdc
176#6c4c2c
177#7c5430
178#8c6038
179#9c6c40
180#ac7848
181#000000
182#282408
183#504c14
184#78741c
185#a09828
186#c8c030
187#f4e83c
188#000000
189#000000
190#000000
191#000000
IndexPreviewColor HexDirtDirt2RockBackgroundShadowWormM
192#000000
193#000000
194#000000
195#000000
196#000000
197#000000
198#000000
199#000000
200#000000
201#000000
202#000000
203#000000
204#000000
205#000000
206#000000
207#000000
208#000000
209#000000
210#000000
211#000000
212#000000
213#000000
214#000000
215#000000
216#000000
217#000000
218#000000
219#000000
220#000000
221#000000
222#000000
223#000000
IndexPreviewColor HexDirtDirt2RockBackgroundShadowWormM
224#000000
225#000000
226#000000
227#000000
228#000000
229#000000
230#000000
231#000000
232#000000
233#000000
234#fc0000
235#fc2400
236#fc4800
237#fc6c00
238#fc9000
239#fcb400
240#fcd800
241#fcfc00
242#a8f000
243#54e800
244#00e000
245#fc0000
246#e80414
247#d80c2c
248#c41444
249#b41858
250#a02070
251#902888
252#7c2c9c
253#6c34b4
254#583ccc
255#4844e4