[REQUEST] RPG-Dialogs plugin using .XML

Post your work in progress addons and get feedback

Post » Mon Aug 24, 2015 7:21 am

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:
--------------------------------------
Code: Select all
"<?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>"


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?
B
26
S
10
G
3
Posts: 585
Reputation: 4,597

Post » Wed Aug 26, 2015 12:36 pm

@Kyatric made a tutorial game+videos on making an RPG dialogue system using XML+SpriteFont. Check it out here.

I gave it a try but it was a bit over my head. I'm going to go back to when it when I'm a bit more familiar with some of the code in it.
B
45
S
13
G
3
Posts: 275
Reputation: 4,596

Post » Wed Aug 26, 2015 12:57 pm

Yes, i saw it, but too complicated for me and a lot of work to customize and add into my game.

For that i'm asking for a plugin, something easy to customize/config with all the logic "invisible" on you only need to setup some properties/parameters and config some events that can't be done in the other way. Something that everybody can get working in a few minutes with low skills like me :P .

Btw, i'm doing my own dialogs template for the game trying to keep all the most easy possible. If somebody codes the plugin perfect, if not well, at least i will have something working done by me that i can understand and get more experience.
B
26
S
10
G
3
Posts: 585
Reputation: 4,597

Post » Wed Aug 26, 2015 1:09 pm

matriax wrote:For that i'm asking for a plugin, something easy to customize/config with all the logic "invisible" on you only need to setup some properties/parameters and config some events that can't be done in the other way. Something that everybody can get working in a few minutes with low skills like me :P


Well consider me on board for requesting this plugin as well!
B
45
S
13
G
3
Posts: 275
Reputation: 4,596

Post » Thu Aug 27, 2015 8:19 am

Also in the @Kyatric example/template he not detect when the line is more bigger than the dialog box to press again and see the next part of the line and pass to the other character dialog when is completed.

For other part i was looking how to do things in his example to made my own and seems he do practically the same i had planned to do :P . One few differences is that he uses an atribute id=1 for the lines and i'm using the xpath expresion [1].

I think finally i will use icons instead dialogs to avoid all this arggg .

-

Still Nobody is available/interested on create a plugin like this? :(
B
26
S
10
G
3
Posts: 585
Reputation: 4,597

Post » Thu Aug 27, 2015 12:57 pm

@matriax, I was available but work and study got in the way.
If I started to code now I'd take a long time to finish the plugin.
I think it's a great idea though
B
48
S
14
Posts: 111
Reputation: 3,959

Post » Fri Aug 28, 2015 11:54 am

hello.i have test plugin and programm for making dialogues easily. will release it soon! demo (use arrows for movement, click on characters for dialogue. sorry for foreign language)
at this moment i`m working on easy inventory plugin
ImageImage
B
83
S
27
G
8
Posts: 191
Reputation: 11,095

Post » Sat Aug 29, 2015 12:43 am

@SirG I think I saw this in a past thread. Glad to see you're still working on it :D

By any chance will it support SpriteFont?
B
45
S
13
G
3
Posts: 275
Reputation: 4,596

Post » Sat Aug 29, 2015 8:28 am

@bclikesyou sure.I will be glad to any ideas or suggestions.pm me for all features you want
ImageImage
B
83
S
27
G
8
Posts: 191
Reputation: 11,095

Post » Sat Aug 29, 2015 8:36 am

SirG wrote:hello.i have test plugin and programm for making dialogues easily. will release it soon! demo (use arrows for movement, click on characters for dialogue. sorry for foreign language)
at this moment i`m working on easy inventory plugin


@SirG Exactly of what i need, a dialogue an inventory plugin for my RPG :P

As @bclikesyou said, will be great if the dialogue plugin uses SpriteFont and will be great .XML for dialogues.

About features like the ones i said: a Typewriter parameter to activate it On|Off with another for the speed,etc...
B
26
S
10
G
3
Posts: 585
Reputation: 4,597

Next

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests