Archived

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

Merlyn614

Sprite Animation in D3D8?

Recommended Posts

Merlyn614    122
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
nlo    130
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