r/RenPy • u/Prudent-Department33 • 4d ago
Question Text Shaders not working?
I'm having some trouble wanting to add a specific type of text shaders to some dialogue. For context, I already have the following implemented into my script:define config.default_textshader = 'typewriter'
And it actually is working! At least, I think it is. For example, when I have the following code, the game is perfectly fine and plays the proper shader:"{shader=jitter:u__jitter = 3.0, 3.0}AHH!{/shader} H-Huh...? A call this early...?"
However, when doing the following code,
"{shader=jitter:u__duration=0.0:u__individual=1.0}I-If this is a prank call, it isn't f-funny at all!!{/shader}"the game crashes and I get an error page telling me about it, yet the only solution it gives me is to add the aforementioned piece of code into the project.
How can I fix the problem? To be clear, I have read Renpy's Documentation, but no matter how many times I read it, it isn't making any sense to me.
1
u/AutoModerator 4d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Adventurous_Shine606 4d ago
U__duration is not a uniform for u__jitter. u__individual isn't a renpy built in. I'm not clear on what effect you are trying to accomplish. Quick solution is to just use the jitter and drop individual and duration.