Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email pytom@bishoujo.us.
It is currently Thu Jul 24, 2014 1:02 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Jan 28, 2011 1:39 am 
Veteran
User avatar

Joined: Fri Mar 13, 2009 5:26 pm
Posts: 334
Location: Canada
Completed: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Projects: Princess of Ruin (Fantasy otome VN)
Organization: Unbroken Hours
Let's say I have an image that is really large.

Is there a way to resize an image under here...

Code:
init:
    image bigperson = "bigperson.png"


and here

Code:
    image magicsparkle = Animation("magicsparkles_1.gif", 0.10,
                                "magicsparkles_2.gif", 0.10)


...instead of me typing it manually each time like this?

Code:
show bigperson with dissolve:
    xzoom 0.5 yzoom 0.5


It's so I don't have to save many images with different sizes and it's to save typing.

_________________
Image
Current Project

Follow Me on Twitter/ Facebook /Tumblr
Available for Download: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Current Goal: Trying to do animations, action scenes, and other cool effects in Ren'Py


Top
 Profile Send private message  
 
PostPosted: Fri Jan 28, 2011 1:56 am 
Miko-Class Veteran
User avatar

Joined: Thu May 14, 2009 8:15 pm
Posts: 633
Projects: Castle of Arhannia
Code:
init:
    image bigperson:
        "bigperson.png"
        zoom .5


having glanced at the atl documentation, something like this?


Top
 Profile Send private message  
 
PostPosted: Fri Jan 28, 2011 3:36 am 
Veteran
User avatar

Joined: Fri Mar 13, 2009 5:26 pm
Posts: 334
Location: Canada
Completed: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Projects: Princess of Ruin (Fantasy otome VN)
Organization: Unbroken Hours
Oh I got it after searching the documentation.

Code:
image bigperson = im.Scale("bigperson.png", 70, 100) #Enter specific numbers <--


Thanks though. ^_^

_________________
Image
Current Project

Follow Me on Twitter/ Facebook /Tumblr
Available for Download: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Current Goal: Trying to do animations, action scenes, and other cool effects in Ren'Py


Top
 Profile Send private message  
 
PostPosted: Wed Apr 16, 2014 3:21 am 
Newbie

Joined: Wed Apr 16, 2014 3:11 am
Posts: 2
you can easily resize image by setting the image wdith and height through the image application or through project with sample codes.
i am using a third party software to help me and save me a lot of time.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Alex, feathersnake, Tsuna


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group