Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
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,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
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 | chip programmers | 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