Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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, dr_panther), 730 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lorikob361, LucasJoshua, Baklazhan, Hanky27, firatv
19054 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