Monday, September 29, 2008

Onwards! To math!

I keep moving the 'getting into math' part of my schedule ahead of me... I think I'm going to have to face the music sooner or later... but for now 'later' sounds pretty good!

The galaxy generator is done now. It's also scalable so if I increase the size of my galaxy I shouldn't run into any weird issues. I'm currently working on the 'system rendering' and the interface bit which should get you to the star you want to see. The rendering itself, in a basic form, exists but the interface needs to be done still and I still need to do the math bit so the solar system looks like a solar system, rather then a list of planets.

I also decided to link SDL_TTF so I can paste freefont text on the screen. It's amusing how much easier that's going every time I do it.

Well, I'm not quite 'healthy' just yet... I thought I was... but I guess I was wrong, so I hope I get proper well now so I can spend some more significant time on this.

Oh, and anyone who can find me an easy to understand tutorial on the mathematical functions Sin, Cos and Tan will become my idol for the next month. I'd really appreciate some input there :)

Until next time!

Monday, September 22, 2008

Down with the sickness

What is it with me getting sick in the middle of an interesting project?

Anyway, the past week I've been mostly fixing bugs on the galaxy generation code... and I'm not quite done with it yet. For now it's just going to be a flat/random galaxy until I decide a better algorithm is needed. After I'm done with all that I'm going to start on the starview, which is where you can see what planets are within a star. They're all going to be orbiting as well so I'm going to have to get reacquainted with my old nemeses, Sin, Cos and Tan.

Oh boy...

Until next week!

Monday, September 15, 2008

Dots, Dots, Dots...

De datastructures are set now. It's a fine piece of work, if I do say so myself, and I'm confident I won't have to change it much over the course of this project.

What I'm working on for Project: Space is something I like to call: UniBrowse!

It's a program that creates a universe, consisting of a few thousand stars. Each stars will have planets orbitting it and all should be viewable from a simple mouse-driven interface. Right now I have the program generating a random universe on startup, and although there are a few minor bugs with the system, I should have that all wrapped up by next week.

The universe that gets generated now is a bit random still... I'm trying to get it look a little like a galaxy-shape but that may take a little while as my math is still a little rusty.

So that's been this week, I'll talk to you guys next monday!

Tuesday, September 9, 2008

And now for something completely different!

Hmm, I guess I forgot another update last week... whattaya know?

In any event, I decided to do a new project. SDL-Rogue was becoming somewhat boring and I had been busy with this other idea for a game for the last few weeks. The original idea is by my uncle and the plan was to create this thing together. He's a very busy guy however, so I took it upon myself to get some things up and running already, in the hope of motivating him as well.

Don't worry about SDL-Rogue, it won't get a lower priority then it has had for the past few months ;) - I definately want to get a first release out and I will. The timeframe has just shifted a little.

I'll be posting about this new topic under the name of "Project: SPACE". The people that know me personally probably know what I'm talking about, but for you that don't... it's kind of a secret. I'll let you know more as time progresses.

So I've got some preliminary's set up, the basic data structure figured out and the idea is to create a program that can setup, and look at, the game world. The next step after that will be to output it to XML so our actual game can handle it... whenever that gets made!

See you next week!