Archived

This topic is now archived and is closed to further replies.

Sprite Animation in D3D8?

This topic is 6117 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Okay, i''m sure someone else has asked this, but i can''t find the post. So.... I''ve created 2-D sprites using Direct3D in DirectX 8, and I want to animate the textures on these sprites (for example creating an explosion). What is the best way to do this? Any help is greatly appreciated.

Share this post


Link to post
Share on other sites
i think the easiest way is changing the texture VB, u store the vertices info every animation frame, b4 draw the sprite, change the texture VB using those vertices info.

i think u should read the DX8 SDK''s Donuts3D demo source code.

Share this post


Link to post
Share on other sites