Positioning problem

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
Triority
Regular
Posts: 185
Joined: Fri Jul 20, 2018 1:28 pm
Completed: Welcome To... Chichester 0, 1,2 OVN 1, OVN 2, OVN 3, No Regrets For The Future
Projects: Welcome To... Chichester series
Organization: Triority
Tumblr: Sku-te
itch: triority
Location: England
Discord: sku_te
Contact:

Positioning problem

#1 Post by Triority »

I've got a

Code: Select all

show receptionist neutral at Position(xpos = 0.5, xanchor=0.5, ypos=RECEPTIONIST_YPOS, yanchor=0.5)
with dissolve closely following by a show receptionist with a different expression. The second one appears to be executed before the first show command is finished, resulting in the position being inaccurate.

Is there anyway to wait until the animation has finished before continuing - or is a general pause needed ?

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: Positioning problem

#2 Post by Per K Grok »

Triority wrote: Tue Jan 08, 2019 4:36 pm I've got a

Code: Select all

show receptionist neutral at Position(xpos = 0.5, xanchor=0.5, ypos=RECEPTIONIST_YPOS, yanchor=0.5)
with dissolve closely following by a show receptionist with a different expression. The second one appears to be executed before the first show command is finished, resulting in the position being inaccurate.

Is there anyway to wait until the animation has finished before continuing - or is a general pause needed ?
You should use a pause timed to the length of the animation.

User avatar
Triority
Regular
Posts: 185
Joined: Fri Jul 20, 2018 1:28 pm
Completed: Welcome To... Chichester 0, 1,2 OVN 1, OVN 2, OVN 3, No Regrets For The Future
Projects: Welcome To... Chichester series
Organization: Triority
Tumblr: Sku-te
itch: triority
Location: England
Discord: sku_te
Contact:

Re: Positioning problem

#3 Post by Triority »

Okay !

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Majestic-12 [Bot], Semrush [Bot]