rendering.draw_animation's animation_offset
Posted: Sun Nov 03, 2024 3:38 pm
https://discord.com/channels/1214952937 ... 3576293469
the animation's starting frame is determined based on the current tick, this does not make sense if you leave the animation_offset empty or at 0, it should be documented after "Offset of the animation in frames. Default is 0." that its tick based and needs something like `-(tick * speed) % frames`, or ideally (and most logically, to me that is) luarendering should always start on the first sprite (ofc animation_offset can be used to shift it) and completely disregard whatever the current tick is.
the animation's starting frame is determined based on the current tick, this does not make sense if you leave the animation_offset empty or at 0, it should be documented after "Offset of the animation in frames. Default is 0." that its tick based and needs something like `-(tick * speed) % frames`, or ideally (and most logically, to me that is) luarendering should always start on the first sprite (ofc animation_offset can be used to shift it) and completely disregard whatever the current tick is.