Archived

This topic is now archived and is closed to further replies.

pizza box

Loading Bitmaps

Recommended Posts

pizza box    168
When using DirectX, what is a good way to load bitmaps? In TOTWGPG, LaMothe suggests writing your own loader but also gives a few of the Win32 API functions. Which one do you think is best to use? I''m willing to sacrifice a little speed for simplicity at the moment to get into working with Bitmaps. Thanks

Share this post


Link to post
Share on other sites
flame_warrior    122
Hi,

Well I don''t see how speed matters while loading bitmaps as you would load it into memory before the game starts or before the level starts.

I would think using a resource is easier. Use the LoadImage function.

Share this post


Link to post
Share on other sites