Ren'Py 6.99.14 Released

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.
Message
Author
Vluut Games
Newbie
Posts: 10
Joined: Tue Jan 09, 2018 12:45 am
Tumblr: vluutgames
itch: vluut
Contact:

Re: Ren'Py 6.99.14 Released

#16 Post by Vluut Games »

Also having an xalign issue with .14:

image night_of_fire_bg_movie = Movie(size=(1280, 720), play="/images/animations/nightoffire02.ogv", loop=-1, xalign=-1.0, ypos=0, xanchor=0, yanchor=0)
show night_of_fire_bg_movie with dissolve:
ease 10.0 xpos -0.95

The movie is used as a bg that slides in perfectly in .13, but in .14 it doesn't matter what the xalign is set to - it always displays in the center. Do I need to use a different property in .14 to have the movie start offscreen?

Thanks for your help!

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.99.14 Released

#17 Post by PyTom »

There's been a change in 6.99.14 to resolve the conflict that occurs between xalign and yalign in favor of xpos. I wouldn't set the position in two different places like that. What I'd suggest is something like:

Code: Select all

image night_of_fire_bg_movie = Movie(play="/images/animations/nightoffire02.ogv)

show night_of_fire_bg_movie:
     xpos 0.0 xanchor 1.0
     ease 1.0 xanchor 0.0
(I also don't like negative position - it seems like they might work, but only by accident.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Vluut Games
Newbie
Posts: 10
Joined: Tue Jan 09, 2018 12:45 am
Tumblr: vluutgames
itch: vluut
Contact:

Re: Ren'Py 6.99.14 Released

#18 Post by Vluut Games »

PyTom wrote: Sun Jan 28, 2018 8:18 pm There's been a change in 6.99.14 to resolve the conflict that occurs between xalign and yalign in favor of xpos. I wouldn't set the position in two different places like that. What I'd suggest is something like:

Code: Select all

image night_of_fire_bg_movie = Movie(play="/images/animations/nightoffire02.ogv)

show night_of_fire_bg_movie:
     xpos 0.0 xanchor 1.0
     ease 1.0 xanchor 0.0
(I also don't like negative position - it seems like they might work, but only by accident.)
Worked like a charm! Thank you so much for the tip!

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.99.14 Released

#19 Post by PyTom »

This was the sort of thing that was a little nondeterministic. Which number took precedence would vary from computer to computer, so the .14 change picked an order.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]