Animation mode: stretch

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
mrtux
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Thu Dec 04, 2014 10:04 pm
Contact:

Animation mode: stretch

Post by mrtux »

I created an animation that would represent a process in an assembly-like machine, which ideally takes as much time as the assembly process for one item (which varies between recipes).

Instead of keeping a global list of assembly machines and updating the animation speed on every tick, it would be nice to have the animation mode "stretch" (or something along this line) that adapts the animation speed so that the current frame matches the assembly progress.

(I believe this is relatively easy, either by setting the animation speed or by proportionaly setting the current frame depending on the progress.)
If only my thesis could be done in Factorio …
Post Reply

Return to “Modding interface requests”