- [FIX] Ja funciona tot be amb els gifs

This commit is contained in:
2025-11-14 18:43:30 +01:00
parent 67192623fe
commit 6db92c3df6
8 changed files with 7 additions and 8 deletions

View File

@@ -56,7 +56,8 @@ rooms = {
end,
save = function()
local p = pal.load("tiles.gif")
local p = {}
for i=0,255 do p[i] = {r=i,g=i,b=i} end
surf.save(rooms.surf_background, "data/rooms_background"..ROOM_FILE_EXT, p)
surf.save(rooms.surf_foreground, "data/rooms_foreground"..ROOM_FILE_EXT, p)
surf.save(rooms.surf_items, "data/rooms_items"..ROOM_FILE_EXT, p)