Page 1 of 1

Belt graphics: one arrow per n tiles

Posted: Wed Mar 13, 2019 8:17 am
by darkfrei
Hi!
Can you please add an option by prototype definition that we can make ultra high speed transport belts without stroboscope effect?

Yes, we can set animation slower, but here is still only arrow per tile, then half period without any arrow.

Link https://mods.factorio.com/mod/UltimateB ... 000ca90029

(@ Admins: Please move to viewforum.php?f=28 )

Re: Belt graphics: one arrow per n tiles

Posted: Wed Mar 13, 2019 5:22 pm
by pleegwat
You would have to make different tiles display different frames of the animation based on their position. This is not generically possible. Consider a looping belt over 4 tiles: this can only be displayed correctly if the pattern repeats 1, 2, or 4 tiles. For a looping belt over 6 tiles, the pattern must repeat every 1, 2, 3, or 6 tiles. Taking the intersection of these, the pattern must repeat every 1 or 2 tiles just considering these two 'loop' cases.

Since the grid is square, loops over an odd number of tiles are impossible.