- All Malotes added

- Trigger system renamed and revamped
- Bambolles can be poped by shooting at them
This commit is contained in:
2022-10-28 17:10:33 +02:00
parent 0ef6d03ec1
commit 8d95eb10e1
6 changed files with 67 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
zombie={}
function zombie:new()
return {hab=2,x=24,y=24,flip=false,frame=0,wait=0,step=0,hit=zombie.hit,update=zombie.update_normal, draw=zombie.draw,jumpfwd=false,anim={16,17,16,18},bb={x=4,y=0,w=8,h=16}}
function zombie.new(_hab,_x,_y,_flip)
return {hab=_hab,x=_x,y=_y,flip=_flip,frame=0,wait=0,step=0,hit=zombie.hit,update=zombie.update_normal, draw=zombie.draw,jumpfwd=false,anim={16,17,16,18},bb={x=4,y=0,w=8,h=16}}
end
function zombie:draw()