Jump to content
  • Advertisement

Archived

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

Merlyn614

Sprite Animation in D3D8?

This topic is 6474 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!