Jump to content

Setting Stage Colour


spencerTL
 Share

Recommended Posts

Just something that caught me on a recent project that may help somebody else:

this.game.stage.backgroundColor = '#fff';

Isn't picked up on iPad2 and renders bg to default.

To solve set it to 0xffffff;

This seemed to change on my upgrade to 2.04 as it didn't cause a problem in previous projects using 2.0x. Although in those projects I used a no physics build so that might be something to do with it. Anyway easy to solve once you know.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...