I think I stumbled onto a CTC bug

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
Gau_Veldt
Regular
Posts: 86
Joined: Tue Jun 10, 2008 8:22 pm
Location: Prince George, BC
Contact:

I think I stumbled onto a CTC bug

#1 Post by Gau_Veldt »

Code: Select all

init:
    $ ctcAnim=Animation("__nextico_10.png",0.125,
                        "__nextico_30.png",0.125,
                        "__nextico_60.png",0.125,
                        "__nextico_100.png",0.125
                        ,"__nextico_60.png",0.125,
                        "__nextico_30.png",0.125,
                        xpos=700, ypos=500, xanchor=0, yanchor=0)
    
    # Declare characters used by this game.
    $ z = Character('Zeit', color="#a0c0ff",ctc=ctcAnim,ctc_pause=ctcAnim,ctc_position='fixed')
#...
game:
    z "foo"
The ctc shows itself intermittently run-to-run and is affected by user interaction.
It displays only if I don't short circuit any slow typing text with a mouse click. Soon as I do it no longer shows unless the game is restarted.

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: I think I stumbled onto a CTC bug

#2 Post by Aleema »

Probably. What's your version of Ren'Py?

Gau_Veldt
Regular
Posts: 86
Joined: Tue Jun 10, 2008 8:22 pm
Location: Prince George, BC
Contact:

Re: I think I stumbled onto a CTC bug

#3 Post by Gau_Veldt »

Aleema wrote:Probably. What's your version of Ren'Py?
"Plugging a hole"

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: I think I stumbled onto a CTC bug

#4 Post by Aleema »

Looks like it is a bug. Sorry. :(
Already reported, so now just to wait.

Cironian
Regular
Posts: 33
Joined: Sun Aug 26, 2007 5:34 pm
Projects: Dragon Story
Contact:

Re: I think I stumbled onto a CTC bug

#5 Post by Cironian »

Here's another CTC problem for NVL mode:

Code: Select all

label start:
    
    nvl clear
    scene bg dummy
    with fade
    
    "First line"
    
    "Second line - Working end of page CTC"
    
    nvl clear
    
    "First line"
    
    "Second line - Broken end of page CTC"
    
    call ctc_2
    
    "New page and done"
    
    return


label ctc_2:
    nvl clear
    return
It seems that the end of page detection logic for nvl_page_ctc doesn't follow the actual code execution but uses a simpler mechanism. So, if you want to put page transitions into a common block, that breaks part of the CTC functionality.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]