Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
video_mode #162190
10/19/07 16:43
10/19/07 16:43
Joined: Apr 2006
Posts: 28
S
sky Offline OP
Newbie
sky  Offline OP
Newbie
S

Joined: Apr 2006
Posts: 28
When I put video_mode = 7 in my script I get ab error message video_mode read only. Anyone know why?

Re: video_mode [Re: sky] #162191
10/19/07 19:56
10/19/07 19:56
Joined: Oct 2004
Posts: 262
Augsburg,Bayern
A
ARAS Offline
Member
ARAS  Offline
Member
A

Joined: Oct 2004
Posts: 262
Augsburg,Bayern
Hi sky,

in c-script or in wdl-file you must write the line over the main-function. Like this.
Code:
 
var video_mode = 7;

function main()
{
..........
..........
and so on.



In c-lite the "video_mode" line is in the main-function.
Code:
 
function main()
{
video_screen = 2;
video_mode = 7;
level_load ("Test_1.wmb");
wait(2);
}



Re: video_mode [Re: ARAS] #162192
10/19/07 21:11
10/19/07 21:11
Joined: Apr 2006
Posts: 28
S
sky Offline OP
Newbie
sky  Offline OP
Newbie
S

Joined: Apr 2006
Posts: 28
Thanks. I am using lite c. Strangely the same code works fine in lesson 11 of lite c tutorials. I am using this listing as the basis for experimentation. I entered the code just as you have above.

Re: video_mode [Re: sky] #162193
10/21/07 08:09
10/21/07 08:09
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
i see have it already but u can use to

var video_mode = 7;


"empty"

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