get hole in layer working. first step of fog of war

This commit is contained in:
Travis Shears 2026-04-27 16:05:35 +02:00
parent c10c03add0
commit 7432203d7b
Signed by: travisshears
GPG key ID: CB9BF1910F3F7469
4 changed files with 42 additions and 5 deletions

View file

@ -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)