Jump to content
  • Advertisement

Archived

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

GilliganCoder

Drawing half of sprites

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

Hi. I am currently working on a game in DirectX. My sprites used to draw correctly but now they aren''t. They''re somehow compressing the entire sprite into half the height and drawing that instead with junk data in the bottom half of the sprites. So the size is correct, and I am using the right RECTs as far as I know for BitBlt(). So has anyone else had this problem? Thanks for any help offered.
[JESUS SAVES|Planet Half-Life]

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by GilliganCoder
My sprites used to draw correctly but now they aren''t.



What did you change?

Share this post


Link to post
Share on other sites
Good point. The problem is that I changed quite a bit of code and then realized that there was a problem. I''ll have to run WinDiff to see what''s changed with the source files. I was just wondering if anyone else has ever experienced this before. I remember having this problem about a year ago with another project. Thanks.


[JESUS SAVES|Planet Half-Life]

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!