get hole in layer working. first step of fog of war
This commit is contained in:
parent
c10c03add0
commit
7432203d7b
4 changed files with 42 additions and 5 deletions
|
|
@ -29,6 +29,7 @@
|
|||
(let [screen self.pool.data.screen canvas self.pool.data.canvas]
|
||||
; use canvas
|
||||
(love.graphics.setCanvas canvas)
|
||||
; (love.graphics.setCanvas {: canvas :stencil true})
|
||||
; clear the screen
|
||||
(love.graphics.clear)
|
||||
(color.set-color :cream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue