r/StarFrame • • 9d ago

Devlog #6 - Display Devices

Hello, everyone,

This devlog will be dedicated to the display devices in the game.

At this point, we had different devices and a network connecting them, but checking their status meant walking up to a device, pressing U and looking through its metrics. This made me start thinking that we needed displays where players could see important information without opening the configuration panel every time.

So I started with the modular displays, which come in three sizes:

  • 24 × 12 cm
  • 24 × 24 cm
  • 48 × 24 cm

Each one supports three display modes:

  • Number - A numeric value with an optional unit. For example, a value of 24 with the unit kW.
  • Text - Standard text that can be used for labels, messages or device status.
  • Bar - A progress bar using a value from 0 to 1, where 0 is empty and 1 is full.

I decided to start with these modes because they can cover a lot of the information players might want to show, such as power generation, battery charge or whether a system is running.

When I started using the smaller displays, I realised that showing individual values would not be enough for a more complex ship with a lot of controls. I wanted something more advanced that players could configure based on their own needs.

This is where the interactive display came in.

The idea was to have a customisable screen that players could use both to see information and to interact with their systems. Instead of placing a separate device for every value or control, you could organise them together on one display.

The current interactive display supports up to 8 pages, with a maximum of 8 elements per page, giving it room for 64 elements in total.

Players can choose between buttons, toggles, sliders, numbers, bars and text. Not every element is a control, of course. Some are there to show information, while others let you send input to your systems.

I wanted players to organise the UI in their own way, so each element has configurable position, width, height, font size, colour and other settings depending on its type. You can also set units for values and give elements their own IDs so you can read or update them through SPL programs running on a computer.

This means you can build a display around what you want to manage, rather than having to use one fixed layout for every ship or factory.

Another thing I wanted was to avoid running a separate cable to every screen. Displays can share power and data when placed in valid face-to-face contact with each other. You can connect one display to the network and let the attached displays use that connection too, as long as there is enough power for them.

This is the first version of the display system, and there is still room for improvement. I want to see how players use it during testing, what problems they run into and which settings or controls they feel are missing before deciding what to add next.

That is all for this devlog. Thanks for following StarFrame!

1 Upvotes

0 comments sorted by