Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / camera dimintions

Author
Message
Southside Games
16
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 19th Jun 2012 04:20
Hello! I made a second camera to act for split screen play. they share the screen fine. but the image for each one is stretched. same thing as viewing an old full screen vhs on a widescreen tv. the left and right sides are stretched. ideas? I've looked at the commands in the camera tab, but none seem to be working.

Thanks much!
zeroSlave
17
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 19th Jun 2012 06:20
Try out SET CAMERA ASPECT. If they are horizontally split, It would probably be SET CAMERA ASPECT cameraNumber, (screen width() / 2) / screen height() and vertically split would be SET CAMERA ASPECT cameraNumber, screen width() / (screen height() / 2) Or something along those lines.

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
Southside Games
16
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 19th Jun 2012 06:39
Hey that worked! I could have sworn I tried that already... oh well. Thanks a bunch man! ^^

Login to post a reply

Server time is: 2026-07-10 22:28:08
Your offset time is: 2026-07-10 22:28:08