Gotes en el mapa completades!

This commit is contained in:
2026-03-27 22:40:02 +01:00
parent 6851a6c4ed
commit 568672e8cb
4 changed files with 144 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ require "abad"
require "cacau"
require "caco"
require "zombie"
require "gota"
local tile_w = arcade_config.tiles_width
local tile_h = arcade_config.tiles_height
@@ -25,6 +26,19 @@ function game_init(menu)
abad_init()
table.insert(actors,abad)
table.insert( actors, gota.new(70,5,1,20) )
table.insert( actors, gota.new(70,9,1,30) )
table.insert( actors, gota.new(63,5,1,25,2,-7) )
table.insert( actors, gota.new(63,9,1,20,0,-8) )
table.insert( actors, gota.new(64,3,1,10,0,-6) )
table.insert( actors, gota.new(64,6,1,25,-1,-5) )
table.insert( actors, gota.new(65,7,1,10,0,-7) )
table.insert( actors, gota.new(65,8,1,25,0,-7) )
table.insert( actors, gota.new(66,3,1,10,0,-7) )
table.insert( actors, gota.new(66,4,1,15,0,-7) )
table.insert( actors, gota.new(77,2,1,30,-5,-7) )
table.insert( actors, gota.new(77,9,1,25,-5,-7) )
table.insert( actors, caco.new(13,3,2,true ) )
table.insert( actors, caco.new(17,3,2,false) )
table.insert( actors, caco.new(20,3,2,false) )
@@ -45,7 +59,7 @@ function game_init(menu)
table.insert( actors, zombie.new(73, 3, 3,false) )
local abad_x, abad_y = arc_mapa_get_coords ( 10, 4, 3 )
local abad_x, abad_y = arc_mapa_get_coords ( 40, 3, 3 )
local abad_x, abad_y = arc_mapa_get_coords ( 77, 3, 2 )
abad:move(abad_x, abad_y)
abad_make_safe( true )