sprites[i]->sprite->SetTransform(&matrix); sprites[i]->sprite->Draw(sprite->texture, NULL, NULL, NULL, color);
Show differencesHistory of post edits
#ActualStrewya
Posted 07 January 2013 - 06:30 AM
Since you didn't show it in the code (and i'm assuming you are using the ID3DXSprite interface), are you setting the matrix transform?
#2Strewya
Posted 07 January 2013 - 06:29 AM
Since you didn't show it in the code (and i'm assuming you are using the ID3DXSprite interface), are you setting the matrix transform?
sprites[i]->sprite->SetTransform(&matrix);sprites[i]->sprite->Draw(sprite->texture, NULL, NULL, NULL, color);
#1Strewya
Posted 07 January 2013 - 06:23 AM
Since you didn't show it in the code (and i'm assuming you are using the ID3DXSprite interface), are you setting the matrix transform?
sprites[i]->sprite->SetTransform(&matrix); sprites[i]->sprite->Draw(sprite->texture, NULL, NULL, NULL, color);