Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, I'm VERY new to Ren'py, and have taken your amazing framework into my current game project. I've been reworking it into a sort of quest guide, and I had a couple questions:

1. Is it possible to have entries into the encyclopaedia added onto the same page, updating the info on that page rather than having to move on to a new one, I can't find any reference to this in the doc, so I have no idea if this is even possible.

2. How do I go about changing text size and colour, I can't seem to find these in any of the .rpy files, I may just be blind tho so sorry if I missed it completely.


Once again, you've done an amazing job with this framework, and letting the community use it, is all in all something that you should be incredibly proud of.

(1 edit)

1. You can change the value of an EncEntry's `text` attribute, for example:

original_text = "This is the original text."
your_entry = EncEntry(text=original_text)
your_entry.text = original_text + "This is new text." 

2. All visual aspects are handled by Ren'Py's Styles system. The styles used by the Encyclopaedia's UI are located at the bottom of `screens.rpy`. 

(5 edits)

Wonderful, thank you so much for the quick response!

I think I understand the answer to 1., although I am having some trouble with it, it currently makes all of the text in the entry align vertically and go down the page, and I have no idea how to fix it, I used the code almost exactly as you did in the example.