double-clicks when using centered

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: 8
Joined: Sun Dec 23, 2018 5:09 am

double-clicks when using centered

#1 Post by Leviy » Tue Sep 17, 2019 2:12 pm

I using "centered" for displaying a text. So i want displaying a text this way:
centered "some text"
##here player clicks, hides previous text and showing next
centered "another text"

but the problem is that the player double-clicks to see "another text": first click hides previous text, and only the second click shows next text.
How can i solve this?

User avatar
Eileen-Class Veteran
Posts: 1433
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: xavimat
Location: Italy

Re: double-clicks when using centered

#2 Post by xavimat » Tue Sep 17, 2019 4:52 pm

That's strange. Can you show us your code? Have you put a pause?
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Cops&Robbers A two-player experiment
Fear&Love Why can’t we simply express our feelings? Why am I afraid to say ‘I love you’?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

User avatar
Miko-Class Veteran
Posts: 697
Joined: Mon Jan 07, 2019 2:55 am
Projects: Maddox's Everyday Talk! (13+ Unreal version), Maddox Everyday Talk! (3+ Real-Friendly version)(Upcoming 2020)
Organization: Friendly Teachers series
itch: .......
Location: Philippines, Mindanao

Re: double-clicks when using centered

#3 Post by isobellesophia » Tue Sep 17, 2019 11:32 pm

How about

Code: Select all

show text "blahblah" at truecenter
hide text at truecenter with dissolve

Code: Select all

text "some text" xalign 0.5
hide text "hide" xalign 0.5
i dont test this yet, so take a try.
I am a friendly user, please respect and have a good day..

Working on a talking simulation game for everyone, except children.

Maddox Everyday Talk!
Is my very very main project, not contain 13 below.

Main project here viewtopic.php?f=43&t=56564

Post Reply

Who is online

Users browsing this forum: Google [Bot], katiastu, TorroesPrime