Remove water, top green, sides brown
This commit is contained in:
1 parent
9f622fc151
commit
592993b993
1 file changed
+4
-4
+4
-4
@@ -91,7 +91,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isWater(h) {
|
function isWater(h) {
|
||||||
return h <= 8;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var tiles = [];
|
var tiles = [];
|
||||||
@@ -117,9 +117,9 @@
|
|||||||
var top3 = project(wx + TILE - GAP/2, wy + GAP/2, h * HEIGHT_UNIT);
|
var top3 = project(wx + TILE - GAP/2, wy + GAP/2, h * HEIGHT_UNIT);
|
||||||
var top4 = project(wx + GAP/2, wy + GAP/2, h * HEIGHT_UNIT);
|
var top4 = project(wx + GAP/2, wy + GAP/2, h * HEIGHT_UNIT);
|
||||||
|
|
||||||
var topColor = water ? '#2299dd' : '#33aa33';
|
var topColor = '#33aa33';
|
||||||
var leftColor = water ? '#1166aa' : '#226622';
|
var leftColor = '#6b4423';
|
||||||
var rightColor = water ? '#0d4477' : '#114411';
|
var rightColor = '#4a2e18';
|
||||||
|
|
||||||
ctx.fillStyle = topColor;
|
ctx.fillStyle = topColor;
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
|
|||||||
Reference in new issue
Block a user