Skip to main content
GameDev.net gamedev.net
🔒 Locked

Directx 8 Screen Width / Height

Started by nanobyte Aug 1, 2001 at 3:57 PM 1 replies 450+ views
Original Post
nanobyte
nanobyte
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
nanobyte
nanobyte
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?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.