Need help with changing background color.

Non-platform specific questions.

Need help with changing background color.

Postby Freddy » Fri Nov 16, 2007 7:50 pm

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? :)
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: Need help with changing background color.

Postby pixelpoop » Fri Nov 16, 2007 9:01 pm

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;
User avatar
pixelpoop
 
Posts: 276
Joined: Tue Aug 29, 2006 9:32 pm
Score: 28 Give a positive score

Re: Need help with changing background color.

Postby Spidy » Sat Nov 17, 2007 10:25 am

well maybe its depend on the background pic
Image
VOTE FOR MY SIGNATURE PLEASE.......THANK YOU
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Re: Need help with changing background color.

Postby Kalladdolf » Sat Nov 17, 2007 11:12 am

just look at how asmodeus did it in his caveman game :)
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Need help with changing background color.

Postby j2graves » Sat Nov 17, 2007 1:19 pm

what kind of animation do you use?
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: Need help with changing background color.

Postby Kalladdolf » Sat Nov 17, 2007 1:28 pm

blank.png
blank.png (147 Bytes) Viewed 1579 times

a blank file
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Need help with changing background color.

Postby j2graves » Sat Nov 17, 2007 1:57 pm

i meant to freddy.

very interesting picture kalladdolf. :roll:
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: Need help with changing background color.

Postby Kalladdolf » Sat Nov 17, 2007 2:21 pm

oh, sorry!
I really assumed u were that stupid...
how could I!!!!
:cry: :cry: :cry: :cry: :cry: :cry:

PS: :P
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Need help with changing background color.

Postby j2graves » Sat Nov 17, 2007 2:57 pm

I'm actually brilliant. :roll: :roll: :roll:
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: Need help with changing background color.

Postby Kalladdolf » Sat Nov 17, 2007 3:00 pm

*overthrowing himself*
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Need help with changing background color.

Postby j2graves » Sat Nov 17, 2007 3:00 pm

whatever.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron