Animating construction robots
Posted: Fri Jan 31, 2020 10:16 am
Having trouble animating construction bots. I am trying to get the robots to have 2 frames per direction, but they are only displaying the first frame of each direction. They appear the same when frame_count = 1 or 2.
My sprite sheet has 2 frames per line, and 4 rows for directions. What am I doing wrong?
My sprite sheet has 2 frames per line, and 4 rows for directions. What am I doing wrong?
Code: Select all
in_motion =
{
filename = "__CatMod__/graphics/entity/cat/hr-cat.png",
priority = "high",
line_length = 2,
width = 112,
height = 59,
frame_count = 2,
direction_count = 4,
shift = {0, 0.015625},
scale = 0.5
},