El monstruitos ja fan pupa
This commit is contained in:
@@ -73,7 +73,12 @@ function caco:update_normal()
|
||||
self.flip=not self.flip
|
||||
end
|
||||
|
||||
|
||||
if viewp:inside(self.x, self.y, self.w, self.h) then
|
||||
if collision(abad,self) then
|
||||
abad_hurt(1)
|
||||
end
|
||||
end
|
||||
|
||||
-- if self.hab==abad.hab then
|
||||
-- if aabb(abad,self) then
|
||||
-- abad_hurt(1)
|
||||
|
||||
Reference in New Issue
Block a user