|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: MFC (updated question)
On Thu, 16 Mar 2000 kinabalu@btinternet.com wrote: > I rephrase my original question. > > Are there any good books/web info on creating apps/games with > MFC and directX? > > I've got a bit of MFC experience and a couple of mates are very > keen on East Front/West Front type wargames (hexagon based) > so I wanted to get a quick intro into MFC and directX. I bought > Lamoth's Tricks... but it frustrates me in that firstly it uses his own > library to wrap up most of directx and secondly it (understandably) > doesn't refer at all to MFC. > > If I can just get a damned bitmap to show using a dierctx/MFC > combo then that would be a grand start. Speed is not an issue > here as tile based wargames don't require fast refresh rates etc etc. In this case you may wish to use CreateDIBSection, or even just a set of CBitmaps that you blit. These use hardware acceleration and are generally fairly fast (certainly fast enough for the type of game your mentioning). CreateDIBSection will allow you to create canvases you can draw on. This method has a number of huge advanteges; it is simple, it is built in to Win9x/NT, no messy direct X to install. -- Marc Hernandez ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCRIBE please visit: http://gameprogrammer.com/mailinglist.html
|
|