Loading Bitmaps

Started by
1 comment, last by pizza box 22 years, 4 months ago
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
Advertisement
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.
Hello from my world
Check this thread. This person asked a similar question and I think you''ll find the answer there.

---
Make it work.
Make it right.
Make it fast.
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][LWJGL Tutorials for NeHe][LWJGL Wiki][jMonkey Engine]

This topic is closed to new replies.

Advertisement