summaryrefslogtreecommitdiff
path: root/gametypes.bmx
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-06-11 23:22:19 +0000
committerIan C <ianc@noddybox.co.uk>2006-06-11 23:22:19 +0000
commitc6819b88a79e3ebe7f5d7c69c292b7b29a2d818e (patch)
tree2372261cd65877a7531c41771852c89720417d1f /gametypes.bmx
parente9c53b3a4f3fd89176a34e8bd4aa527b51ca89ff (diff)
Completed first version
Diffstat (limited to 'gametypes.bmx')
-rw-r--r--gametypes.bmx4
1 files changed, 4 insertions, 0 deletions
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