[NEW] Afegits mini sprites de gorro, peu i clau

[NEW] Afegit JAILGAMES al títol
This commit is contained in:
2026-04-03 23:14:44 +02:00
parent 6fd1d2d49c
commit 9ab8c80a56
3 changed files with 18 additions and 6 deletions

View File

@@ -1,5 +1,12 @@
score={} score={}
local gorro_img_x = 10*16 -- col
local gorro_img_y = 11*16 -- row
local peu_img_x = 11*16
local peu_img_y = 11*16
local clau_img_x = 12*16
local clau_img_y = 11.5*16
function score.avatar() function score.avatar()
local x = 64 local x = 64
local y = 0 local y = 0
@@ -89,12 +96,12 @@ function score.draw()
surf.source(score.surf) surf.source(score.surf)
draw.surf(0,0,arcade_config.resolucion.width,arcade_config.resolucion.height,170,10) draw.surf(0,0,arcade_config.resolucion.width,arcade_config.resolucion.height,170,10)
surf.source(tiles) surf.source(tiles)
if abad.objects.gorro~=nil then draw.surf(96*o2aX,32*o2aX,16*o2aX,16*o2aX,99*o2aX,44*o2aX) end 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(112*o2aX,32*o2aX,16*o2aX,16*o2aX,109*o2aX,44*o2aX) 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(112*o2aX,48*o2aX,16*o2aX,16*o2aX,100*o2aX,55*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.clau_premiere~=nil then draw.surf(112*o2aX,8*o2aX,8*o2aX,8*o2aX,104*o2aX,48*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(120*o2aX,8*o2aX,8*o2aX,8*o2aX,112*o2aX,48*o2aX) end if abad.objects.clau_elalien~=nil then draw.surf(clau_img_x+8,clau_img_y,8,8,161,13) end
if abad.objects.bol~=nil then draw.surf(112*o2aX,88*o2aX,16*o2aX,8*o2aX,104*o2aX,46*o2aX) end if abad.objects.bol~=nil then draw.surf(112*o2aX,88*o2aX,16*o2aX,8*o2aX,104*o2aX,46*o2aX) end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -93,6 +93,10 @@ function title_draw_tile( tile, x, y )
draw.surf(tile.x*8,tile.y*8,tile.w*8,tile.h*8, x, y) draw.surf(tile.x*8,tile.y*8,tile.w*8,tile.h*8, x, y)
end end
function title_draw_jg()
draw.text("JAILGAMES 2026",150,174,13)
end
function title_draw () function title_draw ()
title_draw_frame() title_draw_frame()
title_draw_tile(char_C,30,13) title_draw_tile(char_C,30,13)
@@ -103,6 +107,7 @@ function title_draw ()
title_draw_tile(char_s,192,28) title_draw_tile(char_s,192,28)
title_draw_tile(the,129,76) title_draw_tile(the,129,76)
title_draw_tile(arcade,162,76) title_draw_tile(arcade,162,76)
title_draw_jg()
end end
function title_update() function title_update()