Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Thank you so much for making this! It's amazing.

I do have one question, however. I'm still kind of inexperienced with Renpy, but I'm starting to grasp the basics. Your documentation is thorough, but I'm still kind of confused on one thing. The {color} tag doesn't seem to work when using your tags, and I kind of understand why when reading about how this actually works. 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.rpy included with the download, but text colors still don't seem to work.


EDIT: I figured I should include what I did so this seems like a less abstract question

At the top:

style blood:

    color "#730707"

What I'm trying to do several lines later 

"{=blood}{sc=3}the text{/=blood}{/sc}"

This only adds the scare text effect. Trying to use {color} yields similar results.

You have to have the style tag within the scare tag. So you instead need to have it be.

"{sc=3}{=blood}the text{/=blood}{/sc}"

And I believe it should work. Though of course let me know if it doesn't.

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. 

And again, if that doesn't solve the issue let me know~

It worked out! Thanks so much for the help and the quick response. You are awesome. : )