- Passat a mini v1.3.6
This commit is contained in:
@@ -2,7 +2,7 @@ peu={hab=5,x=48,y=24,bb={x=0,y=0,w=8,h=8}}
|
||||
|
||||
function peu.init()
|
||||
local habs={{18,8},{16,2},{16,7},{15,5},{27,1},{27,10},{29,2},{38,8},{69,2},{79,3}}
|
||||
local r=1+rnd(#habs)
|
||||
local r=1+math.random(0,#habs-1)
|
||||
peu.hab=habs[r][1]
|
||||
peu.x=habs[r][2]*8
|
||||
peu.update=peu.update
|
||||
@@ -10,7 +10,7 @@ function peu.init()
|
||||
end
|
||||
|
||||
function peu.draw()
|
||||
blit(112,32,16,16,peu.x,peu.y,16,16)
|
||||
draw.surf(112,32,16,16,peu.x,peu.y,16,16)
|
||||
end
|
||||
|
||||
function peu.update()
|
||||
|
||||
Reference in New Issue
Block a user