- [NEW] Passat a delta time

- [NEW] Nous tiles
- [NEW] Batman ja puja i baixa per cordes/cadenes
- [NEW] El batarang es mes visible
- [NEW] el ganxo es mes visible
This commit is contained in:
2025-11-10 12:19:17 +01:00
parent 8aa6631a8a
commit 16b45ecf45
8 changed files with 163 additions and 56 deletions

View File

@@ -77,7 +77,7 @@ mapa = {
isSolid = function(x, y)
local tile = map.tile(x, y)
return (tile == 32) or (tile == 33) or (tile==36) or (tile==37)
return (tile == 32) or (tile == 33) or (tile==36) or (tile==37) or (tile==42) or (tile==44) or (tile==45) or (tile==47)
end,
isBlock = function(x, y)
@@ -85,9 +85,19 @@ mapa = {
return (tile == 32)
end,
isPlatform = function(x, y)
local tile = map.tile(x, y)
return (tile == 33) or (tile==36) or (tile==37)
end,
isStairs = function(x, y)
local tile = map.tile(x, y)
return (tile>33) and (tile<40)
end,
isRope = function(x, y)
local tile = map.tile(x, y)
return (tile==40) or (tile==41)
end,
}