Archived

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

nanobyte

Directx 8 Screen Width / Height

Recommended Posts

Is there any way to get the width and height in directx 8? Im getting tired of guessing if statements to see if something has hit the edge of the screen. For example: if(ball_x > 20) bla bla I have to keep changing the number to get it right. Is there any way to extract this information? Thanks, Chris Lynch

Share this post


Link to post
Share on other sites
I don''t remember setting up the width and height. I set up the window size to 800x600, but that is in pixel format. What about in 3d coordinates?

Share this post


Link to post
Share on other sites