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.
-
bDunks
- Newbie
- Posts: 21
- Joined: Tue Jan 08, 2019 3:07 pm
-
Contact:
#1
Post
by bDunks » Sat Nov 07, 2020 2:59 pm
Hi all.
I am using ver. 7.3.5 and am curious if there has been a change that allows one to scale image/s to fit to screen, without modifying the image outside of Renpy, or using size, zoom, etc.
i.e. some code that just says "fit to screen," ha ha.
Size is fine when using landscape images, but kind of a pain for portrait, as far as my knowledge.
I appreciate your time.
Thank you.

-
rayminator
- Miko-Class Veteran
- Posts: 754
- Joined: Fri Feb 09, 2018 12:05 am
- Location: Canada
-
Contact:
#2
Post
by rayminator » Sat Nov 07, 2020 4:42 pm
this is how to scale images in renpy by using im.Scale()
Code: Select all
imagebutton idle im.Scale("image/s.png", 350, 550)
or
add im.Scale("image/s.png", 350, 550)
Users browsing this forum: No registered users