Hello, i am trying to make screenshots function online but i have no idea how i do that. I want to be able to download the screenshot online but whenever i try to use the feature it doesnt work, may i get some help?
I have the same issue. I’m pretty sure the screenshot function only works on Windows/Mac/Linux games.
Does anyone have a solution for taking a screenshot in a web game and then downloading it?
Very simple, press “print screen” on your keyboard, this will put the screen grab on your clipboard, and then paste it into a webpage.
First install https://github.com/GDevelopApp/GDevelop-extensions/files/13824967/UploadDownloadImageFile.json.zip and Sprite Snapshot - GDevelop documentation
This will work on Browser, mobile, desktop and more.
This will render the screen into a object and save the object as a png.
Then copy this events
@StudioBabyface Ask if you got any Error or questions.
@Void-Stem Thanks, that looks very promising! I’ll give that a try later this week.
@RichTheGameDeveloper thanks for your tip I want a solution that’s built into the game though, so that I can hide parts of the UI in screenshots, and all players of the game get screenshots in the same sort of format. So using printscreen is only a backup plan for me.