Lemma Soft Forums

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

Visit our new games list, blog aggregator, and IRC channel.
Activation problem? Email pytom@bishoujo.us.
It is currently Sat Dec 10, 2016 12:55 am

All times are UTC - 5 hours [ DST ]


Forum rules


This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like, and include all the relevant information - especially any relevant code and traceback messages. 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: 348
Location: Canada
Completed: Princess of Ruin, Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Projects: Shrouded In Haze
Organization: Unbroken Hours
Twitter: @unbrokenhours
Tumblr: unbrokenhours
Deviantart: venus-eclipse
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

Princess of Ruin is officially out! (Current version is v1.5)

New in Development: Shrouded in Haze

Free:: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs


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: 636
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: 348
Location: Canada
Completed: Princess of Ruin, Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Projects: Shrouded In Haze
Organization: Unbroken Hours
Twitter: @unbrokenhours
Tumblr: unbrokenhours
Deviantart: venus-eclipse
Oh I got it after searching the documentation.

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


Thanks though. ^_^

_________________
Image

Princess of Ruin is officially out! (Current version is v1.5)

New in Development: Shrouded in Haze

Free:: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs


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: Majestic-12 [Bot], Silence in Space, Zeekee


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