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