From c6819b88a79e3ebe7f5d7c69c292b7b29a2d818e Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 11 Jun 2006 23:22:19 +0000 Subject: Completed first version --- gametypes.bmx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gametypes.bmx') diff --git a/gametypes.bmx b/gametypes.bmx index 1e5fb54..aaab0d7 100644 --- a/gametypes.bmx +++ b/gametypes.bmx @@ -159,6 +159,10 @@ Type GameState GFX.font.DrawRight("HISCORE",799,0) GFX.font.DrawRight(Number.Format(GameConfig.hiscore),799,16,255,255,0) + + If KeyHit(KEY_F12) + SavePixmapPNG(GrabPixmap(0,0,GraphicsWidth(),GraphicsHeight()),"snapshot.png") + EndIf End Function End Type -- cgit v1.2.3