[WIP] Treballant en el jefe. Barra d'energia
This commit is contained in:
@@ -29,6 +29,7 @@ function stages.stage1_init()
|
||||
|
||||
boss = imp.new(55,4,3)
|
||||
table.insert( actors, boss )
|
||||
boss_meter = bar_meter.new(64,176,128,8,1,1,boss)
|
||||
|
||||
--batman
|
||||
|
||||
@@ -118,8 +119,27 @@ function stages.stage1_init()
|
||||
stages.boss_loaded = false
|
||||
end
|
||||
|
||||
function stages.stage1_update()
|
||||
-- print("stage1_update")
|
||||
fireball.update()
|
||||
end
|
||||
|
||||
function stages.stage1_draw_back()
|
||||
-- print("stage1_draw_back")
|
||||
end
|
||||
|
||||
function stages.stage1_draw_middle()
|
||||
-- print("stage1_draw_middle")
|
||||
end
|
||||
|
||||
function stages.stage1_draw_front()
|
||||
-- print("stage1_draw_front")
|
||||
fireball.draw()
|
||||
boss_meter:draw()
|
||||
end
|
||||
|
||||
function stages.stage2_init()
|
||||
print("stage 2 init")
|
||||
-- print("stage 2 init")
|
||||
end
|
||||
|
||||
function stages.stage1_boss_ready()
|
||||
|
||||
Reference in New Issue
Block a user