Resizing Backgrounds [Answered]

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
User avatar
GinOkami
Newbie
Posts: 4
Joined: Sat Nov 24, 2012 2:41 pm
Contact:

Resizing Backgrounds [Answered]

#1 Post by GinOkami »

Hello there. I'm very new to Ren'Py and have a quick question.

I have different sized backgrounds I'd like to use for a game. I can get them to appear as backgrounds, but as some are larger than others, they appear too large in the game.

How do I re-size backgrounds to be a certain size in game?

Thanks!
Last edited by GinOkami on Wed Dec 12, 2012 11:39 pm, edited 1 time in total.

User avatar
specialtantei
Veteran
Posts: 269
Joined: Sun Sep 30, 2012 4:13 pm
Contact:

Re: Resizing Backgrounds

#2 Post by specialtantei »

Why don't you just resize them to the screen size with Photoshop or just Fotoflexer (this one is free and online) ?

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Resizing Backgrounds

#3 Post by SundownKid »

You should open them up in GIMP and resize them manually.

Or, you could add the zoom command to the image definition:

Code: Select all

image background:
      zoom 0.5
      "image.png"

User avatar
saguaro
Miko-Class Veteran
Posts: 560
Joined: Sun Feb 12, 2012 9:17 am
Completed: Locked-In, Sunrise, The Censor
Organization: Lucky Special Games
itch: saguarofoo
Location: USA
Contact:

Re: Resizing Backgrounds

#4 Post by saguaro »


User avatar
GinOkami
Newbie
Posts: 4
Joined: Sat Nov 24, 2012 2:41 pm
Contact:

Re: Resizing Backgrounds

#5 Post by GinOkami »

specialtantei, That would make the most sense and likely be the easiest solution. However, I'm trying to get the feel for how Ren'Py works and learn new coding skills.

Sundown Kid and saguaro, that's along the lines of what I was thinking, but couldn't quite get it right. Thank you for the link!

Thanks everyone for the advice :)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], trailsiderice