Directx 8 Screen Width / Height
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
G''day!
Since you set the width & height when you set everything up, why don''t you just store those values?
Stay Casual,
Ken
Drunken Hyena
Since you set the width & height when you set everything up, why don''t you just store those values?
Stay Casual,
Ken
Drunken Hyena
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement