Difference between revisions of "Map"
From King Arthur's Gold Wiki
(Fixed red drawbridge RBA code) |
(Added colors for team drawbridges placed on dirt background) |
||
Line 20: | Line 20: | ||
| style="background-color: #326987; color: #fff" | 50,105,135 | | style="background-color: #326987; color: #fff" | 50,105,135 | ||
| Blue [[drawbridge]] | | Blue [[drawbridge]] | ||
+ | |- | ||
+ | | style="background-color: rgb(50, 100, 115); color: #fff" | 50, 100, 115 | ||
+ | | Blue [[drawbridge]] placed on dirt background | ||
|- | |- | ||
| style="background-color: #ff0000" | 255,0,0 | | style="background-color: #ff0000" | 255,0,0 | ||
Line 29: | Line 32: | ||
| style="background-color: #876932; color: #fff" | 135,105,50 | | style="background-color: #876932; color: #fff" | 135,105,50 | ||
| Red [[drawbridge]] | | Red [[drawbridge]] | ||
+ | |- | ||
+ | | style="background-color: rgb(115, 100, 50); color: #fff" | 115, 100, 50 | ||
+ | | Red [[drawbridge]] placed on dirt background | ||
|- | |- | ||
| style="background-color: #5a3910; color: #fff" | 90,57,16 | | style="background-color: #5a3910; color: #fff" | 90,57,16 |
Revision as of 20:20, 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 |
50, 100, 115 | Blue drawbridge placed on dirt background |
255,0,0 | Red tent |
148,27,27 | Red door |
135,105,50 | Red drawbridge |
115, 100, 50 | Red drawbridge placed on dirt background |
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) |