Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Been playing with this pack and I love it.
Quick question: Is there a way to have an effect play for a few seconds and then STOP, going back to normal text? Or even pause for a few seconds before the effect occurs? I'm trying to find a way to have a line of dialogue where the character is a glitching robot, and I want to find a way for him to speak a line of dialogue, only for a few words to glitch out and be replaced by new words, as if he is spell checking himself in real time.
I have been scrolling through your code and can't seem to find what controlls the 'repeat' or 'loop' functions.

You are free to modify it but yeah most of them don't put much of a delay on the effects. And the looping is just because they keep updating themselves as renpy calls them. I imagine you're looking to modify the SwapText though and you're free to modify that to how you want it to work. It uses it's swap_to_1 variable to keep track of which character it should be. So probably just need to treat the current timer variable it has to be a delay instead and remove the logic for switching back. Might need to add more code in there too if you want more than just the letter swap. Hopefully that helps though.

Thank you! I did find a slapdash work around, by having two different lines of text,  using the wait and no-wait functions {w=} {nw}. One line has a word with the glitch tag, the other has no glitch. When played together, the first line of text appears normal, delayed for a second, then swaps to the next line when it hits the word with the glitch effect.

Makes it look like the text gets deleted and replaced with a brief glitch effect as it happens. It looks exactly like I wanted and It wouldn't have worked without your code! Thank you.