[FIX] Peu corregit en l'inventari
This commit is contained in:
@@ -99,9 +99,17 @@ function score.draw()
|
||||
surf.source(score.surf)
|
||||
draw.surf(0,0,arcade_config.resolucion.width,arcade_config.resolucion.height,170,10)
|
||||
surf.source(tiles)
|
||||
if abad.objects.gorro~=nil then draw.surf(gorro_img_x,gorro_img_y,16,16,153,7) end
|
||||
if abad.objects.peu~=nil then draw.surf(peu_img_x, peu_img_y, 16,16,109*o2aX,44*o2aX) end
|
||||
if abad.objects.gps~=nil then draw.surf(gps_img_x, peu_img_y, 16,16,100*o2aX,55*o2aX) end
|
||||
if abad.objects.gorro~=nil then
|
||||
draw.surf(gorro_img_x,gorro_img_y,16,16,137,7)
|
||||
end
|
||||
if abad.objects.peu~=nil then
|
||||
local peu_offset = 0
|
||||
if abad.objects.clau_premiere~=nil then
|
||||
peu_offset = 16
|
||||
end
|
||||
draw.surf(peu_img_x, peu_img_y, 16,16,121+peu_offset,7)
|
||||
end
|
||||
-- if abad.objects.gps~=nil then draw.surf(gps_img_x, gps_img_y, 16,16,100*o2aX,55*o2aX) end
|
||||
|
||||
if abad.objects.clau_premiere~=nil then draw.surf(clau_img_x,clau_img_y,8,8,153,13) end
|
||||
if abad.objects.clau_elalien~=nil then draw.surf(clau_img_x+8,clau_img_y,8,8,161,13) end
|
||||
|
||||
@@ -140,7 +140,7 @@ function stages.stage1_init()
|
||||
zombie2, abad, 150, "Aaaaaargh... per ell!", 250)
|
||||
|
||||
local abad_x, abad_y = coords.room_to_world ( 10, 4, 3 )
|
||||
local abad_x, abad_y = coords.room_to_world ( 56, 7, 3 )
|
||||
-- local abad_x, abad_y = coords.room_to_world ( 56, 7, 3 )
|
||||
|
||||
abad:move(abad_x, abad_y)
|
||||
abad_make_safe( true )
|
||||
|
||||
Reference in New Issue
Block a user