- [NEW] Alguns ajustos en habitacions
- [FIX] Càlcul del tile més robust
This commit is contained in:
1 parent
af2c8fb68d
commit
7b63f963b0
17 files changed
+38
-32
No files matched your search
@@ -10,6 +10,10 @@ sprites = {
|
||||
last_safe_pos = { x=28, y=4*13*8+79 }
|
||||
}
|
||||
|
||||
function sprites.get_tile(num)
|
||||
return math.floor(num/8);
|
||||
end
|
||||
|
||||
function sprites.remove(sprite)
|
||||
for i,v in ipairs(sprites.list) do
|
||||
if v == sprite then
|
||||
@@ -72,7 +76,8 @@ function sprites.init()
|
||||
keys = {},
|
||||
stairs = false,
|
||||
hit = ia.hero_hit,
|
||||
give_key = ia.hero_give_key
|
||||
give_key = ia.hero_give_key,
|
||||
falling = false
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user