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
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 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
Screen color problems.. #324452
05/20/10 21:46
05/20/10 21:46
Joined: May 2010
Posts: 22
M
Matt_UK Offline OP
Newbie
Matt_UK  Offline OP
Newbie
M

Joined: May 2010
Posts: 22
Hi guys!
I'm trying to set the screen color in my game like so:

vec_set(screen_color, vector(0, 0, 0));

I place this code after I've loaded my wmb file, yet the screen still stays blue...

Any ideas why this is happening?

Regards,
Matt.

Re: Screen color problems.. [Re: Matt_UK] #324454
05/20/10 21:55
05/20/10 21:55
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
vec_set(screen_color.blue,vector(1,1,1));


Always learn from history, to be sure you make the same mistakes again...
Re: Screen color problems.. [Re: Uhrwerk] #324457
05/20/10 22:08
05/20/10 22:08
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
If you've already loaded a level (eg 'level_load'), then you need to use 'sky_color' instead...

vec_set(sky_color,vector(0,255,0)); // set sky to green.


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