ctc not working with multiple characters?

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
Cubaris
Newbie
Posts: 16
Joined: Mon Apr 27, 2020 10:39 pm
Projects: Crescent Moon Bay, A Trip To The Park
Tumblr: CubarisMurina
itch: Cubaris
Location: California
Contact:

ctc not working with multiple characters?

#1 Post by Cubaris »

hello, i wanted to add a blinking ctc, but it only shows up for one character (the one with placeholder in the name below), even though i have the ctc connected to both characters' .rpy files.

Code: Select all

define m = Character("placeholder", color="#9f0000", image="m", ctc="ctc_blink",  ctc_position="nestled")

Code: Select all

define p = Character("Phantom", color="#ff007d", image="phantom", ctc="ctc_blink", ctc_position="nestled")
this is what i'm using for the ctc

Code: Select all

image ctc_blink:
       "gui/ctc.png"
       linear 0.75 alpha 1.0
       linear 0.75 alpha 0.0
       repeat
Image
hi im azrael, have my oc cas as a dog
[he/they]

User avatar
m_from_space
Eileen-Class Veteran
Posts: 1057
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: ctc not working with multiple characters?

#2 Post by m_from_space »

ctc should work for all characters. Which one is not working? You have some leading whitespace in the first character before ctc_position, but I don't thinkt that should be any problem.

User avatar
Cubaris
Newbie
Posts: 16
Joined: Mon Apr 27, 2020 10:39 pm
Projects: Crescent Moon Bay, A Trip To The Park
Tumblr: CubarisMurina
itch: Cubaris
Location: California
Contact:

Re: ctc not working with multiple characters?

#3 Post by Cubaris »

m_from_space wrote: Mon Sep 18, 2023 12:30 pm ctc should work for all characters. Which one is not working? You have some leading whitespace in the first character before ctc_position, but I don't thinkt that should be any problem.
the ctc works for the first character, but not the second character.
Image
hi im azrael, have my oc cas as a dog
[he/they]

User avatar
m_from_space
Eileen-Class Veteran
Posts: 1057
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: ctc not working with multiple characters?

#4 Post by m_from_space »

No issues on my side using your ctc and character definitions. Which Renpy version are you using?

What if you create a third character and try it?

How exactly do you use the characters? (Show some code please!)

User avatar
Cubaris
Newbie
Posts: 16
Joined: Mon Apr 27, 2020 10:39 pm
Projects: Crescent Moon Bay, A Trip To The Park
Tumblr: CubarisMurina
itch: Cubaris
Location: California
Contact:

Re: ctc not working with multiple characters?

#5 Post by Cubaris »

m_from_space wrote: Tue Sep 19, 2023 6:46 am No issues on my side using your ctc and character definitions. Which Renpy version are you using?

What if you create a third character and try it?

How exactly do you use the characters? (Show some code please!)
i just updated it and tested the game again and it suddenly worked o_o;
maybe that was the issue?

also here's how i've been using the characters so far, just some tests

Code: Select all

label start:

    scene park
    show m at cenleft
    show phantom at cenright

    show m at bounce
    m "test."

    show phantom at bounce
    p "lol."

    scene desert with fade
    show m sunset at cenleft
    show phantom sunset at cenright

    show phantom at bounce
    p "how did we get here?!"

    show m at bounce
    m "does it look like i know?? im gonna go look around."

    hide m with easeoutright
    m "this place sucks."

    return
Image
hi im azrael, have my oc cas as a dog
[he/they]

User avatar
m_from_space
Eileen-Class Veteran
Posts: 1057
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: ctc not working with multiple characters?

#6 Post by m_from_space »

You did everything right, seems like this was just an issue with an older Renpy version then.

HollyWright
Newbie
Posts: 2
Joined: Tue Aug 29, 2023 3:14 am
Contact:

Re: ctc not working with multiple characters?

#7 Post by HollyWright »

Ok, thanks. Recently, I had the pleasure of using the outstanding article review writing service, and I have to admit that it's completely changed the game. The depth of insights provided by the writers is amazing, and their ability to break down and analyse material is simply exceptional. This is the https://www.grabmyessay.com/article-rev ... ng-service site if you're seeking someone trustworthy to manage your article reviews. I wholeheartedly advise everyone I know, both friends and peers. It is a trusted tool for professionals and students who want to succeed in their academic and research pursuits.

Post Reply

Who is online

Users browsing this forum: No registered users