Yay, variations
This commit is contained in:
parent
a44117d1dd
commit
f82dda6aa1
1 changed files with 4 additions and 4 deletions
|
@ -5,10 +5,10 @@ class Tilelayer extends BaseEntity
|
||||||
render: (layer, x, y) ->
|
render: (layer, x, y) ->
|
||||||
switch @type
|
switch @type
|
||||||
when "stardust" then color = [0, 0, 8, 8]
|
when "stardust" then color = [0, 0, 8, 8]
|
||||||
when "bedrock" then color = [0, 0, 8, 8]
|
when "bedrock" then color = [0, 8, 8, 16]
|
||||||
when "lubinit" then color = [0, 0, 8, 8]
|
when "lubinit" then color = [0, 16, 8, 24]
|
||||||
when "oxodum" then color = [0, 0, 8, 8]
|
when "oxodum" then color = [0, 24, 8, 32]
|
||||||
when "notch" then color = [0, 0, 8, 8]
|
when "notch" then color = [0, 32, 8, 40]
|
||||||
|
|
||||||
#layer.fillStyle color
|
#layer.fillStyle color
|
||||||
# .fillRect x*8, y*8, 8, 8
|
# .fillRect x*8, y*8, 8, 8
|
||||||
|
|
Loading…
Reference in a new issue