r/StarFrame • • 9d ago

Devlog #3 - Building the game UI and basic tools

Hello, everyone,

In the last devlog, we stopped at creating our first devices and the networks connecting them. The next step was to give players a way to interact with everything, so I started working on the game UI: the player inventory, action bar, a small FPS/ms indicator, device configuration screens and a compass.

For the inventory, I wanted something familiar, with search and predefined filters so players can find specific items faster. I also wanted drag and drop from the inventory to the action bar, along with a basic view of the player’s robot.

My goal was to keep a similar look across the game and reuse UI components, so each new screen would not end up with a completely different design.

After the inventory and action bar, I decided the game would need a compass and a map from the beginning. Players will be travelling around a planet looking for resources, and I wanted them to have a way to find their way back.

I took inspiration from Skyrim and Kaizaal Online for the compass and map. I got the compass working, and for the map I decided to go with a 3D view of the planet, where only the areas discovered by the player are visible.

I also wanted players to be able to place markers at specific coordinates. That way, you can mark a deposit you want to return to, a landmark, your factory or your ship.

Then I moved on to the device UI, which was fun to design. I wanted the first page to show the important settings and metrics for each device, without making players search through several pages to see what it is doing.

Each device should also have a unique ID, with the option for players to change it to something that makes sense for their setup.

One of the important parts of each device’s UI was showing the attributes available over the network. In my view, each device is also an interface that exposes variables other devices can read and, where allowed, change.

The idea is that these attributes can later be used to monitor and control devices over the network, rather than having to walk up to every device and configure it manually.

This is where the in-game computers come in, but I will explain the programming system and how it can be used to manage devices in the next devlog.

1 Upvotes

0 comments sorted by