- [WIP] Llum de antorxa
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user