Whenever I try to specify more than 64 frames the game fails to load with the error message "Error while loading entity prototype "name" (car): Invalid StripeIterator"
My layer definition is shown below.
When I change the direction-count to 64 and comment the bottom two image definitions, it works.
Code: Select all
{
width = 48,
height = 48,
frame_count = 2,
axially_symmetrical = false,
direction_count = 128,
shift = {0, -0.1875},
animation_speed = 8,
max_advance = 0.2,
stripes = util.multiplystripes(2,
{
{
filename = "__Mod__/image-1.png",
width_in_frames = 1,
height_in_frames = 32,
},
{
filename = "__Mod__/image-2.png",
width_in_frames = 1,
height_in_frames = 32,
},
{
filename = "__Mod__/image-3.png",
width_in_frames = 1,
height_in_frames = 32,
},
{
filename = "__Mod__/image-4.png",
width_in_frames = 1,
height_in_frames = 32,
},
})
},