Page 1 of 1

Changing the background colour in game

PostPosted: Sat Feb 12, 2011 6:24 pm
by BloodRedDragon
Is there a function that allows you to change the game's primary background color (without using any image files?)

Re: Changing the background colour in game

PostPosted: Sat Feb 12, 2011 6:48 pm
by Game A Gogo
unfortunetly no. But you can use a canvas and the "erase(r,g,b,alpha);" function
also remember you can always change the r, g and b values on an image

Re: Changing the background colour in game

PostPosted: Sat Feb 12, 2011 8:41 pm
by BloodRedDragon
Ah that's great... its just using an image as a background could make the game slower.... :(
Thanks vmuch anyways :P

Re: Changing the background colour in game

PostPosted: Sat Feb 12, 2011 8:48 pm
by Game A Gogo
disable the collision state on actors not needing collision check