File access: can we access screenshots on playdate?

Is it possible to access screenshots from our game?

From the docs:
" About the Playdate filesystem

Behind the scenes, there are two directories your game has access to: the root of your app bundle (read-only), and a Data directory unique to your game (readable and writeable) where you can store your game’s saved state or other data."

That's a no right?

Thanks

Afaik, it's a no.

That said, you can always roll your own screenshot capture with playdate.graphics.getDisplayImage() or getWorkingImage() and save the bitmap to your game's Data folder.

1 Like

That's correct, currently screenshots are only accessible by putting the device in disk mode and opening the /Screenshots folder. Way back when we had a screenshot gallery program in the system folder but it got axed before we shipped, for some reason I forget.

On the Playdate development roadmap is a permissions scheme that allows games to ask for access to more of the system, and this seems like a good use for that. I've got it filed in the issue tracker, hope we can make it happen some day!

4 Likes