Interactive elements and how you uuh.. interact with them!
Interactive elements and how you uuh.. interact with them! Lately we have been working on how the player should interact with resources in the world. Those resources can be ores, NPC, arcade machines, doors, switches, machines and so on.
The most simple classical scenario in games is when you a player get close to an object of interest and the game shows a hint on screen suggesting what button to press.
For our rougelike procedurally generated space game RymdResa we simply showed a hint. (By the way you should totally buy and play RymdResa on Steam right now! If you already have please drop a review!)
Interacting in RymdResa
This system works fine, you press a button, things happen. But this doesn't really open up to choices now does it.
In Lunar Soil things are a lite more advanced. You play as the commander of a crew, your character is not the only one that can interact with object and there might be multiple ways to interact with the same object, if you have the right requirements that is.
Let's say you and your crew find an interesting ore deposit. The ore is pretty basic so you could mine it yourself if you have a pick-axe equipped or you could order one of your miners to try to extract some minerals.
Finding time with your crew in Lunar Soil
The hint- and interactsystem will also have a button indicator with a sprite displaying the button (and fallback to text). As well as a progress bar which is animated as you progress to chop lose a part of the gold deposit.
Mining gold in Lunar Soil
We want to make sure that it works on all types of inputs (You can read more about input support in our last post.) So here is the same hint system with keyboard, mouse and gamepad support (xbox one and ps4 layout in the picture).
Different interact hints for different platforms
Talking to a trashrobot?
This hintsystem will be the fast system to issue commands to your crew and the main way you interact. For more complex cases we have the command UI where you have multiple choices with the same or different crew members as well as giving additional commands to your crew.
Command AI in Lunar Soil