Castle Revival - Day 2

Thursday 20 July 2006 at 11:59 pm.

Not that much improvement today... I figured out a couple methods to use later on, but I was primarily dealing with the problem of the image disappearing every time I'd minimize the window, and not updating if I resized the window.

So after several hours of reseraching, I found the solution to the problem, and got it all implemented so it would function properly (it was for a while recreating the backbuffer image each time that call was made, which still made it not doing what I wanted it to). a "Load" event for the form, and a Paint event for the drawing area, and then all was good.

Tomorrow I'll move the methods into separate functions (one for redrawing the window and resizing the scrollbars each time it's resized, another for drawing whtever the current map is into the bitmap, so on and so forth), then move on from there.

No comments



Information:

Title: Castle Revival - Day 2
Date posted: 20 07 06 - 23:59
Next entry:   » Castle Revival - Day …
Previous entry: « Castle Revival