Something went wrong. Try again later

Warrozo

This user has not updated recently.

191 48 4 25
Forum Posts Wiki Points Following Followers

Random Projects : Dialogue system

This project was suggested by OverByte who mentioned a branching story so I decided to make it into a Dialogue system using XML so it can be changed without any real code changes.   At the moment it's pretty bare-bones but if anyone has any ideas what to do with it just give me a shout! :D
 
The structure of the XML it reads
<?xml version="1.0" encoding="utf-8" ?>
<dialogs id="1">
<dialog id="1" character="1">
<message>Demonstration Message</message>
<options>
<option key="1" value="2">Awesome!</option>
<option key="2" value="3">The End?!</option>
</options>
</dialog>
<dialog id="2" character="1">
<message>Message Two</message>
<options>
<option key="1" value="3">The End!</option>
</options>
</dialog>
<dialog id="3" character="1">
<message>This is the end...</message>
<options>
<option key="1" value="1">The Start?!</option>
</options>
</dialog> </dialogs> 
 

What it looks like...

 
At the moment the "Story" is really just a demo, but if anyone fancies making something with me using this I have no problem on expanding it! 
Currently it is here - http://www.dannygoodayle.com/DialogueSystem.html
1 Comments