Gamestudio Links
Zorro Links
Newest Posts
FXCM demo test failed
by qin. 01/13/26 13:53
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (qin), 7,490 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problem with video_aspect in CS ! #289393
09/12/09 16:24
09/12/09 16:24
Joined: Apr 2009
Posts: 39
T
TrQuocAn Offline OP
Newbie
TrQuocAn  Offline OP
Newbie
T

Joined: Apr 2009
Posts: 39
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 !

Re: Problem with video_aspect in CS ! [Re: TrQuocAn] #289398
09/12/09 16:50
09/12/09 16:50
Joined: Sep 2003
Posts: 931
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 931
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.

Re: Problem with video_aspect in CS ! [Re: Spirit] #289400
09/12/09 16:59
09/12/09 16:59
Joined: Apr 2009
Posts: 39
T
TrQuocAn Offline OP
Newbie
TrQuocAn  Offline OP
Newbie
T

Joined: Apr 2009
Posts: 39
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

Last edited by TrQuocAn; 09/12/09 17:00.
Re: Problem with video_aspect in CS ! [Re: TrQuocAn] #289401
09/12/09 17:00
09/12/09 17:00
Joined: Aug 2003
Posts: 7,440
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,440
Red Dwarf
camera.aspect = 1.25; //or something else.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Problem with video_aspect in CS ! [Re: Michael_Schwarz] #289406
09/12/09 17:18
09/12/09 17:18
Joined: Apr 2009
Posts: 39
T
TrQuocAn Offline OP
Newbie
TrQuocAn  Offline OP
Newbie
T

Joined: Apr 2009
Posts: 39
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


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1