A guide and code for Reset() and D3DXSprite
I want to change a bit of my sprites every time thay are shown. Do anyone has some ideas how to make this work? Or after loading the sprite from a file, it cannot be changed ?
[qoute]
I want to change a bit of my sprites every time thay are shown. Do anyone has some ideas how to make this work? Or after loading the sprite from a file, it cannot be changed ?
You would have to have a seperate surface in system memory with the bit you need to change, then do a CopyRect to the dest texture in Video Memory.
I want to change a bit of my sprites every time thay are shown. Do anyone has some ideas how to make this work? Or after loading the sprite from a file, it cannot be changed ?
You would have to have a seperate surface in system memory with the bit you need to change, then do a CopyRect to the dest texture in Video Memory.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement