- [NEW] Invisible actor
- [NEW] Cacaus bowl - [NEW] Bowl found scene - [NEW] Batman kills on touch - [NEW] Drops and invisibles everywhere - Changed Batman room
This commit is contained in:
20
bol.lua
Normal file
20
bol.lua
Normal 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
|
||||
Reference in New Issue
Block a user