Thank you for making this! I'm very new to Renpy and still learning. I've been able to implement some of the text styles no problem! I was wondering if you have a sort of cheat sheet documented somewhere that has the text tags and which effect they belong to? I was able to dig some out through the scripts (like the main kenetic text ones), but some of them I can't figure out (like explosion, glitch, gradient, etc.).
Hi! First, I wanted to say that this code is fantastic, thank you for the hard work, and there are no issues I've had with it. I do want to ask though, is there a way in which I can apply an outline to the text that I pass through the code? My default text does not have the outline, so it doesn't include it, but I'd like for it to. What part would I have to edit to do this, and with what code? Thanks!
Hey when I was trying to use this code, it gave me this error message. Both the atl and the glitch tags are seperate in my game folder, how do I fix this?
This is such a wonderful contribution. Thank you. I have a question as well. When using the kinetic tags in NVL mode, each new printed section of text causes the animations to reset. However, only in certain circumstances. As best as I can tell, they only reset if the oldest line of text isn't being cleared from the screen. Or something? Would you possibly have any insight into the issue?
Sorry, I can't say I tested it very extensively in NVL mode. I'll try to make a note to look into it more later. I have some guesses as to what the issue might be. I know Renpy likes to reset the whole textbox in ADV mode whenever it updates, so maybe it does something similar in NVL mode. If true, then the time being given to the displayables would be reset and not a lot I could do about that outside of awkwardly storing timers in globals in a way that'd be really messy. Though given your description, it that might not be the case and could be something else. I'll try to look into it when I have time but been busy lately.
Hey there! I really like the font effects you have made. Is it possible to be able to use the font effects for text used outside of the textbox when it's disabled while not losing predefined properties? I currently am using a None character (the narrator) to display text on a certain part of the screen. When I initialized the character, I used specific properties to change the texts position, text wrapping, color, etc. However, these properties seem to be overwritten when I use one of the font effect tags, like sc. Is there anyway I can use these properties in conjunction with the font effects?
Yeah, the kinetic text tags are a displayable being shown as part of an overall text displayable, but that text displayable doesn't know to pass it's style information down to the kinetic text tag's text. My solution to this was defining a style with all the properties you want, and then using the {=style} tag (https://www.renpy.org/doc/html/text.html#style-text-tags) INSIDE the kinetic text tag to carry that information in. While going through the text it's given, my text tags will try to keep track of other tags inside it and apply them to their text. So you'd want to do something like
style narr_text_style:
color "#fff"
outlines [(2, "#000000")]
size 1900
font "fonts/DisgustingBehavior-AZrA.ttf"
"{sc=10}{=narr_text_style}{outlines}No! You just don't want me to be happy!{/sc}"
Not sure the style tag applies all of that attributes, especially outlines, or if that will necessarily work entirely. Though that's the general way I made it work.
While looking into this though I did learn that renpy now has some of this stuff built in. https://www.renpy.org/doc/html/textshaders.html So if it's not working it might be worth using their jitter instead.
I'm very new to Renpy and I find it fun to work with but I have no idea how to use these in my game. The gradient and scared shake specifically. Is it possible to get those codes separately?
I'll say I'm not entirely sure what you're asking, From the sounds of it, you're asking to have the shake and gradient tags moved to their own files. You are free to remove those sections are put them in their own .rpy file if you like, but I'm not sure how that will help you. If you're wondering how to use them, you just do "{sc}Some text{/sc}" for the scare tag, and the gradient tag is a bit harder, though I believe I provided some examples and reference for it in the comments of gradient_tags.rpy. Hopefully that helps but if you need more help feel free to ask!
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
Thank you for making this! I'm very new to Renpy and still learning. I've been able to implement some of the text styles no problem! I was wondering if you have a sort of cheat sheet documented somewhere that has the text tags and which effect they belong to? I was able to dig some out through the scripts (like the main kenetic text ones), but some of them I can't figure out (like explosion, glitch, gradient, etc.).
Hi! First, I wanted to say that this code is fantastic, thank you for the hard work, and there are no issues I've had with it. I do want to ask though, is there a way in which I can apply an outline to the text that I pass through the code? My default text does not have the outline, so it doesn't include it, but I'd like for it to. What part would I have to edit to do this, and with what code? Thanks!
Hey when I was trying to use this code, it gave me this error message. Both the atl and the glitch tags are seperate in my game folder, how do I fix this?
Weirddd.... Could try regenerating the rpyc file. That or you could just move most of the code from one to the other.
I managed to fix it! Yay me!
This is such a wonderful contribution. Thank you. I have a question as well. When using the kinetic tags in NVL mode, each new printed section of text causes the animations to reset. However, only in certain circumstances. As best as I can tell, they only reset if the oldest line of text isn't being cleared from the screen. Or something? Would you possibly have any insight into the issue?
Sorry, I can't say I tested it very extensively in NVL mode. I'll try to make a note to look into it more later. I have some guesses as to what the issue might be. I know Renpy likes to reset the whole textbox in ADV mode whenever it updates, so maybe it does something similar in NVL mode. If true, then the time being given to the displayables would be reset and not a lot I could do about that outside of awkwardly storing timers in globals in a way that'd be really messy. Though given your description, it that might not be the case and could be something else. I'll try to look into it when I have time but been busy lately.
Thank you so much for your reply! I really appreciate your time, and thanks again.
Hey there! I really like the font effects you have made. Is it possible to be able to use the font effects for text used outside of the textbox when it's disabled while not losing predefined properties? I currently am using a None character (the narrator) to display text on a certain part of the screen. When I initialized the character, I used specific properties to change the texts position, text wrapping, color, etc. However, these properties seem to be overwritten when I use one of the font effect tags, like sc. Is there anyway I can use these properties in conjunction with the font effects?
Defined Character code:
Example Text Usage:
Yeah, the kinetic text tags are a displayable being shown as part of an overall text displayable, but that text displayable doesn't know to pass it's style information down to the kinetic text tag's text. My solution to this was defining a style with all the properties you want, and then using the {=style} tag (https://www.renpy.org/doc/html/text.html#style-text-tags) INSIDE the kinetic text tag to carry that information in. While going through the text it's given, my text tags will try to keep track of other tags inside it and apply them to their text. So you'd want to do something like
Not sure the style tag applies all of that attributes, especially outlines, or if that will necessarily work entirely. Though that's the general way I made it work.
While looking into this though I did learn that renpy now has some of this stuff built in. https://www.renpy.org/doc/html/textshaders.html So if it's not working it might be worth using their jitter instead.
I'm very new to Renpy and I find it fun to work with but I have no idea how to use these in my game. The gradient and scared shake specifically. Is it possible to get those codes separately?
I'll say I'm not entirely sure what you're asking, From the sounds of it, you're asking to have the shake and gradient tags moved to their own files. You are free to remove those sections are put them in their own .rpy file if you like, but I'm not sure how that will help you. If you're wondering how to use them, you just do "{sc}Some text{/sc}" for the scare tag, and the gradient tag is a bit harder, though I believe I provided some examples and reference for it in the comments of gradient_tags.rpy. Hopefully that helps but if you need more help feel free to ask!
Okay thanks, I'll try that! :D
just some stuff that took me a while to figure out:
"{sc=10}Text{/sc}" ==> Scared Text
"{fi=[offset]-[time]-[distance]}Text{/fi}" ==> Fade in text
"{bt=10}Text{/bt}" ==> Wave Text
"{rotat}Text{/rotat}" ==> Rotating Text
"{move}Text{/move}" ==> Moving Text
"{sc}{b}Text{/b}{/sc}" ==> Adding multiple effects
"{color=#000000}Text{/color}" ==> change color
"{b}Text{/b}" ==> Make text bold
"{s}Text{/s}" ==> Scratched Text
"{u}Text{/u}" ==> Underline Text
"{i}Text{/i}" ==> Italic Text
"{size=50}Text{/size}" ==> Change size
thank you for this project