This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dragengine:modules:dragonscript:simpleconversation [2025/03/13 23:00] – created dragonlord | dragengine:modules:dragonscript:simpleconversation [2025/03/13 23:13] (current) – dragonlord | ||
---|---|---|---|
Line 6: | Line 6: | ||
====== Simple Conversation ====== | ====== Simple Conversation ====== | ||
- | Simple conversations provide a quicker and easier way to create simple conversations compared to the [[conversation | + | <WRAP center 100%> |
+ | <WRAP center box 1050px> | ||
+ | {{ youtube> | ||
+ | <WRAP centeralign> | ||
+ | Video explaining what simple conversation are, what they can be used for and how they are created. Shown using Epsylon game project which uses simple conversation a lot.</ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Simple conversations provide a quicker and easier way to create simple conversations compared to the [[gamedev: | ||
Conversations in general compose of a series of actors speaking with camera angle changes in between. Furthermore actors do mouth animation, perform gestures, perform facial animation and looking at the currently speaking actor or other targets. For the majority of conversations the same type of camera shots are used with the same delays. This process can be sped up by generating actor speaking and camera changes according to common rules. Also speaking gestures or automatically looking at whatever actor is speaking is a common task that can be automated. All this is done by the simple conversation system to make conversations faster to build for which you do not need full control. | Conversations in general compose of a series of actors speaking with camera angle changes in between. Furthermore actors do mouth animation, perform gestures, perform facial animation and looking at the currently speaking actor or other targets. For the majority of conversations the same type of camera shots are used with the same delays. This process can be sped up by generating actor speaking and camera changes according to common rules. Also speaking gestures or automatically looking at whatever actor is speaking is a common task that can be automated. All this is done by the simple conversation system to make conversations faster to build for which you do not need full control. | ||
Line 198: | Line 206: | ||
</ | </ | ||
- | The text '' | + | The text '' |
<code xml> | <code xml> | ||
Line 219: | Line 227: | ||
==== Translations ==== | ==== Translations ==== | ||
- | With the simple conversation working one last thing to do sooner or later is translations to make the game available to people speaking a different language. Regular conversations require using [[language packs]]. This is the typical way translations are done. For large conversations this can be cumbersome to use. | + | With the simple conversation working one last thing to do sooner or later is translations to make the game available to people speaking a different language. Regular conversations require using language packs. This is the typical way translations are done. For large conversations this can be cumbersome to use. |
Simple conversation provide a nifty way to handle this. You can create a second simple conversation file which you load only if a specific language is used in your game. You load then first the original simple conversation and then the translated one. By calling SimpleConversation.importTranslation() you can then import the translated simple conversation and " | Simple conversation provide a nifty way to handle this. You can create a second simple conversation file which you load only if a specific language is used in your game. You load then first the original simple conversation and then the translated one. By calling SimpleConversation.importTranslation() you can then import the translated simple conversation and " |