Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by rki. 06/18/24 15:32
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (AndrewAMD, rki, Mino, Martin_HH, squik, Ayumi), 1,126 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 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