Hey Folks! We're finally starting to get somewhere with the navigation console. (Pun intended.)
Today was still a lot of behind-the-scenes type work. Fixing bugs in the code, improving functions, exposing data in one class that I need to reference from another. All with the aim towards letting the player direct an AI to the nav console, open it, plot a course, engage, and then continue on around the ship doing stuff.
I'm happy to say that as of this afternoon, pretty much all of that works! In the screenshot above, I've selected Akiko, directed her to walk to the nav console and open, it, and as you can see from the debug status info at the bottom, she's accessed it and is currently awaiting further instruction.
Here's where I would plot the course using the UI controls and some hotkeys, hit "Engage," and then close the UI, which releases Akiko to proceed living life aboard the ship.
So far, hitting "Engage" works, but it's really hard to tell since the ship barely moves on that map at realtime. I also need to test whether it resumes correctly when the UI opens again, and make sure the time on the UI matches time in the game.
And, of course, a heck of a lot of other stuff, too. But as of finishing that UI stuff, Akiko is technically underway towards the Sun! (Sorry, Akiko. It's for science.)
Some of the other things which might make sense to tackle next include:
- The concept of being docked (locked to orbital object) vs not (under gravity/thrust effects).
- Some more in-flight info in the UI, such as current thrust, ETD.
- Reactors, fuel, thrust, and some other support systems to make this an actual ship and not a magic elevator.
Still not quite a game loop yet. But it's exciting to have two different prototypes now attached to each other in a meaningful way!
That's all for this week. Have a good weekend, all!