- Reestructuració

This commit is contained in:
2023-01-13 19:16:34 +01:00
parent 22be7de746
commit b95650cee0
54 changed files with 45 additions and 0 deletions

20
data/bol.lua Normal file
View File

@@ -0,0 +1,20 @@
bol={hab=39,x=28,y=25,bb={x=0,y=0,w=16,h=8}}
function bol.init()
bol.update=bol.update
bol.draw=bol.draw
end
function bol.draw()
sspr(112,88,16,8,bol.x,bol.y,16,8)
end
function bol.update()
if bol.hab==abad.hab then
if aabb(abad,bol) then
abad.objects.bol=true
start_scene(scenes.bol_trobat)
remove_actor(bol)
end
end
end