- [NEW] 'animations' module

- [NEW] 'game' module
- [NEW] 'sprites' module
- [NEW] more tiles
- [NEW] Can choose which tile layer to edit from the editor menu
This commit is contained in:
2025-06-20 18:32:46 +02:00
parent ddebcfa47a
commit 9a6bceec91
9 changed files with 96 additions and 21 deletions

18
data/game.lua Normal file
View File

@@ -0,0 +1,18 @@
game = {
enable = function()
app.update = game.update
sys.beat(20)
end,
update = function()
view.origin(0,0)
surf.target(0)
score.draw()
-- Pintar el mapa i sprites
rooms.draw()
end
}