Make RotatedSprite bi-directional
Posted: Fri Jun 19, 2020 2:50 am
Add a boolean "direction" to the RotatedSprite type, allowing for clockwise or counterclockwise rotation as desired (step forward or step backward through the sprite file).
Alternately (as my true goal is to enable clockwise rotation on the radar entity), change the radar entity to use Animation instead of RotatedSprite, as the Animation type already include the "run_mode" property (forward, back, forward-then-back).
See: /viewtopic.php?f=28&t=76686 and https://mods.factorio.com/mod/ScanningR ... 00090b9aca
Alternately (as my true goal is to enable clockwise rotation on the radar entity), change the radar entity to use Animation instead of RotatedSprite, as the Animation type already include the "run_mode" property (forward, back, forward-then-back).
See: /viewtopic.php?f=28&t=76686 and https://mods.factorio.com/mod/ScanningR ... 00090b9aca