Thursday, March 10, 2011

Asteroid Fields

I'm about 95% complete with the new Asteroid Field functionality, so I think it's safe to show off the first screenshot, featuring the view from a ship inside an Asteroid Field.



This screenshot features every type of asteroid except Carbonaceous. There's even an exotic asteroid hidden in there. This is just a small 13x13 section of a field, which can be up to 23x23 squares wide. I'll probably push that up to 25x25 before long since I'm just going to assume that most players will have good screen resolution and if they don't then they'll just have to use the scroll bars a bit more.

Ditching Firefox

I've been using it for quite a while now, but today I finally decided to stop using Firefox in favor of Google's Chrome browser. I probably should have done it a long time ago but the straw that broke the camel's back was a bug where Firefox ignores the CSS defined for Font size and uses the default size that you've set in Windows 7. Even Internet Explorer doesn't do this. Supposedly there's a workaround for it in FF, but screw that. I just want it to work.

So far there's been zero compatibility problems with Project Libertine and Chrome. It's also faster and the Chrome browser still uses the Firebug plugin flawlessly. Chrome also makes Google Apps like Gmail work better, so I'm pretty happy with the switch so far.

Monday, March 7, 2011

Asteroids

The Asteroid Field rework is coming along nicely. I've got the library view of Asteroid Fields done, so now all I need to do is get it working on the Ship View and add the necessary ship actions that will allow a ship to enter the field and land on asteroids and what not.

I've also got to import all of the asteroid images that Jake sent me. He went a little crazy and I probably have about over 1600 asteroid field images to get put into the system and setup properly. It's a little nutty, but the variety available means there will never be two asteroid fields in the game that look alike.

I'm not quite ready to put up a screenshot yet, but I'll get one out by the end of the week.

Sunday, March 6, 2011

Weekend Update

Recent work has been mostly more cleanup. I've got the look and feel of the ship interface pretty close to how I want it, but I will let a real artist have a go at sprucing it up some in the future. Right now it's pretty plain and utilitarian, but that sort of appeals to me in a way.

I've also been doing some planning work and pretty much have the road map laid out to finish up ship functionality. It's a larger list than I thought, and will require some colony functionality as well, but I'm chewing up small chunks of the work at a fairly regular pace these days. I try to make myself commit at least a few lines of code each day, even if it's just fixing a bug or adjusting the look and feel just a bit.

The next major chunk I've started on is a total rewrite of the asteroid field functionality. I had originally intended each asteroid to be a separate small planet that you would orbit and land on, but I didn't really like the way it was looking and didn't want a huge list of 20 to 30 rocks that you had to choose from. After getting the asteroid graphics back from Jake last year, I had an "Asteroid Epiphany" and decided that I would make asteroid fields be just like planet maps.

Instead of "orbiting a planet" you can "enter asteroid field" and something like a 25x25 map will be displayed, with the asteroids being made up of squares on the map. A lot of the squares will be empty space that you can't interact with, but the others will be treated just like planet squares that you can scan or land on.

I should have a screenshot up later this week. I think it's going to look pretty sweet.

Wednesday, March 2, 2011

Update

I've been doing a lot of cleanup work and have slowly added a few new features, but it's mostly just steadfast avoidance of reworking the planet code, which is probably going to take several days of work to finish.

I have added a method for ships to detect when other ships are present to the game again. At one point I just generated a list in the Ship Actions area, but since I didn't want to have to implement a scroll bar if the list of ships was long, I decided to have a graphical proximity indicator that doubled as a link to take you to a new page that will show a list of ships that are present and give you options to attack or scan them.

Here's a screenshot of how it looks at the moment. I'm not completely happy with how it looks or the placement yet, so it will likely change several times before I settle on something.

Sunday, February 27, 2011

Planets

I've been working on the planet screen a bit, but I'm really just avoiding the fact that I need to tear apart how I'm doing planets and make some major changes. I'm not currently storing enough information about each planet square to make it interesting at all, so I need to be able to store the terrain type, secondary type, and a short description if there is something there besides the default terrain. I also need to rebuild the GM tool used to build planets, since it's currently not user-friendly at all and eventually I'll need help building the hundreds of planets the game will have to start with.

Friday, February 18, 2011

Ship Configuration Update

I've spent most of my time lately on cleaning up some bugs I've found in the code and tweaking a few small items here and there. I did rework the Ship Configuration screen and now have it pretty much in its final form. I added sortable tables for each section and a lot more useful information for each module is being displayed. I also added more safeguards to prevent cheating since until today it was possible to pass a direct URL and add more modules than you should be able to for a given ship section. The only thing I still need to do for this screen is to make the module names links to the Item Details screen, but I haven't implemented that yet so I'll go back and add the links once I do add that screen to the game.

The ship functionality is slowly getting closer to completion, so I should be able to start working on resources and colony functionality within a few months.