Closed nwinter closed 1 year ago
This happens when spritesheets are rerendered after resizing everything to a smaller spritesheet: https://github.com/codecombat/codecombat/blob/master/app/lib/surface/LayerAdapter.coffee#L294 – maybe we need to maintain old animation frames when rerendering? At least rerender less often.
@sderickson how hard to maintain old animation frames when rerendering?
Maybe a few hours to figure out?
Fixed in c56ec2c, at least for SegmentedSprites!
This has the result that all the dead units get up in order to die again. I would have said it's probably something to do with world streaming chunks improperly setting
actionActivated
totrue
, but now just looking at when it happened, it doesn't reproduce when scrubbing past the same point on the same run again, so maybe it is something to do with real-time playback instead?