From f82dda6aa120f44486b046c3b189fc00ded4a11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20M=C3=BCller?= Date: Sat, 6 Dec 2014 14:29:56 +0100 Subject: [PATCH] Yay, variations --- src/entities/tilelayer.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/entities/tilelayer.coffee b/src/entities/tilelayer.coffee index e0031b3..e670a8a 100644 --- a/src/entities/tilelayer.coffee +++ b/src/entities/tilelayer.coffee @@ -5,10 +5,10 @@ class Tilelayer extends BaseEntity render: (layer, x, y) -> switch @type when "stardust" then color = [0, 0, 8, 8] - when "bedrock" then color = [0, 0, 8, 8] - when "lubinit" then color = [0, 0, 8, 8] - when "oxodum" then color = [0, 0, 8, 8] - when "notch" then color = [0, 0, 8, 8] + when "bedrock" then color = [0, 8, 8, 16] + when "lubinit" then color = [0, 16, 8, 24] + when "oxodum" then color = [0, 24, 8, 32] + when "notch" then color = [0, 32, 8, 40] #layer.fillStyle color # .fillRect x*8, y*8, 8, 8