HOMEBLOGDEVLOG

Create route UI

Adam C. Clifton
8 Jan 2026

We now have a UI for creating routes in AeroCEO.

The buttons are mostly smartly disabling an enabling depending on what planes/airports/slots etc that the player has.

The destination can be selected by clicking on the world map in the background. That's a bit awkward with all the windows sitting on top, so you need to use the small area around the edges. It's functional enough to continue development for now, as the UI will be completely redesigned in the future once we have more of a feel for how the game should flow.

I've also ignored some questions about how the stack of UI should work with inputs being ignored by some windows but flowing down to others below. But that's a problem for future me.

As part of the multiplayer ready actions system, the CompanyCreateRoute action has its own validation code as well, and that's being ran and the result displayed at the bottom of the window. Currently that's not very user friendly, eg "INSUFFICIENT_SLOTS_DESTINATION", but it can be very granular, so long term it can be made much nicer and even highlight the UI element that needs to be changed.

So this validation runs on the UI, then when the action is applied locally, and also on the server in multiplayer games. So lots of good code reuse there, and everything should be consistent with the UI not allowing you to do anything that will get bounced later.

The route is actually created at the end, but there's no visual feedback, that will be the next task!

Previous: Clickable airports
Next: Show routes on map
© Numbat Logic Pty Ltd 2014 - 2026