Draw correct bg for slimes
This commit is contained in:
parent
2935139060
commit
bf1cdb59c3
1
README
1
README
|
@ -13,6 +13,7 @@ Movement:
|
|||
j l
|
||||
m k .
|
||||
|
||||
space - do nothing for a turn
|
||||
r - restart
|
||||
q - quit
|
||||
c - configure keybindings
|
||||
|
|
|
@ -725,6 +725,8 @@ function drawCavern()
|
|||
love.graphics.setColor(0, 1, 0)
|
||||
love.graphics.ellipse('fill', x + 0.5 * x_scale, y + 0.5 * y_scale, 0.7 * x_scale/2, 0.7 * y_scale/2)
|
||||
elseif tile == tiletypes.slime then
|
||||
love.graphics.setColor(0, 0, 0)
|
||||
love.graphics.rectangle('fill', x, y, x_scale, y_scale)
|
||||
love.graphics.setColor(0, 0, 1)
|
||||
love.graphics.ellipse('fill', x + 0.5 * x_scale, y + 0.5 * y_scale, 0.8 * x_scale/2, 0.8 * y_scale/2)
|
||||
love.graphics.rectangle('fill', x + 0.1 * x_scale , y + 0.5 * y_scale, 0.8 * x_scale, 0.8 * y_scale/2)
|
||||
|
@ -751,6 +753,8 @@ function drawCavern()
|
|||
love.graphics.setColor(0.2, 0.7, 0.2)
|
||||
love.graphics.ellipse('fill', x + 0.5 * x_scale, y + 0.5 * y_scale, 0.7 * x_scale/2, 0.7 * y_scale/2)
|
||||
elseif tile == tiletypes.slime then
|
||||
love.graphics.setColor(0.2, 0.2, 0.2)
|
||||
love.graphics.rectangle('fill', x, y, x_scale, y_scale)
|
||||
love.graphics.setColor(0.2, 0.2, 0.7)
|
||||
love.graphics.ellipse('fill', x + 0.5 * x_scale, y + 0.5 * y_scale, 0.8 * x_scale/2, 0.8 * y_scale/2)
|
||||
love.graphics.rectangle('fill', x + 0.1 * x_scale , y + 0.5 * y_scale, 0.8 * x_scale, 0.8 * y_scale/2)
|
||||
|
|
Loading…
Reference in New Issue