Displaying Images "At Left"

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
Posts: 47
Joined: Wed Feb 20, 2019 4:23 pm
Projects: Helix Felix
Location: PNW

Displaying Images "At Left"

#1 Post by briarbun » Tue Feb 25, 2020 12:35 pm

Is it possible to change the default image tag "at left" to something other than "all the way to the left"? The characters look pretty unnatural separated by the whole screen.
Could I change the "at left" to mean like "to the left of the center-line"? Or would I have to define a new parameter and name it like "at leftish"? How would I do this?
Would I have to find the X/Y aligns of my character's sprites where I want them? And how would I do that part? Sorry this is so noobish a question, I just couldn't find something like this in the documentation.

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

Re: Displaying Images "At Left"

#2 Post by Alex » Tue Feb 25, 2020 1:59 pm

Both options would work - you can create your own transform to position characters on screen or redefine existed ones (all those left, right, etc.).

Code: Select all

transform my_left:
    xalign 0.3
label start:
    show eileen at my_left

Post Reply

Who is online

Users browsing this forum: MaydohMaydoh