How do I give a scene a different background color

Modified: 2008/04/30 12:27 by VinayD - Categorized as: Game Creator, How To Guides
Edit

Give a scene a different background color

Basic Idea: Edit the XAML of the scene to add Background parameter.

Sample Game:http://www.popfly.com/users/team/HowDoI-ChangeBackgroundColor

Details:
  • Click on Scenes, then on the desired scene to get to the scene editing mode. Click on Draw and then Switch to XAML.

Scenes->Draw
Image

Set background color (Click the image to view full size)


  • Add Background parameter to the canvas. For example, the below XAML code gives blue background.:
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Width="650" Height="500" Background="Blue">
</Canvas>

Privacy. Terms of Use. Trademarks.
ScrewTurn Wiki version 2.0.22. Some of the icons created by FamFamFam.