- [NEW] Redimensionades les habitacions per a ocupar tota la pantalla

- [FIX] Ajustada posició inici segons nou tamany de habitacions
- [FIX] Ajustat nivell de l'aigua segons nou tamany de habitacions
- [WIP] Treballant en el nou menú
This commit is contained in:
2026-03-11 07:42:24 +01:00
parent 9dcaaa0882
commit de873a7a25
8 changed files with 174 additions and 67 deletions

View File

@@ -48,7 +48,7 @@ sprites = {
init = function()
sprites.hero = {
type = "hero",
pos = { x=28, y=4*12*8+71 },
pos = { x=28, y=4*13*8+71 },
size= { w=16, h=17 },
bbo = { left=3, top=2, right=3, bottom=0 },
current_frame = 1,
@@ -380,7 +380,7 @@ sprites = {
if rooms.pos.y<84 and ty+2>rooms.pos.y+11 then
game.change_room(0,1)
else
if sprites.hero.cooldown % 2 == 0 then
if sprites.hero.cooldown % 4 == 0 then
sprites.hero.pos.y = sprites.hero.pos.y + 1
end
end
@@ -488,7 +488,7 @@ sprites = {
if rooms.pos.y<84 and ty+2>rooms.pos.y+11 then
game.change_room(0,1)
else
if sprites.hero.pos.y >= 742 then
if sprites.hero.pos.y >= 808 then
sprites.hero_hit(0)
return
end