Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 28,849 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
screen background question?? #340758
09/07/10 14:35
09/07/10 14:35
Joined: Jun 2010
Posts: 30
rangpur,bangladesh
J
Jahid Offline OP
Newbie
Jahid  Offline OP
Newbie
J

Joined: Jun 2010
Posts: 30
rangpur,bangladesh

in lite-c Workshop 01: Getting to know the engine

function main( )
{
level_load("small.hmp");
ent_create("earth.mdl", vector(10, 20, 30), NULL);
}


it's background always remain blue.

i am trying to change that colour.
i have used this statments:

screen_color.green =150;
screen_color.red =150;
screen_color.blue =150;

also


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

nothing happend.


how to change it??


i have read vec_set() and screen_color from manual.
and
have also seen

typedef struct COLOR
{
var blue,green,red;
} COLOR;

in atypes.h.




why

screen_color.green =100;
and
vec_set(screen_color,vector(200,100,0));

did not work???


keep moving forward
Re: screen background question?? [Re: Jahid] #340759
09/07/10 14:38
09/07/10 14:38
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Put simply, "screen_color" is for when you have NOT loaded a level.
If you HAVE loaded a level (as your are), then use "sky_color" instead...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial

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