Page 1 of 1

Need help with changing background color.

PostPosted: Fri Nov 16, 2007 7:50 pm
by Freddy
How do you make the background color change during gameplay? For example: I want to have a sun that rises and sets, and I want the background color to change when the sun reaches certain points. How would I do this? :)

Re: Need help with changing background color.

PostPosted: Fri Nov 16, 2007 9:01 pm
by pixelpoop
I don't know if you can change the background color, but you could put in an image of a blank white box, parent that to the view actor and change it's color with...

blank_box_actor_name.r=0;
blank_box_actor_name.g=180;
blank_box_actor_name.b=255;

Re: Need help with changing background color.

PostPosted: Sat Nov 17, 2007 10:25 am
by Spidy
well maybe its depend on the background pic

Re: Need help with changing background color.

PostPosted: Sat Nov 17, 2007 11:12 am
by Kalladdolf
just look at how asmodeus did it in his caveman game :)

Re: Need help with changing background color.

PostPosted: Sat Nov 17, 2007 1:19 pm
by j2graves
what kind of animation do you use?

Re: Need help with changing background color.

PostPosted: Sat Nov 17, 2007 1:28 pm
by Kalladdolf
blank.png
blank.png (147 Bytes) Viewed 1581 times

a blank file

Re: Need help with changing background color.

PostPosted: Sat Nov 17, 2007 1:57 pm
by j2graves
i meant to freddy.

very interesting picture kalladdolf. :roll:

Re: Need help with changing background color.

PostPosted: Sat Nov 17, 2007 2:21 pm
by Kalladdolf
oh, sorry!
I really assumed u were that stupid...
how could I!!!!
:cry: :cry: :cry: :cry: :cry: :cry:

PS: :P

Re: Need help with changing background color.

PostPosted: Sat Nov 17, 2007 2:57 pm
by j2graves
I'm actually brilliant. :roll: :roll: :roll:

Re: Need help with changing background color.

PostPosted: Sat Nov 17, 2007 3:00 pm
by Kalladdolf
*overthrowing himself*

Re: Need help with changing background color.

PostPosted: Sat Nov 17, 2007 3:00 pm
by j2graves
whatever.