Problem with video_aspect in CS !

Posted By: TrQuocAn

Problem with video_aspect in CS ! - 09/12/09 16:24

Hi everyone !
_ I design the game that the Player can change the video_aspect ,
but the video_aspect is readonly vaiable !

I have the idea is publish many EXE file but the code is store in the wrs file ... so I have to publish many version for difference screen !... I so Big MB... frown

so any one has the good idea to change some variable like video_aspect ...
Please Share ! Thanks !
Posted By: Spirit

Re: Problem with video_aspect in CS ! - 09/12/09 16:50

AFAIK all video variables can be changed in lite-C only, but not in C-Script.

But you can normally redefine it, by typing var video_aspect = something; outside your main function. Most video vars can be redefined in C-Script.
Posted By: TrQuocAn

Re: Problem with video_aspect in CS ! - 09/12/09 16:59

Yes ! I know it but how change it frown

I mean :
I will Show the Player the Form with 2 choice :
[x] : 4:3 Screen
[ ] : 16:9 Screen

And Player choice one in them ! then the Game Start with the Aspect that player chosen before !

How to do it grin
Posted By: Michael_Schwarz

Re: Problem with video_aspect in CS ! - 09/12/09 17:00

camera.aspect = 1.25; //or something else.
Posted By: TrQuocAn

Re: Problem with video_aspect in CS ! - 09/12/09 17:18

Thanks all !
with another question I Found a very good way to do it :

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=255495&page=1
© 2024 lite-C Forums