Screenshot cropping?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
LabaroDD
Regular
Posts: 34
Joined: Thu Apr 14, 2016 7:47 am
Contact:

Screenshot cropping?

#1 Post by LabaroDD »

Hello everyone!
Is there the way to crop screenshot for the save file as I showed on attachment? I tried to use this, but it doesn't work properly, so maybe I just get it wrong.
Attachments
2017-12-10 (2).jpg

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Screenshot cropping?

#2 Post by PyTom »

That should be how you do it. What does your script look like, where it's going wrong?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

LabaroDD
Regular
Posts: 34
Joined: Thu Apr 14, 2016 7:47 am
Contact:

Re: Screenshot cropping?

#3 Post by LabaroDD »

I just put it in "options.rpy" and it looks like this:

Code: Select all

define config.screenshot_crop = (106, 128, 688, 123)
And that's all. It still doesn't work.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Screenshot cropping?

#4 Post by PyTom »

Ah, the screenshot_crop operation only applies to screenshots taken with the s key, not the thumbnails.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Bing [Bot]