Thursday, October 28, 2010

Slow Progress

I'm all over the place on development work right now. There's so much to do that I often just log into the game and start working on whatever I come across first. I am working off a short "to do" list, and my next goal is to get to the point where I can let a few people create new accounts and start doing some very early testing in the game. I don't want to work in a complete vacuum so getting feedback from some others would be helpful at this point.

I'm almost finished with the basic new player setup. At this point you'll just choose a name and gender of your captain, and name your ship. Everyone will start at the same colony in the same star system for now. The captain will have the basic skills needed to run the small ship by himself unless the player chooses to hire another crew member with the few credits they'll have leftover.

Eventually I want to make the new player setup a bit more complicated, where you'll choose a career path for your captain which will determine his starting skill set and where he and your new ship appear in the game. This will let you specialize your starting ship to be a miner, trader, military, etc.

Monday, October 11, 2010

Update

I'm easing back into development mode right now after spending most of the summer preoccupied with my real job and other activities.

I did receive the final planetary artwork set, and those are going to look really great. My focus at the moment is to finish the cargo movement code and then add a few ship abilities that make use of that, such as Comet Harvesting. Then I'll probably move on to new player setup and fleshing out the Colony screen.

I have made a first pass on paper for the combat system. I've decided to keep in basically one-dimensional to keep things simple. Ships will exist in "range bands" and will thus close, hold, or withdraw as movement actions. The combat structure is still in major flux, however, so look for things to change by the time I start coding it up.

Thursday, May 27, 2010

Refactoring

While I was working on the cargo functionality yesterday, I realized I introduced a fairly fundamental database design error when I added the ability for ships to land at colonies. This led to a problem where ships could attempt to transfer cargo down to the colony while they were taking off from the colony. I could have hacked around it, but I decided to go ahead and rework the database and the code, which meant I had to refactor about 5 pages all together.

Tuesday, May 25, 2010

Some Clean Up and More Cargo Work

I got side-tracked a bit tonight, but I got some cleanup work done first:

1. Fixed the Hire New Personnel page, which I broke a while back. I got the fields lined up and when you hire a new employee they get placed at Zed, the only colony in the game. (So Far)

2. Figured out how to fix the date column on the reports screen so it will sort correctly. I'm using a really great sortable table library by Stuart Langridge that he's provided free of charge on the Internet. He did an awesome job and it has saved me a ton of coding and works great.

3. Some minor cleanup on the Main screen with the ship action descriptions.

4. I added an admin page to let me add new Item types to the database without having to enter it directly with SQL statements. Trying to keep up with the dependencies was getting a bit tedious.

In tonight's Major News, I got the functionality working to move cargo between a ship and colony. It's still instantaneous, and I also need to decide on the method to determine how long it will take to move cargo around. I've got several factors I'd like to include in the equation, like the size of the ship's cargo area, the cargo handling skill of the crew on the ship, and the cargo handling rating of the colony.

More Cargo

Last night I got the cargo screen for ships up and running. It will currently display a sortable list of cargo that is on the ship, and if the ship is landed at a colony owned by the same player, it will also display a list of all cargo assigned to that colony.

Now I need to add the functionality that will let the player transfer cargo between the ship and the colony, and also to split and merge groups of the same type. This will allow the player to take a 100 unit pile of ore and split it into two piles before transferring one pile to the colony, or vice versa.

Eventually ships will be able to dock to each other and transfer cargo, and expeditionary forces will have the same abilities. All of this is necessary before I can implement the mining, gas giant scooping, and comet harvesting actions in the game since those all create new piles of materials and there has to be some place to put them.

Sunday, May 23, 2010

Loading Up the Ship

My focus this week is on the ship's cargo hold. I'm still relatively inexperienced at database design, so I originally had a table that consisted only of the asset ID and the cargo ID. This was a waste of course, so that table had now been dropped and items will be installed on an asset (ship, colony, ground party), or assigned as cargo to assets.

In other news, Jake the wonder artist has sent over the Water planet tile sets and it looks insanely great, just like the others he's done so far. Next up he's working on the asteroid tile set and I'm anxiously awaiting the outcome. The great thing about Jake's artwork is that it gives me other ideas for the game, and has directly influenced the game design already.

Once I get the cargo areas set up, I'll add the ability for ships to transfer cargo between ships and colonies owned by the same player. This will set things up so that I can add the Scoop Gas Giant action for ships, and will take me one step closer to implementing mining deposits on planets and asteroids.

Thursday, May 13, 2010

Update

Since the last update I've been working on getting asteroids fully into the game. I've got the asteroid details screen going and I decided to go with the standard S,C, and M types for now.

Asteroids will have anywhere from 1 to 4 squares that will basically be treated the same as planet squares. Each square can potentially have a mineral deposit or something of interest to investigate.

After I finish up asteroids, the only system objects left for me to complete will be comets, gas giant rings, and space stations.