- [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:
2026-03-23 12:17:05 +01:00
parent abb3e5e048
commit 7090a6134f
3 changed files with 34 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ function ia.update_mummy(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