- [FIX] Ja funciona tot be amb els gifs
This commit is contained in:
@@ -8,9 +8,8 @@ function reload_textures()
|
||||
if surf_sprites then surf.free(surf_sprites) end
|
||||
surf_sprites = surf.load("sprites.gif")
|
||||
if surf_tiles then surf.free(surf_tiles) end
|
||||
surf_tiles = surf.load("test.gif")
|
||||
surf.save(surf_tiles, "data/test2.gif",pal.load("test.gif"))
|
||||
sys.quit()
|
||||
surf_tiles = surf.load("tiles.gif")
|
||||
|
||||
pal.set(pal.load("tiles.gif"))
|
||||
end
|
||||
|
||||
@@ -18,13 +17,12 @@ function mini.init()
|
||||
reload_textures()
|
||||
pal.trans(0)
|
||||
|
||||
--rooms.init()
|
||||
--shader.init("lynx.glsl")
|
||||
--editor.enable()
|
||||
rooms.init()
|
||||
shader.init("lynx.glsl")
|
||||
editor.enable()
|
||||
end
|
||||
|
||||
function mini.update()
|
||||
app.update()
|
||||
sys.quit()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user