ATL zoom and move problem (suppose a bug)

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
agl
Regular
Posts: 54
Joined: Tue Jul 19, 2016 5:09 am
Contact:

ATL zoom and move problem (suppose a bug)

#1 Post by agl »

Hello. There is a image of the character. The game window is 1280х720.

Code: Select all

    image cat_n1 = LiveComposite( (883, 1440),
    (0, 0), "body-down.png",
    (0, 0), "e-norm.png",
    (0, 0), "l-norm.png",
    (0, 0), "b-norm.png",
    (0, 0), "ea-norm.png") 
    
    image cat_n2 = LiveComposite( (883, 1440),
    (0, 0), "body-up.png",
    (0, 0), "e-norm.png",
    (0, 0), "l-norm.png",
    (0, 0), "b-norm.png",
    (0, 0), "ea-norm.png") 
    
    image cat normal:
        choice:
            "cat_n1"
        choice:
            "cat_n2"    
        zoom .5 
#So it choice random pics every time it needs to be shown, and half size to be fit in game window size.

Code: Select all

show cat normal   #all showing as expected, 720p at Y scale
cat "blablabla"
show cat at left  #error. image showing as half-size, 360p at Y scale
cat "blablabla"
show cat at right  #error. image showing as half-size of original not previous image, 360p at Y scale
Last edited by agl on Mon Sep 19, 2016 1:41 am, edited 2 times in total.

agl
Regular
Posts: 54
Joined: Tue Jul 19, 2016 5:09 am
Contact:

Re: ATL zoom and move problem

#2 Post by agl »

If i define position at first time i show the image, all works good. I suppose a bug.

Code: Select all

show cat normal at center  #all showing as expected, 720p at Y scale
cat "blablabla"
show cat at left  #all showing as expected, 720p at Y scale
cat "blablabla"
show cat at right  #all showing as expected, 720p at Y scale

Post Reply

Who is online

Users browsing this forum: No registered users