winphone_tile_front_image

Add an image to the games Flip Live Tile "front".

Syntax:

winphone_tile_front_image(img);


Argument Description
type The local path to the image to display.


Returns: N/A


Description

This function will take an image and show it on the "front" of the Flip Live Tile. This image must be an included file and not a sprite or a background, and if it is too small or too big for the tile it will be stretched or cropped to fit.


Example:

var tile;
tile = choose("tile1.png", "tile2.png", "tile3.png");
winphone_tile_front_image(tile);

The above code will set the "front" Live Tile to be any one of three included files.


Back: Windows 8 Phone
Next: winphone_tile_front_image_small
© Copyright YoYo Games Ltd. 2018 All Rights Reserved