Difference between revisions of "Map"
From King Arthur's Gold Wiki
(added ingame mapeditor info) |
(Fixed red drawbridge RBA code) |
||
Line 27: | Line 27: | ||
| Red [[door]] | | Red [[door]] | ||
|- | |- | ||
− | | style="background-color: #876932; color: #fff" | 135,105, | + | | style="background-color: #876932; color: #fff" | 135,105,50 |
| Red [[drawbridge]] | | Red [[drawbridge]] | ||
|- | |- |
Revision as of 20:10, 4 August 2011
The map is a 2D surface where gameplay takes place.
Map files are PNG files and they are stored in the "Maps"-directory. Every pixel in a map file corresponds to a particular item or block and is drawn in a specific color.
There also is an ingame mapeditor which enables the user to create maps more easily. To gain access to the mapeditor you have to donate some money to obtain an unlock key.
RGB value | Item or block name |
---|---|
0,0,0 | Sky |
0,255,255 | Blue tent |
26,78,131 | Blue door |
50,105,135 | Blue drawbridge |
255,0,0 | Red tent |
148,27,27 | Red door |
135,105,50 | Red drawbridge |
90,57,16 | Dirt |
31,0,0 | Background dirt |
59,64,21 | Wall |
85,42,17 | Ladder |
100,67,17 | Ladder placed on background dirt |
85,42,44 | Ladder placed on wall |
40,40,40 | Rock |
55,55,55 | Thick rock |
30,50,30 | Bedrock |
100,113,96 | Stone |
180,42,17 | Spikes |
180,97,17 | Spikes placed on background dirt |
180,42,94 | Spikes placed on wall |
9,123,17 | Tree |
250,182,20 | Gold |
213,196,9 | Gold bulion (blue team) |
196,213,9 | Gold bulion (red team) |