Page 1 of 1

How to draw line/arrow on surface/map?

Posted: Tue Mar 05, 2019 6:32 am
by kevinma
from data.raw, I found 'fake-selection-box-2x2' and 'orange-arrow-with-circle'. Is that right?

em... I want to visual vehicle speed and its movement path using line and arrow.

Re: How to draw line/arrow on surface/map?

Posted: Tue Mar 05, 2019 8:24 am
by darkfrei

Re: How to draw line/arrow on surface/map?

Posted: Tue Mar 05, 2019 9:48 am
by kevinma
darkfrei wrote:
Tue Mar 05, 2019 8:24 am
https://lua-api.factorio.com/latest/LuaRendering.html

Code: Select all

rendering.draw_line(table)
Thank you very much