Improving background
This commit is contained in:
10
pyras.p8
10
pyras.p8
@ -16,7 +16,7 @@ end
|
||||
|
||||
function _draw()
|
||||
cls()
|
||||
print(#pyras,7)
|
||||
drawbg()
|
||||
drawguy()
|
||||
drawpyras()
|
||||
end
|
||||
@ -79,6 +79,14 @@ function eatpyras()
|
||||
deli(pyras,index)
|
||||
end
|
||||
end
|
||||
-->8
|
||||
function drawbg()
|
||||
offset=1
|
||||
if(#pyras>9)offset+=1
|
||||
if(#pyras>99)offset+=1
|
||||
rectfill(0,0,127,127,1)
|
||||
print(#pyras,128-4*offset,1,7)
|
||||
end
|
||||
__gfx__
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
|
Reference in New Issue
Block a user