马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
本帖最后由 怀念丶落樱 于 2022-3-28 20:23 编辑
[RenPy] 纯文本查看 复制代码
define congli = Character("从离")
define pcok = Character("ok")
define bshu = Character("B叔")
init:
image KP_tomato_eye_a_frame_1:
"images/yan/maid1.png" #眼图片
image KP_tomato_eye_a_frame_2:
"images/yan/maid2.png" #眼图片
image KP_tomato_eye_a_frame_3:
"images/yan/maid8.png" #眼图片
image KP_tomato_eye_close:
"images/yan/maid6.png" #眼图片
image KP_tomato_eye:
"KP_tomato_eye_a_frame_1"
choice 5:
5.0
choice 4:
3.0
choice 1:
1.0
"KP_tomato_eye_a_frame_2"
0.1
"KP_tomato_eye_a_frame_3"
0.1
"KP_tomato_eye_close"
0.1
"KP_tomato_eye_a_frame_3"
0.1
"KP_tomato_eye_a_frame_2"
0.1
repeat
layeredimage KP_立绘:
always:
"images/maid1.png" #人物图片
group pose:
attribute pose1 default:
"KP_tomato_facel" #不懂
group face:
pos (1302,644)
attribute face1 default:
"KP_tomato_facel" #不懂
attribute 尴:
"KP_tomato_尴" #不懂
attribute 滑稽:
"KP_tomato_滑稽" #不懂
attribute 惊:
"KP_tomato_惊" #不懂
attribute 思考:
"KP_tomato_思考" #不懂
init python:
def KP_talk(st,at):
if renpy.music.is_playing(channel="voice") and get_voice_info().tag == "KP":
return ("maid1.png", 0.1) #嘴图片
else:
return ("maid2.png", 0.1) #嘴图片
def KP_talk2(st,at):
if renpy.music.is_playing(channel="voice") and get_voice_info().tag == "KP":
return ("maid1.png", 0.1) #嘴图片
else:
return ("maid2.png", 0.1) #嘴图片
image KP_tomato_speak = DynamicDisplayable(KP_talk)
image KP_tomato_speak2 = DynamicDisplayable(KP_talk2)
define KP = Character("KP",voice_tag = "KP")
label start:
show KP_tomato_eye:
pos (600,344)
KP "测试测试"
voice "music/voice.ogg"
KP "测试测试"
KP "测试测试"
return
图片与音乐 链接: https://pan.baidu.com/s/1SA9Wsi1BCejjuJxWOgFmJQ 提取码: w6e1
只有眼在哪里眨啊眨......我嘴呢?
这是B站大佬制作的,我抄了两次都是这样,我哪里错了? 求指正!
|