- [WIP] Llum de antorxa

This commit is contained in:
2026-01-06 10:08:46 +01:00
parent c0dfd49360
commit 021eb62399
6 changed files with 52 additions and 2 deletions

View File

@@ -94,6 +94,10 @@ sprites = {
update = function()
if not sys.beat() then return end
surf.target(game.circ_buf)
surf.cls()
sprites.update_sprite(sprites.hero)
for i,v in ipairs(sprites.list) do
sprites.update_sprite(v)
@@ -203,6 +207,8 @@ sprites = {
end,
update_hero = function()
game.draw_light(sprites.hero.pos.x, sprites.hero.pos.y,100)
-- Update hero
local anim = "hero_stand"
local move_anim = "hero_walk"