EquinoxDialogue
1.0.0
请注意!该存储库已存档。我已经签订了撰写专有版本的合同,因此不打算在宽敞的未来更新此存储库。就是说,如果有人愿意分叉,请随时这样做。

在这里尝试! https://nlaha.github.io/equinoxdialogue/
Equinox对话是一种基于网络的对话树建筑商,用于Equinoxengine。它是使用React构建的,如果您是贡献者,请阅读下面的说明。
什么是“ Equinox Engine”?这是我正在研究的事情,尚未准备好开源!


单击“保存或导出”,构建对话树。保存将序列化整个树 +元数据,而导出只会导出游戏引擎所需的数据。该工具旨在在每个树系统上使用一个NPC,因此对于每个NPC,您将拥有一个专用的.dlg文件。目前,它在单个对话中不支持多个NPC。
有限的副本/粘贴支持可通过以下方式获得: CTRL-C CTRL-V
删除节点或连接: DEL
通过SHIFT左鼠标按钮来选择多个节点
我建议使用纱线,但npm run也有效
开始开发服务器运行...
yarn start
构建用于生产运行的静态文件...
yarn build
在开发模式下启动电子应用程序...
yarn electron:start
将电子应用程序打包为可执行的运行...
yarn electron:package:<mac,win,linux>
用您的操作系统替换<mac,win,linux>
以下是来自导出的对话树的样本JSON
{
"id" : " node_0 " ,
"npc_name" : " AI Character " ,
"type" : " dialogue_entry " ,
"responses" : [
{
"type" : " none " ,
"next" : {
"id" : " node_1 " ,
"type" : " gameplay_event " ,
"responses" : [
{
"type" : " pass " ,
"next_node" : {
"id" : " node_2 " ,
"type" : " dialogue_event " ,
"responses" : [
{
"type" : " end_response " ,
"text" : " Yes "
},
{
"type" : " choice_response " ,
"text" : " No " ,
"next_node" : {
"id" : " node_3 " ,
"type" : " jump_node " ,
"responses" : [
{
"type" : " end_response " ,
"text" : " Exit "
}
],
"jump_to" : " node_1 "
}
},
{
"type" : " choice_response " ,
"text" : " Other Response " ,
"next_node" : {
"id" : " node_4 " ,
"type" : " gameplay_event " ,
"responses" : [
{
"type" : " end_response " ,
"text" : " Exit "
}
],
"event" : " test_gameplay_event_2 "
}
}
],
"npc_text" : " This is a test dialogue node "
}
}
],
"event" : " test_gameplay_event_1 "
}
}
],
"gameplay_events" : [
" test_gameplay_event_1 " ,
" test_gameplay_event_2 "
]
}