I have the game taking screenshots, but is there any way to edit this so it only takes a screenshots of a specific area on the screen and not the entire screen.
It's right there in the first action on your screenshot - "offset 0,0 size 0,0"
You need to specify the correct size and offset if you want to take a snapshot of a portion of the screen. Be aware that these values are in device pixels. You'll need to use CanvasDeviceWidth and CanvasDeviceHeight expressions of Platform Info object to convert to device pixels.
| Global number r = 0
+ (no conditions)
-> System: Set r to PlatformInfo.CanvasDeviceWidth÷ViewportWidth(0)
-> System: Take snapshot of canvas (PNG, quality 75, offset 100×r, 100×r size 500×r x 300×r)
Develop games in your browser. Powerful, performant & highly capable.
Thank you for the reply, sorry for the delay - Covid.
I can't set r to PlatformInfo.CanvasDeviceWidth÷ViewportWidth(0)
Is PlatformInfo supposed to be something else my head is just to Covid clogged to realize it?
you have to add PlatformInfo to your project with Insert New Object
I got it. Covid Brain needs a bit longer lol
Thank you everyone!