- [NEW] animated tiles
This commit is contained in:
5
main.lua
5
main.lua
@@ -20,7 +20,7 @@ function _init()
|
||||
table.insert(actors,premiere)
|
||||
z = zombie.new()
|
||||
table.insert(actors,z)
|
||||
c=caco.new(10,24,16)
|
||||
c=caco.new(11,24,16)
|
||||
table.insert(actors,c)
|
||||
score.create()
|
||||
|
||||
@@ -141,7 +141,8 @@ function update_game()
|
||||
prnt("x"..abad.vides,114,13,2)
|
||||
rectfill(102+(abad.energia>>1),30,122,37,16)
|
||||
|
||||
mapa_update()
|
||||
mapa_update(abad.hab,premiere.hab)
|
||||
|
||||
for key,actor in pairs(actors) do
|
||||
actor:update()
|
||||
if actor.hab==cacau.hab and actor~=abad then
|
||||
|
||||
Reference in New Issue
Block a user