- Esta tot fet una marranà, en mig de la conversió

This commit is contained in:
2025-02-16 21:48:07 +01:00
parent 40e98737ce
commit 29a90f4b46
7 changed files with 402 additions and 344 deletions

View File

@@ -10,6 +10,14 @@ function _init()
--turbo(false)
--local perico = "péricòñ"
--print(utf8.len(perico))
s = surface.load("tiles01.gif")
--surface.source(s)
p = palette.load("tiles01.gif")
palette.set(p)
print(#p)
surface.save(s, "data/copy.gif", p)
s = surface.load("copy.gif")
--draw.source(s)
end
function _update()
@@ -18,7 +26,8 @@ function _update()
end
draw.cls(5)
draw.print("HOLA",0,0)
draw.blit(s, 0, 0, 64, 64, 10, 10)
--draw.print(#p,0,0,2)
end
function normal_update()

BIN
data/tiles01.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B