Comments

Log in with itch.io to leave a comment.

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.

Hello, thank you for this framework! The usage guide is really helpful.

Sorry for being out of topic, but recently I also had taken interest in your other repo, the doomfire effect in renpy. It was written for python 2.7, so I tried porting it to Python3, only to find that I cannot make it work in my machine owing to a bunch of deprecated pygame-sdl2 libraries and…I think x32 library vs. x64 machine…? Just asking if you have any interest in revisiting the project, because the effect is really cool.

Off the top of my head, nothing in that project used python 2.7 exclusive code and pygame_sdl2 hasn't removed any functionality. I'm also able to run the pure python implementation inside Ren'Py 8, although I haven't tested the others. If you're trying to compile the code using cython 3 it's probably not going to work inside Ren'Py. Ren'py currently uses an old version of cython and you have to build against their target cython version. However, I haven't tried building cython code that's compatible with Ren'Py 8 so I can't say for sure. I can't give you any other advice without seeing the code you've modified and/or what you're trying to do to compile the code. Please open an issue in that project's github project with more information.

I actually managed to get it running. It was a very basic mistake, as you have probably figured. I used the wrong version of Cython. Thank you for your time!

this looks amazing

Best example (ref) to your own codex-system

Useful tool :)