Scrap Mechanic

Scrap Mechanic

No hay suficientes valoraciones
Artificial Horizon 3
   
Premiar
Favoritos
Favorito
Quitar
Tamaño
Publicado el
Actualizado el
9.326 KB
9 FEB 2023 a las 17:11
9 FEB 2023 a las 17:13
2 notas sobre cambios ( ver )

Suscríbete para descargar
Artificial Horizon 3

Descripción
this works on any size display but variables have been optimized for appearance on a 32x32 pixel display

horizoncolor = "eeeeee"
skycolor = "55aaee"
skylinecolor = "1188aa"
skytextcolor = "005588"
groundcolor = "884411"
groundlinecolor = "552200"
groundtextcolor = "331100"
crosshaircolor = "111111"
rollindicatorcolor = "eeee11"
TO = 4 --text offset
LL= 6 --line length
D = 55 --pitch sensitivity
CX = 1 --crosshair scale
CR =5000 -- ground circle radius
4 comentarios
epicduck410 25 OCT 2024 a las 13:07 
There's a function called upon the computer being turned off where you can clear the screen.
function onStop()
-- it invokes when computer turns off
-- there you can deactivate motors
end
dpd995 12 OCT 2024 a las 13:54 
awesome!
Legofreak  [autor] 18 OCT 2023 a las 11:32 
hi, sorry i didnt see this sooner. You are welcome to use it. I hope you were able to figure something out. I'm not sure how to code it to do something when switched off. you might need a separate input variable that is switched before the power is cut.
Floppiefish 1 OCT 2023 a las 13:19 
Hi, is it possible for me to use this on a jet I am working on? I want to post it to the workshop at some point but I do not yet know how to code so this would help. Credits will be included ofc. Is there also a few lines i could add to make the display go black once logic input is stopped?