[NEW] Afegida una capa al mapa per a fer coses especials
This commit is contained in:
@@ -91,8 +91,11 @@ function stages.stage1_init()
|
||||
table.insert( actors, zombie.new(73, 7, 3,false) )
|
||||
table.insert( actors, zombie.new(75, 3, 3,true) )
|
||||
|
||||
local hp_x, hp_y = coords.room_to_world(11, 7, 4)
|
||||
table.insert( actors, health_potion.new(11, hp_x, hp_y, 0, 0, 1) )
|
||||
local hp_x, hp_y = coords.room_to_world(14, 10, 4)
|
||||
table.insert( actors, health_potion.new(14, hp_x, hp_y, 0, 0, 2) )
|
||||
local hp_x, hp_y = coords.room_to_world(77, 7, 4)
|
||||
table.insert( actors, health_potion.new(77, hp_x, hp_y, 0, 0, 3) )
|
||||
|
||||
|
||||
-- TRIGGERS
|
||||
-- if not menu then table.insert(actors,trigger.new(10,57,32,triggers.escena_abad_inici)) end
|
||||
@@ -149,6 +152,10 @@ function stages.stage1_init()
|
||||
nil,
|
||||
elalien, abad, 150, "I les tisores de podar?", 250)
|
||||
|
||||
tiles_layer2.new(13,11,3,144,144,16,16)
|
||||
tiles_layer2.new(13,11,4,144,144,16,16)
|
||||
tiles_layer2.new(11,10,2,128,208,16,16)
|
||||
|
||||
local abad_x, abad_y = coords.room_to_world ( 10, 4, 3 )
|
||||
-- local abad_x, abad_y = coords.room_to_world ( 54, 8, 3 )
|
||||
-- local abad_x, abad_y = coords.room_to_world ( 18, 9, 3 )
|
||||
@@ -347,33 +354,36 @@ stage1_mapa={
|
||||
-- 12
|
||||
{
|
||||
-- 28,29,28,29,28,29,29,256,256,256,26,27,
|
||||
28,29,28,29,28,29,29,1,256,256,26,27,
|
||||
256,256,256,256,256,256,256,256,256,25,72,256,
|
||||
256,256,73,74,256,256,256,256,1,256,88,256,
|
||||
256,256,89,90,256,256,256,1,256,256,256,256,
|
||||
256,256,256,256,256,256,1,256,256,256,256,256,
|
||||
28,29,28,29,28,29,28,29,28,29,28,29,
|
||||
28, 29, 28, 29, 28, 29, 29, 1,256,256, 26, 27,
|
||||
256,256,256,256,256,256,256,256,256, 25, 72,256,
|
||||
-- 256,256, 73, 74,256,256,256,256, 1,256, 88,256,
|
||||
256,256, 73, 74,256,256,256,256, 1,256,256,256,
|
||||
256,256, 89, 90,256,256,256, 1,256,256,256,256,
|
||||
256,256,256,256,256,256, 1,256,256,256,256,256,
|
||||
28, 29, 28, 29, 28, 29, 28, 29, 28, 29, 28, 29,
|
||||
|
||||
},
|
||||
-- 13
|
||||
{
|
||||
28,29,26,27,26,27,28,29,28,29,28,29,
|
||||
256,256,256,26,27,256,256,256,256,256,256,256,
|
||||
256,256,256,256,256,256,256,256,73,74,256,256,
|
||||
256,256,256,98,98,256,256,256,89,90,256,256,
|
||||
28, 29, 26, 27, 26, 27, 28, 29, 28, 29, 28, 29,
|
||||
256,256,256, 26, 27,256,256,256,256,256,256,256,
|
||||
256,256,256,256,256,256,256,256, 73, 74,256,256,
|
||||
256,256,256, 98, 98,256,256,256, 89, 90,256,256,
|
||||
256,256,104,101,102,103,256,256,256,256,256,256,
|
||||
-- 28,29,28,29,28,29,29,256,81,25,28,29,
|
||||
28,29,28,29,28,29,29,256,256,1,28,29,
|
||||
28, 29, 28, 29, 28, 29, 29,256,256, 1, 28, 29,
|
||||
|
||||
},
|
||||
-- 14
|
||||
{
|
||||
28,29,28,29,28,29,28,29,10,11,28,25,
|
||||
256,256,256,256,256,256,256,256,10,11,256,25,
|
||||
256,73,74,256,256,256,256,256,10,11,256,256,
|
||||
256,89,90,256,256,75,76,256,10,11,256,25,
|
||||
256,256,256,256,256,91,92,256,10,11,256,25,
|
||||
28,29,28,29,28,29,28,29,28,29,28,29,
|
||||
28, 29, 28, 29, 28, 29, 28, 29, 10, 11, 28, 25,
|
||||
256,256,256,256,256,256,256,256, 10, 11,256, 25,
|
||||
-- 256, 73, 74,256,256,256,256,256, 10, 11,256,256,
|
||||
256, 73, 74,256,256,256,256,256, 10, 11,256, 25,
|
||||
256, 89, 90,256,256, 75, 76,256, 10, 11,256,256,
|
||||
-- 256,256,256,256,256, 91, 92,256, 10, 11,256, 25,
|
||||
256,256,256,256,256, 91, 92,256, 10, 11,256,256,
|
||||
28, 29, 28, 29, 28, 29, 28, 29, 28, 29, 28, 29,
|
||||
|
||||
},
|
||||
-- 15
|
||||
|
||||
Reference in New Issue
Block a user