Demonstration of the problem:
The left one has its animation defined as animation with two layers. The right one uses sheets instead.
Expected behavior: shadow is drawn continuously for both entities.
Actual behavior: for the right entity the shadow is drawn 1 frame out of 32.
If there's only one sheet with repeat_count, then the game crashes on the entity being placed.
In attachments: the mod that defines these two entities and the save shown in the video.
Version 0.1.0 of the mod should show the visual problem when loading the save
Version 0.2.0 of the mod should crash the game when loading the save.
Two similarly defined entities. Both use main animation with frame_count=32, and an animation with frame_count=1 repeat_count=32 for the shadow.[2.0.49] AnimationSheet.repeat_count is not handled properly
[2.0.49] AnimationSheet.repeat_count is not handled properly
- Attachments
-
- factorio-current.log
- (8.66 KiB) Downloaded 5 times
-
- SheetTest_0.2.0.zip
- (826 Bytes) Downloaded 5 times
-
- SheetTest_0.1.0.zip
- (882 Bytes) Downloaded 5 times
-
- AnimationSheetsTest.zip
- (878.27 KiB) Downloaded 4 times