Nestled CTC

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
Kokoro
Newbie
Posts: 11
Joined: Sat Jul 15, 2017 10:06 pm
Contact:

Nestled CTC

#1 Post by Kokoro »

Hi there!
So I've got a click to continue icon working on my VN, but I've come across a problem. For the most part the code I use works perfectly, but when a line of dialog completely fills the first line in the text box the CTC continues on the next line. It looks like this:

Image

It just doesn't look good in my opinion. So is there something I can do to make the CTC sit at the end of the line of text even when the first line is full? I don't much like the way my CTC looks at a fixed position since my NVL is in the middle of the screen and my dialog is at the bottom.

Here is the code I use:

Code: Select all

image ctc_blink:

    "gui/ctc01.png"
    linear 0.75 alpha 1.0
    linear 0.75 alpha 0.25
    repeat 
Then:

Code: Select all

define jas = Character ("Jasper", color="#b68f5e", ctc="ctc_blink", ctc_position="nestled")
Thanks in advance!

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3794
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Nestled CTC

#2 Post by Imperf3kt »

Is that your longest line? Perhaps increase the text width by a few pixels or shrink your font size by 1pt or something.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
Kokoro
Newbie
Posts: 11
Joined: Sat Jul 15, 2017 10:06 pm
Contact:

Re: Nestled CTC

#3 Post by Kokoro »

Thanks for the reply, it put me on the right track!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot]