[NEW] Posició nova per al peu - prova

This commit is contained in:
2026-05-01 08:45:00 +02:00
parent df30835830
commit dfd0fe41db

View File

@@ -11,7 +11,7 @@ peu={name="peu",hab=5,x=6,y=3,w=32,h=32,bb={x=0,y=0,w=16,h=16}}
function peu.init() 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 habs={{18,8},{16,2},{16,7},{15,5},{27,1},{27,10},{29,2},{38,8},{69,2},{79,3}}
local habs={{69,0},{78,6},{59,8},{27,8},{16,0},{18,8}} local habs={{69,0},{78,6},{59,8},{27,8},{16,0},{18,8},{18,9}}
local r=1+math.random(0,#habs-1) local r=1+math.random(0,#habs-1)
peu.hab=habs[r][1] peu.hab=habs[r][1]
-- peu.x=habs[r][2]*8 -- peu.x=habs[r][2]*8