[WIP] Més tiles

[WIP] Fase 2
[NEW] En l'editor, es pot moure per la fase amb SPACE+ratolí
[WIP] mòdul GAME
[WIP] mòdul BATMAN
[NEW] F4 recarrega les textures
This commit is contained in:
2025-11-06 17:29:44 +01:00
parent fc99ad06a4
commit cc2f1803a4
8 changed files with 128 additions and 4 deletions

15
data/batman.lua Normal file
View File

@@ -0,0 +1,15 @@
batman = {
x = 7*8,
y = 14*8,
surface = nil,
flip = false,
init = function()
batman.surface = surf.load("batman.gif")
end,
draw = function()
surf.source(batman.surface)
draw.surf(0,0,16,16,batman.x,batman.y,16,16,batman.flip)
end
}