Original Post
I am creating a 2d game. I want to have some kind of dynamic background (dynamic in the sense that I am drawing each pixel on the background - not just loading an image). How is that done best using DirectX9? I thought of somehow plotting the pixels to a texture and then use LPD3DXSPRITE to draw it on the screen. Is this the best way to do it, and how exactly do you draw pixels in a texture? (and how do you even read a single pixel from a texture, if that is what you need?) Hope that you guys will take the time to help me :) Best regards, Cluq