home *** CD-ROM | disk | FTP | other *** search
/ Game Programming for Teens / GameProgrammingForTeens.iso / Source / chapter07 / demo07-12.bb < prev    next >
Encoding:
Text File  |  2003-04-06  |  244 b   |  12 lines

  1. ;demo 07-12.bb - Demonstrates Tiling
  2. Graphics 800,600
  3.  
  4. ;IMAGES
  5. ;Load the image you wish tiled
  6. backgroundimage = LoadImage("stars.bmp")
  7.  
  8. ;Tile the image
  9. TileBlock backgroundimage
  10.  
  11. ;Wait for player to press a key before exiting
  12. WaitKey