AnthiaWrite a message
- I am 22
- What is the color of my hair:
- I have got short abundant auburn hair
- What is my body type:
- My figure features is quite fat
- My favourite drink:
- Riding a bike
- I like tattoo:
- I don't have tattoos
You've reached a on the Ren'Py wiki. Due to massive spam, the wiki hasn't been updated in over 5 years, and much of the information here is very out of date. We've kept it because some of it is of historic interest, but all the information relevant to modern versions of Ren'Py has been moved elsewhere. This code allows using any arbitrary text tag within say and menu statements and, with some extra coding, UI widgets. Due to its nature, you'll need some programming skills to make use of it, since you have to define the behavior for the tags you want to create. Basic knowledge of python should be enough you don't need to understand the parser's code, but you should be able to understand the examples before trying to define you own tags.
This project is made to demonstrate a simple way to include moving text in your renpy projects. Allowing you to apply translations, rotations, alpha and color changes, text that reacts to the mouse, and much more! For more information on how it works, check the Github.
Log in with itch. This is so awesome and really gives so many new opportunities to anyone who has is either just starting out with Ren'py or has, like me, no idea how to do these things! I don't know what I will use it for, but now that I'm seeing all these great options I'll just put some of these in for the sake of how they can make things more interesting and give me more creative freedom when it comes to text in Ren'py.
Thank you so much for sharing this! Oh sorry, I have the glitch tag and gradient tags in different files from the original set. Didn't want that original file becoming so fat with tags that it became too daunting for ppl just getting into coding to read through.
Sorry for any confusion. And if you have any further issues, feel free to ask! I'm always happy to help. I do have one question, however. I'm still kind of inexperienced with Renpy, but I'm starting to grasp the basics.
Ren’py + python: part 5: custom text tags
Your documentation is thorough, but I'm still kind of confused on one thing. However, making a style with a defined color still doesn't seem to change the color of the text for me. I tried to copy the example from the script. The reason it has to be like that is that the text tag isn't sent the tags started outside of it. So styling you have applied on the text has to be specified inside the tag in order for it to be aware of that. Because technically speaking, the letters that will displayed inside the tag are wrapped inside Displayables and separate from the surrounding text.
Which allows us to move them independently of it.
But means we don't get that style information the rest of the text will get. The DispTextStyle class I made is there to help handle that. So that if you define other tags inside the text tag, it can automatically remember them and store that formatting inside the Text displayable inside our Displayable wrapper.
But if that style tag is outside of the kinetic text tag, then we don't know that tag exists. I know it's less than convenient though and I apologize for that. I couldn't find a better workaround. But if one comes along I'll be sure to update it to be more convenient. I still can't believe Renpy text tags registered on this just to ask you and thank you for what you have done. I don't know if you'll see this or not, but here go.
Thank you so much for doing something so cool, I can tell you put a lot of effort into it and that shows how cool you are!
Well, here's the question, how does it work? I'm new in Ren'py, so could you explain it to me in a simple way? Not sure how simply you want me to explain it.
Githut gist version:
But if all you're looking to do is to use the basic ones I provided, you use them like any other renpy text tag. And some of them allow for modifiers as well. I maybe should've documentated the parameters I set better, but for the bounce, rotate and scare tags, it's mostly just affects how extreme the effect is and is just an integer. The fade in takes how many characters into the line it is and a float representing how long the fade in should last for each character, the parameters separated by a '-'. Swap takes two strings of equal length separated by an ' ' as well as how quickly to swap between them.
And the gradient ones Going over how they work might be more advanced.
And if you have any specific questions about how it works or how to change something to your liking, feel free to ask! Hi, again.
What should I do? Here is the error: I'm sorry, but an uncaught exception occurred.
Ren'py kinetic text tags
Oh, I think it's because you forgot to end the first tag before starting a new one. Least that's what I think it happening. If I saw your script I'd probably have a better idea on what's going wrong.
I was wondering if you could explain how to make an option for disabling animated text in general? I will admit that is one area where I buried the lead a little bit. So I actually went back and rewrote it a bit, which is why it's now 1. Hopefully should make it more clear how it's being done. So feel free to download that and look at it for yourself. But in case you might need some more help, I'll explain it a little more here. Then in your preferences screen, in screens.
And then in your text effects, make sure they have a check for if that field is True or False or whatever your setup is. And have them react accordingly. As long as your wrapper knows when to be disabled, then it should be fine. Another approach you could try is updating the say screen to do something similar to what the history screen does and have something like.
Renpy text tags update and modify your own version of gui.
Your first dialogue
That way the tags will automatically be removed from the string. Hopefully that gives you some ideas on what approach might work best for you. Feel free to ask if you have any further questions! If you'd like a more updated version of my explanation or moreover anyone who finds this comment in the future. I did another similar explanation recently on the lemmasoft forums that has a bit more code and is probably more versatile.
Can check it out here if you want.
But I know this other method should work if my solution isn't working out. Ren'py Kinetic Text Tags.
More information. Status Released Category Assets Rating. Download Now Name your own price.
Click download now to get access to the following files: KineticTextTags Jan 09, Dec 02, Comments Log in with itch. Alexrexiscool 83 days ago. I just want to say thank you sm for this, this code is awesome and really useful!!
Wattson 82 days ago. Alexrexiscool 82 days ago.
It worked!! Kill1 days ago 1 edit.