You are here

Orbital Plot Interaction

Hey Folks! Short day today as I had to watch our daughter while Rochelle took an exam across town. But I was still able to churn out a few new things on the orbital plotter.

The first thing was to get the same "onion skin" effect on the ship as I added for planets yesterday. The reason for this was to see if it would help predict future positions of the ship vs. a target planet, and allow the user to plot a course that worked.

It sort of does. But it's not enough info nor sophistication for a full flight yet. It's mainly good at showing objects' relative positions over a range of time. And the useful time range varies a lot depending on the speed of the ship and/or planets in question.

So the next thing I added was making the time range adjustable, as well as the rate at which the plotter moves things around the system. And this meant adding my first on-screen buttons!

Up until now, I've been temporarily wiring everything into hotkeys like WASD and arrows. Good for quick testing, but not a long term solution. Eventually, I would need on-screen widgets for the user to interact with.

Adding those turned out to be pretty straightforward. And I even have a mix of buttons and text readouts!

So far, I added controls for increasing/decreasing the number of "onion skins" to see further into the future for objects, or clean them up if I wanted to pare-down to just the present again. And I also started adding some controls/readouts for controlling the speed of time in the System map. Sort of like VCR controls for the map to move things around.

Already I'm starting to think my first approach to navigation is off, as choosing a direction and then plotting a course seems too clunky and fraught with edge cases. I'm now thinking maybe the user adjusts the crosshairs on the map to their desired location, and the nav computer will calculate the most direct route and show it on the map. Then, I can use these VCR controls and onion skin tools I've created to let the user preview the flight. Maybe add waypoints, set maximum delta V to conserve fuel, avoid regions or grav wells, etc.

I'm thinking it'll still require user intervention when the planned flight encounters certain conditions (e.g. mid-transit maneuvers, unexpected objects, deviation from plotted course gets too large, fuel reserves changed, etc.)

However, all this is meaningless until I give it a shot and see how it actually feels!

Comments

Malacodor's picture

Will swing-by maneuvers be possible?

Ran around with a clown mask before it was cool

dcfedor's picture

Maybe, though the value of such maneuvers might be arguable.

Since cheap, powerful, sustained thrust is available to most ships in the game (via fusion rockets), there is less of a need for external sources of acceleration. In fact, most fusion rockets are easily capable of pushing craft harder than the human occupants could stand. The limiting factor is biological.

However, fuel (or more accurately, propellant) is still in limited supply on any given trip. So there may arise situations where conservation of propellant is important. And it'd be cool to be able to use tricks like this.

Ultimately, it comes down to how much time I have to model everything. I want physics to be simulated, but I don't always have the time/know-how to do everything I want :)

Dan Fedor - Founder, Blue Bottle Games

Malacodor's picture

Swing-by maneuvers could also be used to save time then, since the crew won't feel acceleration due to gravitational forces.

Ran around with a clown mask before it was cool

dcfedor's picture

True. It'll be interesting to see how often this comes up, and whether it is worth waiting/adjusting course for. The origin, destination, and timing would all have to be right for such "shortcuts" to work, but you're right that it would be "free" acceleration, so-to-speak!

Dan Fedor - Founder, Blue Bottle Games