How do I use uploaded files in my game?

Modified: 2008/05/08 16:20 by SuzanneH - Categorized as: Game Creator
You can upload images, music, and other sound files for use in your game. These files can be uploaded from your computer or from a web page.

To access the file uploader, go to the Game area of the Popfly Game Creator.

Image

File uploader in the Popfly Game Creator


To use these images in your game, you will need to access them through: $base$/filename

For an example, the Canada Quiz game uses some uploaded photos in two of the questions. To do this, the scene's appearance was edited (Click onthe Draw button), and the following XAML code was added in the XAML view:

<Image Source="$base$/toque.jpg" Canvas.Left="191" Canvas.Top="324" Width="200" Height="150"/>

For more information on using uploaded sound files in your game, please see the How do I add my own sound effects and music? page.

For more information on editing the XAML for an actor, please see the How do I change appearance of an existing actor? page.

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