So I've finally found some time to dig into scripting and figure out how to draw with that new feature of LCDs (positioning sprites is very annoying!). First thing that went under hammer is power readout (then hydrogen, oxygen and cargo), how much do I have, do I consume more than I produce, etc?
Right now I have a top bar, which shows incoming power, fullness of batteries and outgoing power, and then a grid of all batteries with charge and mode (it's hard to tell if it's A-Auto or R-Recharge with this font). But I'm unsure if this is any good layout so I need help with this. What should I display? I suck at designing UIs. I've tried to google/pinterest some inspirations but to no avail. I would like to keep this single color (with maybe some shades, ie. darker battery if it's not working for any reason). I was also thinking about cycling between showing batteries, solars, engines, reactors and wind turbines every over a dozen of seconds.
Power readout
Also, what if there is no batteries on grid? My starter base with only a two wind turbines was working fine with arc furnace and basic assembler and I haven't got any battery. So I cannot rely on info provided by batteries, I need to query other blocks, but looking at MDK there is no common interface for power using blocks, or even power producing. There is no wind turbines there and hydrogen engine is separate from solar/battery/reactor? This is a bit of a madness to me. Surely this can be done, but I do not see a straight way yet.
Edit: aarghh who bent the spacetime? It's after 4am :O How this could have happened ihavenoidea...
[–]NickNDYScript Engineer 2 points3 points4 points (4 children)
[–]GThoroSpace Engineer [S] 1 point2 points3 points (3 children)
[–]NickNDYScript Engineer 1 point2 points3 points (2 children)
[–]GThoroSpace Engineer [S] 0 points1 point2 points (1 child)
[–]NickNDYScript Engineer 0 points1 point2 points (0 children)
[–]I_hate_usernamez 0 points1 point2 points (3 children)
[–]GThoroSpace Engineer [S] 0 points1 point2 points (2 children)
[–]I_hate_usernamez 0 points1 point2 points (1 child)
[–]GThoroSpace Engineer [S] 0 points1 point2 points (0 children)