Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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 | 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