Looks like my plan to post daily about my development progress has been dissolved already, doh. Last night the power went out here for most of the night. Then when it finally returned, my Radeon 9600 PRO died. Yes, died. Arg. That meant no journal entry last night. Forgive me. [smile]
So now I put in my GeForce 6600 GT OC card, which is actually 'better' than the previous, but is quasi-defective. It likes to sometimes (~40%) freeze/hang if I run a Direct3D or OpenGL app. Today it's been pretty good, so I've been able to get a fair bit done on my project, which happens to be using OpenGL. I've sent an email to their tech support (BFG Tech) to inquire about this issue, so hopefully it won't crap out on me anytime soon. The last thing I need right before university is my computer to break, hehe.
One of the things I've always really wanted for my game projects is a (semi-)comprehensive logging system, to help catch bugs, to look spiffy, and to help me identify the logical flow of processes in the game. Writing logger classes seem to be all the craze these days (plug Samsonite), and I suppose I'm no exception.
Currently the logger can write any combination of 3 locations: to disk (via an HTML file), to memory (via a stringstream for future in-game representation), or just simple output to the console window. Here's what the first two look like:
I personally really like idea of using HTML for the log file's format -- which I think I stole from Programmer16 [grin] -- since it allows one to make certain parts easily identifiable, like DEBUG data from ERROR data, and the ilk. Hopefully sometime soon I'll get the date/time prepending these log messages so I can determine when these glorious events have occurred.
Sprites 'n Tiles
The last few days have been focused around getting the foundations of the game done. Visually speaking, those key components are the map system (tile-based) and the sprite system. Although relatively simple in concept, these took a while to implement, since: a) I'm not a masterful C++'er, so I'm a little slow, and b) I wanted to focus on a flexible design that would NOT involve me needing to refactor/revamp either system in the future. Revamping is just plain not fun. Ask anyone (sane).
Draffurd sent me a few tiles to be used in this initial cave-esque map theme, so I plopped them in, as well as his template character which vaguely resembles Mr. Rogers. Coincidence? I think not.
(Each sprite is of a random frame from the 8x4 frame spritesheet he is composed of (=32 frames!))
It's a shame these guys have to be seen in such a tableau manner, but the animation is wonderful. Draffurd put a lot of hard work into making this red-sweater-wearing menace look/feel very smooth. I particularly like the way he has a Zelda-like resemblence, but at the same time has a unique feel. Very pleased with the turn-out.
Thanks for reading, everyone. Naturally initial tests aren't that visually stimulating, but like my previous projects, it'll get much nicer once more graphical goodies start to make their way in. [smile]