KeyFC欢迎致辞,点击播放
资源、介绍、历史、Q群等新人必读
KeyFC 社区总索引
如果你找到这个笔记本,请把它邮寄给我们的回忆
KeyFC 漂流瓶传递活动 Since 2011
 

[KFC同人组]吉里吉里2/KAG3 KCDDP特别版 测试

[ 24463 查看 / 21 回复 ]

回复:[KFC同人组]吉里吉里2/KAG3 KCDDP特别版 测试

我认罪伏法……
本来某应该有责任修改好演示游戏的剧本的……

可是……提交回女神的东西还是出了些小Bug……

那么……修正补丁:
http://www.keyfc.net/bbs/upload/KFCFile9553_scenario.zip

请大家自行解压到 演示版\scenario\ 下覆盖源文件……
我自裁去了……
分享 转发
なのに、春を待ちわびる心消せない。
いつか、晴れた空のような笑顔に会えるよね?

……陽だまりの中で……
TOP

回复:[KFC同人组]吉里吉里2/KAG3 KCDDP特别版 测试

嗯……建议加入可回放的语音播放……
实现的似乎丑陋了一点……应该也可以直接使用se对象的WaveSoundBuffer实现吧……不过没有研究……
不过我想没关系……反正都封装了……Orz

代码:在macro.ks中加入

@iscript
tf.WSB=new WaveSoundBuffer(null);
tf.strs1="histvoice(\"";
tf.strs2="\")";
function histvoice(storage)
{
    kag.se[0].stop();
    if(!Storages.isExistentStorage(storage))
    {
        var test;
        if(test = storage + ".wav", Storages.isExistentStorage(test))
            storage = test;
        else if(test = storage + ".ogg", Storages.isExistentStorage(test))
            storage = test;
        else if(test = storage + ".tcw", Storages.isExistentStorage(test))
            storage = test;
        else
            throw new Exception("SE " + storage + " 未找到");
    }
    tf.WSB.open(storage);
    tf.WSB.play();
}
@endscript

;语音播放(可以回放)
@macro name=lvoice
@eval exp="tf.WSB.stop()"
@playse storage=%file buf=0
@link clickse=%file clicksebuf=0 exp="tf.WSB.stop()"
@eval exp="tf.ds=tf.strs1+mp.file+tf.strs2"
@hact exp=&tf.ds
@endmacro

@macro name=lvend
@endlink
@endhact
@endmacro

以下内容仅允许 瑞树、Taishen 浏览:

您被禁止浏览此处内容

なのに、春を待ちわびる心消せない。
いつか、晴れた空のような笑顔に会えるよね?

……陽だまりの中で……
TOP

回复:[KFC同人组]吉里吉里2/KAG3 KCDDP特别版 测试

生成EXE么?把Plugin下的那些dll文件也拖进工程目录吧……
なのに、春を待ちわびる心消せない。
いつか、晴れた空のような笑顔に会えるよね?

……陽だまりの中で……
TOP