Castle Revival - Day 3
Friday 04 August 2006 at 12:27 amI picked up to do some more work on this today, after not working on it for a while. I finished solving my problem with drawing the map (at the point I had left it, it would only redraw when I minimized and restored, not when I resized the window). I then simplified the drawing methods, so it's all done automatically.
I then moved onto trying to solve the problem of easily drawing multiple images. Basically, I needed an array of images, to draw whichever one was needed for the cell by the drawing method. I first tried writing my own method, but it didn't work quite right. Then I found the C# ImageList class, which works really nice for that purpose. :)
Have that all squared away, everything working now. Next time I work on it (maybe tomorrow, maybe not), make up a basic map, and start implementing other functionality.
And for a little laugh, here's the result of my first successful use of the ImageList (didnt know it defaulted to images of 16x16):
Archives
01 Apr - 30 Apr 2012
01 Dec - 31 Dec 2011
01 Sep - 30 Sep 2011
01 Dec - 31 Dec 2010
01 Oct - 31 Oct 2010
01 Oct - 31 Oct 2008
01 Aug - 31 Aug 2008
01 Jul - 31 Jul 2008
01 Mar - 31 Mar 2008
01 Nov - 30 Nov 2007
01 May - 31 May 2007
01 Jan - 31 Jan 2007
01 Dec - 31 Dec 2006
01 Sep - 30 Sep 2006
01 Aug - 31 Aug 2006
01 Jul - 31 Jul 2006
01 Jun - 30 Jun 2006
01 May - 31 May 2006
01 Apr - 30 Apr 2006
01 Mar - 31 Mar 2006
01 Feb - 28 Feb 2006
01 Nov - 30 Nov 2005