Archive for June, 2009

More SQLite

Sunday, June 28th, 2009

I’ve been playing with it a bit, and as far as I can see, the benefits far outweigh the possible speed issue. Any speed issue only seems likely during load and save games when I’m loading or dumping huge amounts of data, and really, reading the graphics off the hard drive is likely to be slower than reading the significantly smaller data out of the database.

Already, I have most of the sprite definitions in the database, and I’ve started defining other data sets, like planet styles and space station styles. I’m even going to set up star system styles, so that, while you can create a totally random star system, I will also be able to specify types that limit the number of planets or stations or have specific backgrounds, etc. These types of things are much harder to set up when you have to do it in a script file or some other non-data oriented format. The ability to add options just by adding more data in a simple, easy to understand and query format will be key to getting updates and additional content provided after the game has released.

This was one of the problems with Derelict. The data format was painful to manipulate, even with tools.

SQLite

Wednesday, June 24th, 2009

I’m examining using SQLite for data storage. It’s a cross platform database engine that can be built right into whatever application you’re working on. The benefits could be large in terms of how long it takes to add new data to the game as well as the tools that already exist to manage the database. It’s also very flexible in terms of what can be stored in it. Potentially, I could store everything in that single database file and be able to store metadata about something like a sprite in the same record in the db, which would make retrieving that information really simple. My biggest concern would be speed, but it’s supposed to be pretty fast. I’ll have to do some experiments soon.

This entry brought to you from my iPod while lying in bed.

Old Posts Imported

Saturday, June 20th, 2009

I spent a couple hours relearning my SQL syntax and managed to get the old posts moved into the new database. Now, I can remove that link to the ugly old site and you can still see the history.

Before you ask, yes, this little task was quite a bit of work avoidance. I really want to be working on IS, but I’m stuck working on my “day job” which has now become my “all day job”.

New Blog Software

Friday, June 12th, 2009

I’m changing things up a bit, mostly to provide some RSS action and eventually a forum. Unfortunately, at least for the moment (until I decide I have more time), the old posts will have to stay right where they are on the old ugly page with no RSS. However, I do have a new screenshot for you ( a new planet ).

0612_1

Slow Going For A Little Bit

Thursday, June 11th, 2009

Over the next couple of weeks, I need to make significant progress on some contract work, so there will be little progress on IS. I’m doing a little bit of design work and getting up to speed with Blender and Photoshop (I may make some new planets) in the hour or two I probaby have available, but code, by it’s nature, is hard for me to do in small time blocks. Ah well. All this other stuff needs to be done too, so it’s not a total loss, but I sure would prefer to not have to work on the contract stuff.