77范文网 - 专业文章范例文档资料分享平台

unity对话插件教程 VISUAL NOVEL,RPG CONVERSATION SYSTEM(3)

来源:网络收集 时间:2019-04-15 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

NOTE – Sometimes the system will fail to find the characters in the sample. If this happens go to Resources>Character and drag ‘Alice’, ‘Lizzie’ and ‘Natasha’ into the Hierarchy.

Step 11 – Save the scene.

TUTORIAL – CREATING A NEW CHARACTER

Okay so you have seen the system work and are now wondering how to add a YOUR character into the system. It’s really simple.

Step 1 – Open the scene you saved from the previous tutorial. Or open ‘SampleCutscene’ from the Samples. Step 2 – Drag in ‘BlankCharacter’ to the Hierarchy, this is obtained from Prefabs>Character. Step 3 - Select ‘Blank’ in the Hierarchy.

11

Step 4 – Select the image you wish to use for a character and just drag it into the inspector or onto the instance in scene view.

Step 5 – If you wish to see your character in the Inspector drag the same image into the ‘Image’ field on the Character inspector.

12

Step 6 – In the Inspector you can now give your character a name and speech colour and determine which way the character will face.

Step 7(Optional) – You can use the default tools within Unity to move and scale the graphic wherever you see fit.

Step 8 – Disable the Mesh Renderer component in the inspector.

Step 9 – Make a prefab in Resources>Character with the same name as your newly created character. Drag the Character into this prefab. Step 10- Save.

TUTORIAL – CREATING A NEW BACKGROUND

This section covers adding new background images.

Step 1 – Open the scene you saved from the previous tutorial. Or open ‘SampleCutscene’ from the Samples. Step 2 – Drag in ‘BlankBackground’ to the Hierarchy, this is obtained from Prefabs>Background. Step 3 – Select the ‘ImagePlane’ child Object. Step 4 – Drag your image onto the plane.

Step 5 – Go back to the parent object. And give the background a name.

Step 6 – Store this as a new prefab in either Prefabs or Resources, try to keep it in a folder marked ‘Backgrounds’. Step 7 – Save.

13

TUTORIAL – CREATING A CONVERSATION SCRIPT

Right let’s put all of this together and build a conversation.

Step 1 – Launch the conversation editor by selecting Window>ConversationSystem>Dialog Editor.

Step 2 – The system will automatically produce a new script ready for editing for you. Click the New Scene button to begin.

14

Step 3 – First give your scene a name, then select the background you wish to use for the scene, along with any music if you have any.

Step 4 – Each scene can have as many paths as you desire and can be set to go to any and all paths from a

question. Let’s add our first path. Give it a name. The flag for leads to game over should force the game to look for a game over level when it reaches the end. This isn’t strictly implemented and will need some code along the lines shown below.

15

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库unity对话插件教程 VISUAL NOVEL,RPG CONVERSATION SYSTEM(3)在线全文阅读。

unity对话插件教程 VISUAL NOVEL,RPG CONVERSATION SYSTEM(3).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/598350.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: