Hi!
Lately I've been animating a bunch of doors and chests, and I have an animation problem I can't figure out.
Sometimes after compiling, when opening a door, the animation plays and the door goes into open position but the "closed" frame stays visible. So the door is both closed and open (Shrödinger's door?) The door still works normally, so you can pass through it when it's supposed to be open. Closing and opening it back and forth a random number of times sometimes make it display properly, but using it again causes the issue to reappear. The behaviour seems to change depending on the animation type. "Clamp" does this, while "Once" works normally except the door seems to open or close twice in a row. Overall it's pretty strange, since half of the time everything works perfectly. Saving the map and compiling after modifying stuff unrelated to doors randomly triggers the issue, so I've no idea what's going on.
Also, is there a difference between "Once" and "Clamp"?
While I'm at it, I've a smaller animation issue with chests. My chests are huge things made of two 16x16 tiles, and a lid in two parts, since it wasn't possible to make a properly centered 32*16 lid due to the way objects are set on the grid. My script works fine (but may do strange stuff like doors). Most of the time I can close or open the lid like a single item, except sometimes one part moves out of sync with the other, causing the lid to appear to be split in two parts.
Cheers!