[Tutorial]A dialog box system using XML

Get help using Construct 2

Post » Thu Jul 23, 2015 9:17 pm

Image
Playable example and capx download in Scirra's arcade

Find the tutorial video Part 1, Part 2 and Part 3 for this game in the Construct2 Academy playlist on Youtube

*DISCLAIMER*
The code and logic of the example can be pretty complicated.
If you are a complete beginner, try your hands at beginner's tutorials first and small examples to get the hang of Construct 2 and its events system.


Feel free to use this topic to discuss the example and implementation.
I won't necessarily have answers for all questions/comments but the community is welcome to participate as well.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086

Post » Fri Jul 24, 2015 10:25 am

Find the tutorial video Part 1, Part 2 and Part 3 for this game in the Construct2 Academy playlist on Youtube

The videos are now uploaded and can be viewed.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086

Post » Fri Jul 24, 2015 1:46 pm

:Thanks! I requested this on Twitter and you guys obviously listen :D

Will be trying it out over the next week or two.
B
44
S
13
G
1
Posts: 267
Reputation: 3,555

Post » Mon Aug 17, 2015 6:04 am

Wow, this is very useful, thanks. Also, where can we find the .xml file? it's not attached to the project
B
3
S
1
Posts: 1
Reputation: 329

Post » Mon Aug 17, 2015 6:55 am

The 'Dialogs.xml' is already part of the .capx as a Project file.

The .capx is available from the playable Arcade link, as mentioned in the first post by Kyatric.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,489
Reputation: 59,764

Post » Wed Oct 07, 2015 10:08 am

New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086

Post » Wed Mar 09, 2016 11:34 pm

Thanks Kyatric for this brilliant XML dialogue system method.
You can check my prototyping based on your work by here:
http://spinofgames.com/?url=dialog
USER=SPI PASS=NOF
Best regards! Seb
B
37
S
14
G
9
Posts: 62
Reputation: 7,233

Post » Thu Mar 10, 2016 10:56 am

@Sebastien : Pretty cool :)
Thanks for sharing.

Although, it is a bit brutal, I wonder if unions do really negotiate like that :D
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086

Post » Fri Mar 11, 2016 4:40 am

"Any resemblance to real and actual names is purely coincidental..." :lol:
I hope to have more time to experiment. Thanks again, happy you like it.
B
37
S
14
G
9
Posts: 62
Reputation: 7,233

Post » Mon Mar 28, 2016 11:30 am

Hello everyone! Somebody ask me in private about the "once only answer type".
Here is a part of my reply in case this simple method can help someone else.

I have created a "once" attribute in XML with the value 1 on concerned answers.

Eg: <answer id='YOUR_ID' once='1'>Bla, bla, bla...</answer>
NB: in my version, "id" attribute is numeric.

And next, here is a screenshot on how to manage it in the event sheet:

Image

I hope it will help. Best regards, Sébastien
B
37
S
14
G
9
Posts: 62
Reputation: 7,233

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests