Difference between revisions of "Map"

From King Arthur's Gold Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
Map is a 2D surface where gameplay takes place.
 
Map is a 2D surface where gameplay takes place.
  
Map files are PNG files and they are stored in Maps/ directory. Since game is based on blocks, every pixel corresponds to particular [[items|item]] or [[blocks|block]].
+
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.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 38: Line 38:
 
|-
 
|-
 
| style="background-color: #552a11; color: #fff" | 85,42,17
 
| style="background-color: #552a11; color: #fff" | 85,42,17
| [[Ladder]]
+
| [[Ladder]] placed on stone [[wall]]
 +
|-
 +
| style="background-color: #644311; color: #fff" | 100,67,17
 +
| [[Ladder]] placed on [[dirt]] wall
 
|-
 
|-
 
| style="background-color: #fab614" | 250,182,20
 
| style="background-color: #fab614" | 250,182,20

Revision as of 20:44, 7 June 2011

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 item or block and it consists of 15 colors, which are listed below for reference.

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

See also