Parse xml to text

Get help using Construct 2

Post » Fri Aug 24, 2012 7:53 pm

Hello!

Here goes my very first post!

I'm trying to use the XML plugin to show text on screen, each line when a buttom is pressed or touch happens (like in a visual novel).

Already browsed these topics for answers:

http://www.scirra.com/manual/139/xml/page-1

http://www.scirra.com/forum/visual-novel-dialogue_topic46779.html

http://www.scirra.com/tutorials/354/xml-parsing

http://www.liquid-technologies.com/xml.aspx

http://www.scirra.com/forum/xml-tutorial_topic52382.html

The example on the second link loads the entire xml and shows on screen. I'd like to create a xml with all the in-game text and load each line (or paragraphs) one by one or set the pace that the letters are displayed not all at the same time. I never used any kind of parser. Ren'py or Novelty doesn't allow me (not as easy as in C2) to add gameplay or effects.

Is there an example that shows how to achieve this?
If not, can someone point me the direction?
Is there another way to achieve this?

Thanks in advance!
B
3
Posts: 7
Reputation: 464

Post » Mon Aug 27, 2012 8:02 pm

Sorry for bumping this post but I still haven't found an answer or any kind of how-to. If possible, can someone help me?

Just to add more information, the .xml will be packaged with the ".exe" and the game will not run from a server.jaojao2012-08-27 20:13:25
B
3
Posts: 7
Reputation: 464


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 1 guest