[NEW] Afegits mini sprites de gorro, peu i clau
[NEW] Afegit JAILGAMES al títol
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
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()
|
||||
local x = 64
|
||||
local y = 0
|
||||
@@ -89,12 +96,12 @@ 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(96*o2aX,32*o2aX,16*o2aX,16*o2aX,99*o2aX,44*o2aX) 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.gps~=nil then draw.surf(112*o2aX,48*o2aX,16*o2aX,16*o2aX,100*o2aX,55*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(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.clau_premiere~=nil then draw.surf(112*o2aX,8*o2aX,8*o2aX,8*o2aX,104*o2aX,48*o2aX) 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_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
|
||||
|
||||
if abad.objects.bol~=nil then draw.surf(112*o2aX,88*o2aX,16*o2aX,8*o2aX,104*o2aX,46*o2aX) end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user