- [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:
@@ -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,
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user