Widescreens

Blitz3D Forums/Blitz3D Programming/Widescreens

Hey people, Well, I'm Making a 3D game, and the user may change the screen resolution... but, for instance, I have a Wide screen. If this resolution is selected, the objects, in Y, will stay out of place... it becomes completly different....it seems that the height gets bigger.
This doesn't happen with other resolutions like (1024x768 or 800x600)

What can I do?

Bast wishes

It's a different aspect ratio...

How do I overcome this???

You mean in a window ? I never noticed that before, but indeed, in mode 3 the output screen is scaled/stretched like that..

Maybe you could use Graphics mode 2 instead of 3 ?
Graphics3D 640,320,0,2

Or use the Graphics command 2 times after each other:
Graphics3D 640,320,0,2 ;set window size
Graphics3D 640,320,0,3 ;set output resolution

Never thought of that.....

http://blitzbasic.com/Community/posts.php?topic=70063

Search is your friend

A friend indeed eheh.... sorry