Zoom FAIL

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
Gear
Miko-Class Veteran
Posts: 764
Joined: Tue Apr 05, 2011 10:15 pm
Projects: Tempestus Sum
Organization: Xenokos Interactive
IRC Nick: Gear
Skype: Skye.Gear
Location: Grand Prairie, TX
Contact:

Zoom FAIL

#1 Post by Gear »

So I've spent a ton of time going over this, and I can't get it to work. I'm trying to zoom in on a specific part of an image, but no matter what I change the numbers to, from my personal numbers to the ones used in the tutorial game, my game seems to skip right over the block of code as if it weren't even there. Can anyone offer me some advice, please?

Code: Select all

show bgmap2:
        crop (0, 0, 800, 600)
        size (800, 600)

        linear 4.0 crop (350, 300, 400, 300)
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Zoom FAIL

#2 Post by Alex »

my game seems to skip right over the block of code
That's ok. ATL transforms does not terminate the game flow. You should use something between this image and the next image (a pause or character's words)

Code: Select all

label start:
    show bgmap2:
        crop (0, 0, 800, 600)
        size (800, 600)

        linear 4.0 crop (350, 300, 400, 300)
    $ renpy.pause()
    "Is it better?"

User avatar
Gear
Miko-Class Veteran
Posts: 764
Joined: Tue Apr 05, 2011 10:15 pm
Projects: Tempestus Sum
Organization: Xenokos Interactive
IRC Nick: Gear
Skype: Skye.Gear
Location: Grand Prairie, TX
Contact:

Re: Zoom FAIL

#3 Post by Gear »

@_@

I sincerely can't believe that was all it needed.

Thanks. Again.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.

Post Reply

Who is online

Users browsing this forum: Google [Bot]