Put a "_" in the end of each text box, appearing and disapp-

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
hotmachineoflove
Newbie
Posts: 10
Joined: Mon Jan 07, 2013 6:53 pm
Contact:

Put a "_" in the end of each text box, appearing and disapp-

#1 Post by hotmachineoflove »

Appearing and disappearing. Theres some way to do that? Like Pokemon: the text appears (i'm using 45 of cps) and then the "_" appears in the end of the text, appearing and disappearing, till you click again.

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

Re: Put a "_" in the end of each text box, appearing and dis

#2 Post by Alex »


User avatar
hotmachineoflove
Newbie
Posts: 10
Joined: Mon Jan 07, 2013 6:53 pm
Contact:

Re: Put a "_" in the end of each text box, appearing and dis

#3 Post by hotmachineoflove »

Alex wrote:Click-to-continue indicator is what you are looking for. There are some links where you can read about it and see examples of code:
http://www.renpy.org/doc/html/dialogue. ... er-objects
http://lemmasoft.renai.us/forums/viewto ... tc#p237820
http://lemmasoft.renai.us/forums/viewto ... &hilit=ctc
http://lemmasoft.renai.us/forums/viewto ... tc#p220045

Worked, man, thank you! <3


Now, can someone give me a hand with this:

Code: Select all

image ctc icon:
        "cacete.png"    
        easein 0.15  alpha 0.0
        easeout 0.15 alpha 1.0
        repeat
I want to make the "_" appear and disappear without a fadeout effect. Any tips? Sorry for the recent topics!

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

Re: Put a "_" in the end of each text box, appearing and dis

#4 Post by Alex »

Try

Code: Select all

image ctc icon:
        "cacete.png"    
        0.5
        Null()
        0.5
        repeat
http://www.renpy.org/doc/html/atl.html

User avatar
hotmachineoflove
Newbie
Posts: 10
Joined: Mon Jan 07, 2013 6:53 pm
Contact:

Re: Put a "_" in the end of each text box, appearing and dis

#5 Post by hotmachineoflove »

Alex wrote:Try

Code: Select all

image ctc icon:
        "cacete.png"    
        0.5
        Null()
        0.5
        repeat
http://www.renpy.org/doc/html/atl.html

Worked! Thank you!

User avatar
hotmachineoflove
Newbie
Posts: 10
Joined: Mon Jan 07, 2013 6:53 pm
Contact:

Re: Put a "_" in the end of each text box, appearing and dis

#6 Post by hotmachineoflove »

One new doubt! There's some way to put the text starting on the middle of the screen? Without exceeding the screen.
I tried this:

Code: Select all

style.default.xalign= 0.6
But the text doesn't start on the middle of the screen, only the minors!

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

Re: Put a "_" in the end of each text box, appearing and dis

#7 Post by Alex »

Not quite understand what you want to do... Try

Code: Select all

centered "Right?"
http://www.renpy.org/wiki/renpy/doc/ref ... Characters

Or set the style.window.left_padding in "options.rpy".

Post Reply

Who is online

Users browsing this forum: Bing [Bot], decocloud