Difference between revisions of "Map"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Added Bedrock to list.)
m (different order and some minor fixes)
Line 1: Line 1:
Map is a 2D surface where gameplay takes place.
+
The map is a 2D surface where gameplay takes place.
  
Map files are PNG files and they are stored in Maps/ directory. Every pixel in map file corresponds to particular [[items|item]] or [[blocks|block]] and it consists of 15 colors, which are listed below for reference.
+
Map files are PNG files and they are stored in "Maps"-directory. Every pixel in a map file corresponds to a particular [[items|item]] or [[blocks|block]] and is drawn in one of 15 colors, which are listed below for reference.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 12: Line 12:
 
| style="background-color: #00ffff" | 0,255,255
 
| style="background-color: #00ffff" | 0,255,255
 
| Blue [[tent]]
 
| Blue [[tent]]
 +
|-
 +
| style="background-color: #1a4e83; color: #fff" | 26,78,131
 +
| Blue [[door]]
 
|-
 
|-
 
| style="background-color: #ff0000" | 255,0,0
 
| style="background-color: #ff0000" | 255,0,0
 
| Red [[tent]]
 
| Red [[tent]]
 +
|-
 +
| style="background-color: #941b1b; color: #fff" | 148,27,27
 +
| Red [[door]]
 
|-
 
|-
 
| style="background-color: #5a3910; color: #fff" | 90,57,16
 
| style="background-color: #5a3910; color: #fff" | 90,57,16
 
| [[Dirt]]
 
| [[Dirt]]
|-
 
| style="background-color: #097b11; color: #fff" | 9,123,17
 
| [[Tree]]
 
 
|-
 
|-
 
| style="background-color: #1f0000; color: #fff" | 31,0,0
 
| style="background-color: #1f0000; color: #fff" | 31,0,0
Line 26: Line 29:
 
|-
 
|-
 
| style="background-color: #3b4015; color: #fff" | 59,64,21
 
| style="background-color: #3b4015; color: #fff" | 59,64,21
| Background [[wall]]
+
| Background stone [[wall]]
 +
|-
 +
| style="background-color: #644311; color: #fff" | 100,67,17
 +
| [[Ladder]] placed on background [[dirt]] wall
 +
|-
 +
| style="background-color: #552a11; color: #fff" | 85,42,17
 +
| [[Ladder]] placed on background stone [[wall]]
 
|-
 
|-
 
| style="background-color: #282828; color: #fff" | 40,40,40
 
| style="background-color: #282828; color: #fff" | 40,40,40
Line 40: Line 49:
 
| [[Stone]]
 
| [[Stone]]
 
|-
 
|-
| style="background-color: #552a11; color: #fff" | 85,42,17
+
| style="background-color: #097b11; color: #fff" | 9,123,17
| [[Ladder]] placed on background stone [[wall]]
+
| [[Tree]]
|-
+
| style="background-color: #644311; color: #fff" | 100,67,17
+
| [[Ladder]] placed on background [[dirt]] wall
+
 
|-
 
|-
 
| style="background-color: #fab614" | 250,182,20
 
| style="background-color: #fab614" | 250,182,20
 
| [[Gold]]
 
| [[Gold]]
|-
 
| style="background-color: #941b1b; color: #fff" | 148,27,27
 
| Red [[door]]
 
|-
 
| style="background-color: #1a4e83; color: #fff" | 26,78,131
 
| Blue [[door]]
 
 
|}
 
|}
  

Revision as of 02:47, 24 June 2011

The map is a 2D surface where gameplay takes place.

Map files are PNG files and they are stored in "Maps"-directory. Every pixel in a map file corresponds to a particular item or block and is drawn in one of 15 colors, which are listed below for reference.

RGB value Item or block name
0,0,0 Sky
0,255,255 Blue tent
26,78,131 Blue door
255,0,0 Red tent
148,27,27 Red door
90,57,16 Dirt
31,0,0 Background dirt wall
59,64,21 Background stone wall
100,67,17 Ladder placed on background dirt wall
85,42,17 Ladder placed on background stone wall
40,40,40 Rock
30,50,30 Bedrock
55,55,55 Thick stone
100,113,96 Stone
9,123,17 Tree
250,182,20 Gold

See also