- [FIX] Si hi ha que ficar un offset en algun frame de animació, es fà des de la propia animació, no canviant la posició del personatge

- [NEW] rooms.reload()
- [FIX] Al tornar al editor, se recarrega tot de nou
- [NEW] Si se juga des de un mini de debug comença en l'editor. Si se juga des del mini normal comença en el joc.
This commit is contained in:
2026-03-04 11:08:16 +01:00
parent 8e5599506e
commit f6b99d7924
7 changed files with 25 additions and 42 deletions

View File

@@ -36,9 +36,9 @@ animations = {
["hero_shoot"] = {
cycle = {1,2,3},
frames = {
{ frame={x=64,y=0,w=24,h=17}, wait=4 },
{ frame={x=88,y=0,w=24,h=17}, wait=2 },
{ frame={x=88,y=0,w=24,h=17}, wait=2 }
{ frame={x=64,y=0,w=24,h=17}, offset={flipped={x=-8,y=0}}, wait=4 },
{ frame={x=88,y=0,w=24,h=17}, offset={flipped={x=-8,y=0}}, wait=2 },
{ frame={x=88,y=0,w=24,h=17}, offset={flipped={x=-8,y=0}}, wait=2 }
}
},
["bullet"] = {