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.
I'm having a small problem with the click to continue button. For some reason, it shows up fine during my NVL text, and even in ADV mode, my characters' dialogue also show it. But the narrator character that I've defined refuses to show it, for some reason.
I get no errors, so any ideas as to why this isn't working for the narrator character?
One extra question: whenever I implement a screen shake, I can see the transparent box behind the scene. Is there anyway to just change this to a black background behind the actual picture?
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Dovahkitteh wrote:One extra question: whenever I implement a screen shake, I can see the transparent box behind the scene. Is there anyway to just change this to a black background behind the actual picture?
That transparent background is only visible while your game is in developer mode. It won't show up on the final build if you declare
While running game code:
File "game/intro.rpy", line 46, in script
define n = Character(None, color="#c8ffc8", ctc="ctc_pic", ctc_position="nestled", window_left_padding=0, yanchor=0.0, xanchor=0.0, callback=callbackcontinue)
File "game/intro.rpy", line 46, in <module>
define n = Character(None, color="#c8ffc8", ctc="ctc_pic", ctc_position="nestled", window_left_padding=0, yanchor=0.0, xanchor=0.0, callback=callbackcontinue)
NameError: name 'callbackcontinue' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/intro.rpy", line 46, in script
define n = Character(None, color="#c8ffc8", ctc="ctc_pic", ctc_position="nestled", window_left_padding=0, yanchor=0.0, xanchor=0.0, callback=callbackcontinue)
File "C:\Users\pinka_000\Desktop\Misc\Gaem\Visual Novels\VN maker\renpy-6.16.3-sdk\renpy\ast.py", line 1737, in execute
value = renpy.python.py_eval_bytecode(self.code.bytecode)
File "C:\Users\pinka_000\Desktop\Misc\Gaem\Visual Novels\VN maker\renpy-6.16.3-sdk\renpy\python.py", line 1472, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/intro.rpy", line 46, in <module>
define n = Character(None, color="#c8ffc8", ctc="ctc_pic", ctc_position="nestled", window_left_padding=0, yanchor=0.0, xanchor=0.0, callback=callbackcontinue)
NameError: name 'callbackcontinue' is not defined
I also tried including "callbackcontinue" in quotes, but that had no effect. D:
Donmai wrote: It won't show up on the final build if you declare
Ah, I fixed the problem! Apparently in one of my other scripts, I'd defined the narrator with slightly different attributes (For some reason...). I got rid of that second definition and now it shows up the way it's supposed to.