dcfedor's blog

Docking Initiated, and OOO Monday

dcfedor's picture

Hey Folks! Made some decent progress today on the docking system. Not "completely operational," as they say, but getting there.

The first task was to get the game to spawn additional ships, since it was only ever designed to work with one at a time. Fortunately, this wasn't too bad. Just repeating the same steps to load the first ship thankfully "just worked." I could load a second ship right on top of the first.

The next step was to get those ships aligned so their docking systems connected. This turned out to be harder.

Home Sweet Home

dcfedor's picture

Hey Folks! Back to work on the space prototype today, as I continued laying the groundwork for ship docking.

The first task was to finish fixing the issue I ran into the other day with rooms vs. void detection. Some ship rooms were being classified as void, and vice versa. It turns out this was a two-pronged bug.

DMC Scrolling Bug

dcfedor's picture

Hey Folks! No space stuff today. I had to miss the early part of the day for an eye appointment, and Tiago was back to help with some NEO Scavenger mobile bugs, so I used my afternoon to help track down a high-res issue.

Basically, the bug was that the map wouldn't scroll far enough toward the right or bottom edges on certain devices. And since those devices had much larger screens screens than ours (~2880 pixels wide), we hadn't tested them adequately.


dcfedor's picture

Hey Folks! Today was all about ships and ship systems, as I started prepping for adding docking to the game.

Initially, that meant a lot of reading and thinking, as I refreshed my memory on how everything worked in code, then tried to come up with ways to represent the concept of a docked "other" ship. How would AI know it could pathfind on another ship? What about gas exchange between ships? What about room and item ID uniqueness?

Docking System

dcfedor's picture

Hey Folks! Hope everyone had a good weekend. Pretty mundane here, though I did get my hands dirty yesterday, lugging clay and gravel around to level some depressions along the house. It actually felt nice to be outside and exerting myself. I really need to get out more.

Back at the office, I quickly took care of a few emails and such before diving into my next task: docking systems.

Course Plotter Demo, and New Music from Josh!

dcfedor's picture

Hey Folks! Got a special treat for your today. I decided to try and get a video recorded to show off both the course plotter I've been working on, as well as some of Josh's latest music!

Hopefully there are some interesting bits in there for everyone to check out. And if you have any questions or feedback, feel free to let me know!

Have a good weekend, all!

Course Plotting Redux

dcfedor's picture

Hey Folks! I spent most of the day working on the system/course plotter UI today, in my continued attempt to make it reliable and usable enough to get from point A to B.

More Precision Issues, and PR

dcfedor's picture

Hey Folks! A bit of a slower day today, as a chunk of it was spent tackling public relations type tasks, and a bit of admin. I did get some coding done, however, aiming to address precision issues in the sim.

Yesterday, I talked a bit about precision and time. As it turns out, single precision floating point variables can only store 7-significant digits of info. And when we're talking about the number of seconds in years (months, even), we quickly get large enough numbers that individual seconds are ignored by the CPU.

A Matter of Time

dcfedor's picture

Hey Folks! Another mostly coding day today, slightly more productive than yesterday. Today's focus was mostly on time.

Initially, it was just some minor changes to make the player's life easier. I added code to make sure the plotter couldn't reverse time into the past, and it just "bottoms-out" at the star system's current time if you rewind.

Nav Station Persistence, Rendering

dcfedor's picture

Hey Folks! Hope everyone had a good weekend. A lot of manual labor and handyman type stuff for us, as we tie-up some more loose ends around the house.

Back at the office, it was off to a bit of a slow start as I went through several emails and other admin tasks. And I suspect at least one more round of this later in the week, as month-end approaches.