Welcome!

Hey, I'm Skylar, a kid aspiring to become a competent programmer. This blog is here to detail my dabbles in development.

My dream is to one day become a professional programmer and do some game development in my spare time.

Thanks for visiting my blog, and I hope you'll come back!

Pages

2 Updates in One Day???

Yeah that's right!


Well I fixed the image loading stuff.

So the problem was that I was getting an Access Violation error... That's what kind of happens when you forget to initialize an object! I overlooked it so easily, because it was late at night when it happened, and I thought I just declared the object, didn't think I declared a pointer to the object.

Anyways, after I fixed that, the program would execute, but the image wouldn't show up. 5 minutes of a quick debug set up later and I find that the Video Mode wasn't set, which didn't make sense to me at that exact moment, considering the video was made. Then I found I accidentally commented out my initializing method.

After uncommenting that, it ran fine.

So next things to do, which I hope to finish tonight:

*Add Direct Pixel Manipulation of Surfaces
*Add Method(s) to select an icon for the window

Tomorrow is going to be a clean up day for my code. I'm going to throw everything into a namespace, and then go through and fix up some places in my code. There's places where things seem done, but they aren't really done.

Basically it's just things where I might have:

bool OnInit(), and then when I call it, I don't do anything if it returns false.

I'll also be going through and commenting a lot of the code.

So Monday, I will start working on the Audio Manager, and hopefully get that done within 2-3 days. Then I'll spend some time 'studying' SDL_TTF and perhaps making my own bitmap font engine.

Then I'll throw together a DebugManager, which will utilize the 'font manager' (not really sure about how I'm going to handle it yet....). Then it will be all done.

After that, the only changes I'll be making are optimizations. When it's done, I'm jumping right back into developing games. Starting with the Game of Life and Entropy, then I'm thinking about making a Tetris game, and a Breakout game, although, I think I might skip Tetris and go straight to Breakout. After that, I'm thinking of making a platformer =p.

Well that's all for now... I should (hopefully) have an update tomorrow. But if I do, I'll make sure it's after I do some cleanup.

So expect a video some time in the coming week showing off the current functionality of the framework.

0 Response to "2 Updates in One Day???"

Post a Comment