- [WIP] Aigua

This commit is contained in:
2026-01-07 07:54:31 +01:00
parent 021eb62399
commit 9cb98203ee
3 changed files with 11 additions and 0 deletions

View File

@@ -33,6 +33,17 @@ game = {
--sprites.update_hero()
view.origin(0,0)
if rooms.pos.y == 84 then
surf.target(game.back_buf)
surf.source(game.back_buf)
for y=96,103 do
for x=0,159 do
local pixel = surf.pixel(x,y)
surf.pixel(x,y,game.water_pal[pixel+1])
end
end
end
surf.target(0)
--surf.source(game.back_buf)
--draw.surf(0,0,160,104,0,0,160,104)