|
14.
|
|
|
And the dialogue identifier is ``demo_minigame_03fc91ef``, then when the corresponding line is shown, Ren'Py will look for the file ``voice/demo_minigame_03fc91ef.ogg``. If the file exists, Ren'Py will play it.
|
|
|
|
然后对话识别符为``demo_minigame_03fc91ef``,那么当对应的行被显示出来时,Ren'py就会寻找文件``voice/demo_minigame_03fc91ef.ogg``。如果文件存在,Ren'py就会播放它。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:86
|
|
15.
|
|
|
Voice Functions
|
|
|
|
Voice函数
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:93
|
|
16.
|
|
|
Plays `filename` on the voice channel. The equivalent of the voice statement.
|
|
|
|
在语音通道中播放`文件名`,与使用voice语句是同样的效果。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/inc/voice:5
|
|
17.
|
|
|
`filename`
|
|
|
|
`filename`
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/inc/voice:11
|
|
18.
|
|
|
The filename to play. This is used with :var:`config.voice_filename_format` to produce the filename that will be played.
|
|
|
|
需要播放的文件名。这需要用到:var:`config.voice_filename_format`来提供需要播放的文件名。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/inc/voice:9
|
|
19.
|
|
|
`tag`
|
|
|
|
`tag`
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/inc/voice:20
|
|
20.
|
|
|
If this is not None, it should be a string giving a voice tag to be played. If None, this takes its default value from the voice_tag of the Character that causes the next interaction.
|
|
|
|
如果此处不为None,那么它应为提供需要播放的语音标签的字串。如果是None,那么它将会使用下一个动作里角色的voice_tag中的默认值。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/inc/voice:14
|
|
21.
|
|
|
The voice tag is used to specify which character is speaking, to allow a user to mute or unmute the voices of particular characters.
|
|
|
|
语音标签用于定义说话的角色,使您能够有选择性地屏蔽特定角色的语音。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/inc/voice:19
|
|
22.
|
|
|
Returns true if it's possible to replay the current voice.
|
|
|
|
如果可播放当前语音,则返回True值
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/inc/voice:25
|
|
23.
|
|
|
Replays the current voice, if possible.
|
|
|
|
如果可能,则重新播放当前语音。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/inc/voice:29
|