GetTileImage
From Spheriki
GetTileImage() returns an image object of a tile. You can then do whatever you like with it.
Usage
- tile_number Enter the number of the tile you want an image of here.
Examples
var SomeTile = GetTileImage(1); SomeTile.blit(10, 10); FlipScreen(); GetKey();
Puts the image of tile 1 (the second tile) in the variable SomeTile and draws it on an empty screen until a key was pressed.
See also
- SetTileImage()
- Image.blit()
- FlipScreen()
- GetKey()