Click to continue indicator...

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
curry nochi rice
Miko-Class Veteran
Posts: 746
Joined: Sat Mar 27, 2010 3:12 am
Projects: Delicatessen, Whom to Notice, Start of Something, Love Sorcery
Organization: Circle Cosine
IRC Nick: Curry
Skype: after.curry.rice
itch: project-rothera
Contact:

Click to continue indicator...

#1 Post by curry nochi rice »

I was looking for it at the .config section... I didn't see it...

anyway, how do you make one... I have a feeling that I should use one since there's some pauses.... and how do you configure the auto-forward time???
Personal (R-13) | Now at IndieDB | Circle Cosine's itch.io
I wanna be done.

Aka-kami
Regular
Posts: 150
Joined: Sat Dec 05, 2009 8:23 pm
Projects: A long-ish project. Will probably make a WIP thread when it's 50% done.
Location: Behind you.
Contact:

Re: Click to continue indicator...

#2 Post by Aka-kami »

it can be found in the tutorial. Under "character" i believe. Anyway, here's a sample code:

Code: Select all

    $P = Character('Character', ctc=anim.Blink("image.png", xpos=760, ypos=560, xanchor=0, yanchor=0), ctc_position="fixed")
This code i gave you makes the indicator appear at the bottom right corner of your text box. If you look at "demo.character" in the tutorial directory, you'll see other examples.
See ya.

User avatar
curry nochi rice
Miko-Class Veteran
Posts: 746
Joined: Sat Mar 27, 2010 3:12 am
Projects: Delicatessen, Whom to Notice, Start of Something, Love Sorcery
Organization: Circle Cosine
IRC Nick: Curry
Skype: after.curry.rice
itch: project-rothera
Contact:

Re: Click to continue indicator...

#3 Post by curry nochi rice »

thank you.... trying it out now...

result:
Attachments
Delta Spoiler.jpg
Personal (R-13) | Now at IndieDB | Circle Cosine's itch.io
I wanna be done.

User avatar
azureXtwilight
Megane Procrastinator
Posts: 4118
Joined: Fri Mar 28, 2008 4:54 am
Completed: Fantasia series (ROT and ROTA), Doppleganger: Dawn of The Inverted Soul, a2 (a due), Time Labyrinth
Projects: At Regime's End
Organization: Memento-Mori VNs, Team Sleepyhead
Location: Yogyakarta, Indonesia.
Contact:

Re: Click to continue indicator...

#4 Post by azureXtwilight »

Sorry for bringing this up, don't feel like making a new thread.

I did:

Code: Select all

$ l = Character(None, ctc=Animation("1.png", 0.05, xpos=760, ypos=560, xanchor=0, yanchor=0, 
                                "2.png", 0.05, xpos=760, ypos=560, xanchor=0, yanchor=0, 
                                "3.png", 0.05, xpos=760, ypos=560, xanchor=0, yanchor=0, 
                                "4.png", 0.05, xpos=760, ypos=560, xanchor=0, yanchor=0,
                                "5.png", 0.05, xpos=760, ypos=560, xanchor=0, yanchor=0, 
                                "6.png", 0.05, xpos=760, ypos=560, xanchor=0, yanchor=0,
                                "7.png", 0.05, xpos=760, ypos=560, xanchor=0, yanchor=0,
                                "8.png", 0.05, xpos=760, ypos=560, xanchor=0, yanchor=0), ctc_position="fixed")
and get the error:

Code: Select all

I'm sorry, but an exception occured while executing your Ren'Py
script.

SyntaxError: non-keyword arg after keyword arg

While compiling python block starting at line 126 of D:\renpy-6.10.2\Fantasia_Momento of Grand Finale/game/script.rpy.

-- Full Traceback ------------------------------------------------------------

  File "D:\renpy-6.10.2\renpy\bootstrap.py", line 260, in bootstrap
  File "D:\renpy-6.10.2\renpy\main.py", line 173, in main
  File "D:\renpy-6.10.2\renpy\script.py", line 480, in load_script
  File "D:\renpy-6.10.2\renpy\script.py", line 160, in __init__
  File "D:\renpy-6.10.2\renpy\script.py", line 378, in load_appropriate_file
  File "D:\renpy-6.10.2\renpy\script.py", line 340, in load_file
  File "D:\renpy-6.10.2\renpy\script.py", line 429, in update_bytecode
  File "D:\renpy-6.10.2\renpy\python.py", line 254, in py_compile_exec_bytecode
  File "D:\renpy-6.10.2\renpy\python.py", line 229, in py_compile
  File "compiler\transformer.pyo", line 52, in parse
  File "compiler\transformer.pyo", line 129, in parsesuite
  File "compiler\transformer.pyo", line 125, in transform
  File "compiler\transformer.pyo", line 158, in compile_node
  File "compiler\transformer.pyo", line 189, in file_input
  File "compiler\transformer.pyo", line 1080, in com_append_stmt
  File "compiler\transformer.pyo", line 306, in stmt
  File "compiler\transformer.pyo", line 1073, in com_stmt
  File "compiler\transformer.pyo", line 316, in simple_stmt
  File "compiler\transformer.pyo", line 1080, in com_append_stmt
  File "compiler\transformer.pyo", line 306, in stmt
  File "compiler\transformer.pyo", line 1073, in com_stmt
  File "compiler\transformer.pyo", line 354, in expr_stmt
  File "compiler\transformer.pyo", line 567, in testlist
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 583, in test
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 597, in or_test
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 602, in and_test
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 606, in not_test
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 613, in comparison
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 646, in expr
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 650, in xor_expr
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 654, in and_expr
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 658, in shift_expr
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 670, in arith_expr
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 682, in term
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 702, in factor
  File "compiler\transformer.pyo", line 721, in power
  File "compiler\transformer.pyo", line 1196, in com_apply_trailer
  File "compiler\transformer.pyo", line 1219, in com_call_function
  File "compiler\transformer.pyo", line 1260, in com_argument
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 583, in test
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 597, in or_test
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 602, in and_test
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 606, in not_test
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 613, in comparison
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 646, in expr
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 650, in xor_expr
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 654, in and_expr
  File "compiler\transformer.pyo", line 1065, in com_binary
  File "compiler\transformer.pyo", line 658, in shift_expr
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 670, in arith_expr
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 682, in term
  File "compiler\transformer.pyo", line 792, in com_node
  File "compiler\transformer.pyo", line 702, in factor
  File "compiler\transformer.pyo", line 721, in power
  File "compiler\transformer.pyo", line 1196, in com_apply_trailer
  File "compiler\transformer.pyo", line 1219, in com_call_function
  File "compiler\transformer.pyo", line 1258, in com_argument
SyntaxError: non-keyword arg after keyword arg

While compiling python block starting at line 126 of D:\renpy-6.10.2\Fantasia_Momento of Grand Finale/game/script.rpy.

Ren'Py Version: Ren'Py 6.10.2e
Wondering what I did wrong. I intended to make it at the corner of the screen, like positioned at the xpos and ypos.
Image

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

Re: Click to continue indicator...

#5 Post by Aleema »

Don't put the position of the graphic in the animation (at least until the end)? Try that. See: Animation

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

Re: Click to continue indicator...

#6 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"
Does not put the ctc on screen at all.
It won't show at all unless I change 'fixed' to 'nestled'.

Edit: Actually it does display but 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.

Post Reply

Who is online

Users browsing this forum: No registered users