loadpixmap.bmx 265 B

1234567891011121314
  1. SuperStrict
  2. Graphics 640,480
  3. Local player:TPixmap=LoadPixmap(blitzmaxpath()+"\samples\hitoro\gfx\boing.png")
  4. If player = Null Then
  5. RuntimeError ("Error Loading Image")
  6. End If
  7. Repeat
  8. Cls
  9. DrawPixmap Player,10,10
  10. Flip
  11. Until KeyHit(key_escape) Or AppTerminate()