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.
I have 1280x880 image and 640x440 field for scene images.
Image must start downsized, and afterwards zoomed to full size, but image must be left in 640x440 box, and cannot move outside.
I used this code, and many other combinations, but image flowed outside picture box:
The key is to think about it the other way. Zoom should always be set to 1.0 (or not set at all), and size should be set to (640, 440). You can then adjust the crop so that it only show the portion of the image you want to show - setting the size will scale the crop up.
Supporting creators since 2004 (When was the last time you backed up your game?)