- [FIX] Retocs en habitacions
- [FIX] Quan mor, reapareix en l'habitació que toca - [FIX] Després de morir, al agafar una clau es tornava tot roig infern (que por) - [FIX] Si no hi havia objectes amb llum en l'habitació on mories, mai resucitaves - [FIX] Al resucitar, totes les llums s'encenen desde cero, no nomes la teua - [FIX] Quan t'havien pegat, no podies disparar durant el cooldown - [FIX] Menos posibilitats de que la "safe position" estiga en un lloc mortal
This commit is contained in:
@@ -37,12 +37,13 @@ game = {
|
||||
end,
|
||||
|
||||
restart = function()
|
||||
rooms.reload()
|
||||
--rooms.reload()
|
||||
ia.hero_reset()
|
||||
sprites.add_from_room(rooms.pos.x, rooms.pos.y)
|
||||
pal.set(palfade.original)
|
||||
ia.hero_reset()
|
||||
sprites.hero.light = 0
|
||||
tweening.add(0,100,1,easing.linear,function(value,n,finished)sprites.hero.light = value end)
|
||||
sprites.lights_in()
|
||||
score.init(true)
|
||||
end,
|
||||
|
||||
@@ -72,6 +73,10 @@ game = {
|
||||
|
||||
score.draw()
|
||||
|
||||
view.origin(0,0)
|
||||
draw.text("safe: "..sprites.last_safe_room,1,96,28)
|
||||
--draw.text(sprites.hero.pos.x ..","..sprites.hero.pos.y,14,89,28)
|
||||
|
||||
if key.press(key.ESCAPE) or key.press(key.F9) then
|
||||
rooms.reload()
|
||||
sprites.add_from_room(rooms.pos.x, rooms.pos.y)
|
||||
|
||||
Reference in New Issue
Block a user