Hi!
Why would anyone need to press that "Print Scr" button and then try searching for their picture inside the system folder? Because now you can take pictures of your game by pressing any key on your keyboard, and your picture shows up right inside the same folder as your executable!!!
Just drop this function inside your game loop and you can be cool too:
function takePicture(keyStr$,imageNum)
if inkey$() = keyStr$
get image imageNum, 0,0,screen width(),screen height()
do
inc fileNumVar
newStringVar$ = "Picture"+str$(fileNumVar)+".jpg"
if file exist(newStringVar$) = 0
save image newStringVar$,imageNum
exit
endif
loop
delete image imageNum
endif
endfunction
Press a button and take a picture! It's that easy!
See you next time with another amazing function.
www.fishbrosentertainment.com