The idea is create a plugin for RPG dialogs that uses XML.
I'm working on a RPG game(this: http://kronbits.itch.io/kingdom-of-nerea-dark-ages) and the dialogs are a headache to work like i want. I posted in the "how do I" a .capx example with things i've done here: how-do-i-stop-continue-dialogs-when-the-box-is-full-usin-xml_t152438 . But after see all that i have to do and the mess i'm doing will be great a plugin to do all that.
I know there is some template dialogs on the Scirra Store but i'm looking for a easy plugin that can use SpriteFont+XML.
I'm looking for a plugin with some properties like:
----------------------------------------------------
Typewritter: Yes|No
Typewritter Speed: [float value]
On more text: Clear|Newline
Show avatars: Yes|No
etc...
Some config group in the event sheet with things like:
(things that can't be configured with the plugin parameters/properties)
-----------------------------------------------------------
On press X -> "RPG-Plugin More text action"
"RPG-Plugin Typewriter Sound" -> Play "typechar" no looping.
etc...
And that works in some way like this:
--------------------------------------
On colision with Sprite.OldMan -> [SpriteFont object] Set text to RPG-Plugin(Oldman_Hero_Dialog_1)
The .XML will be:
--------------------------------------
"<?xml version='1.0' encoding='us-ascii'?>
<en_lang>
<Oldman_Hero_Dialog_1> <!-- Dialog refer in the event -->
<hero>Hi oldman!</hero> <!-- Character dialogs -->
<oldman>Hi kid</oldman>
<hero>How are you?</hero>
<oldman>Well thanks</oldman>
</Oldman_Hero_Dialog_1>
</en_lang>"[/code:t5a0vsvd]
With a plugin like that everybody will can create any RPG dialogs easily without know nothing about CSV/json/Dictionary or Databases as i saw in some dialog templates :S .
I don't know if this can be possible or if there is a more easy way to do all that but this is the idea, What you think?