Original Post
Hello,
I''m working on a ''tank'' style game using D3D. I want to load a pre-drawn map (2D) and then have the player character walk along the terrain (for now just a green line). I wanted to do this by checking the pixel colour on the 2D map at the co-ordinates the player is located at (bottom, center pixel of the player sprite).
Now I was wondering if I can actually do this by getting a DC from the map surface or texture, and then running a GetPixel()?
I appreciate any light you could shed on this topic.