- Passat a mini v1.3.6
This commit is contained in:
@@ -2,7 +2,7 @@ gorro={hab=5,x=48,y=24,bb={x=0,y=0,w=8,h=8}}
|
||||
|
||||
function gorro.init()
|
||||
local habs={{60,5},{4,5},{34,4},{62,7},{75,4}}
|
||||
local r=1+rnd(#habs)
|
||||
local r=1+math.random(0,#habs-1)
|
||||
gorro.hab=habs[r][1]
|
||||
gorro.x=habs[r][2]*8
|
||||
gorro.update=gorro.update
|
||||
@@ -10,7 +10,7 @@ function gorro.init()
|
||||
end
|
||||
|
||||
function gorro.draw()
|
||||
blit(96,32,16,16,gorro.x,gorro.y,16,16)
|
||||
draw.surf(96,32,16,16,gorro.x,gorro.y,16,16)
|
||||
end
|
||||
|
||||
function gorro.update()
|
||||
|
||||
Reference in New Issue
Block a user