A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
valery_iwanofu
Newbie
Posts: 8 Joined: Tue May 18, 2021 2:56 am
Contact:
#1
Post
by valery_iwanofu » Sun Nov 20, 2022 9:43 am
Screenshots:
Github repository:
https://github.com/valery-iwanofu/renpy ... escription
Usage:
Download game/glossary_core.rpy from repository to game folder of your project
Customize view of glossary_word and glossary_word_frame screens in glossary_core.rpy file
Define glossary words:
Code: Select all
init python:
GlossaryWord(
uid='unique_word_id',
word=_('Tatakae'),
description=_('Means fight in Japanese.')
)
Use glossary in characters lines:
Code: Select all
eren '{glossary=unique_word_id}Tatakae, tatakae, tatakae{/glossary}.'
hange 'Are you mad?'
Tess
Regular
Posts: 59 Joined: Thu Aug 04, 2022 3:43 pm
Projects: The Songbird Guild
Organization: Yurisoft
Github: wainwt2
Discord: Tess#7782
Contact:
#2
Post
by Tess » Mon Nov 21, 2022 1:00 pm
I was already trying to work on something like this myself for a game, but this looks like it'll do the job really well already. Thanks for posting this!
Users browsing this forum: No registered users