Jump to content
  • Advertisement

Archived

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

stevenmarky

Best method, multiple blitting or stretching..

This topic is 6202 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

Best method, multiple blitting or stretching.. I am using DirectX8 to make a 2D game using the ID3DX sprite interface. I have a cross section through a gradient picture (about 20 pixels high), and I want to use it as the backing to my menu buttons.....e.g. To draw a bar. My question is this: which would be the most effective method of displaying the "bar", doing multiple blits of the cross section till it gets to the required length, or stretching it to the required length? Is there a big difference in speed or quality between these methods?

Share this post


Link to post
Share on other sites
Advertisement
sorry, I probably di''nt explain myslef well enough:
this is what I want on the screen:

--------------------------------
--------------------------------
oooooooooooooooooooooooooooooooo
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
oooooooooooooooooooooooooooooooo
================================

This is what I have:
-
-
o
O
o
=


That is how I should of explained it in the first place .
Anyway, I''ve chosen to do multiple blits...........

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!