-Treballant en l'edicio de items, pero els GIFs están donant pel cul

This commit is contained in:
2025-11-13 17:44:56 +01:00
parent cf103dd02c
commit 67192623fe
8 changed files with 29 additions and 15 deletions

View File

@@ -26,7 +26,15 @@ sprites = {
end,
add_from_room = function()
map.surf(rooms.surf_items)
for y = rooms.pos.y, rooms.pos.y+19 do
for x = rooms.pos.x, rooms.pos.x+11 do
--if surf.pixel(x,y) ~= 0 then
io.write(map.tile(x,y)..",")
--end
end
io.write("\n")
end
end,
init = function()