跳转至

拼音标注和内涵词解释

关键词:Ruby Text,拼音

https://www.renpy.org/dev-doc/html/text.html#ruby-text

形式是 拼音 内涵词的解释


使用方法:

  1. 先去修改 screens.rpy
style ruby_style is default:
    size 12 ## 记得该大小以符合拼音位置
    yoffset -20

style say_dialogue:
    line_leading 12
    ruby_style style.ruby_style

style history_text:
    line_leading 12
    ruby_style style.ruby_style
  1. 对话文本进行文本标注,具体bug看文档,简单的多半不需要
    e "Ruby can be used for furigana (【東|とう】 【京|きょう】)."

    e "It's also used for translations (【東京|沉默中心】)."

    e "【【This is not | ruby text.】" ## bug