- [NEW] Quan li peguen, Morcus pega un botet cap enrere
- [NEW] Quan peguen a l'heroi, la momia i la rata peguen la volta
This commit is contained in:
@@ -7,6 +7,7 @@ function ia.update_rata(spr)
|
||||
-- Si toca al heroi...
|
||||
if util.check_aabb_collision(x1,y1,w1,h1, x2,y2,w2,h2) then
|
||||
sprites.hero.hit()
|
||||
spr.flipped = not spr.flipped
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user