ATL: What happens to an image's anchor when the image is zoomed?

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
HyDrone
Newbie
Posts: 12
Joined: Tue Apr 10, 2018 12:38 am
Contact:

ATL: What happens to an image's anchor when the image is zoomed?

#1 Post by HyDrone »

I'm having trouble with xpos, and I suspect that it's because I'm doing transforms with different zooms. What happens to the anchor when you do say zoom 1.0 -> 0.4 -> 1.0 in transforms? Also, is there a way to print the anchor's coordinates to console or some other debugging technique I could use?

Update: I just learned that xalign and yalign change the anchor, so that's probably a bigger factor in my problems, but I would still like to know how the anchor is affected by zoom.

philat
Eileen-Class Veteran
Posts: 1909
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: ATL: What happens to an image's anchor when the image is zoomed?

#2 Post by philat »

As far as I know, it's not affected at all (i.e., does not change).

Post Reply

Who is online

Users browsing this forum: AWizardWithWords, Ocelot, piinkpuddiin