[SOLVED]How do I export xml file from C2?

Get help using Construct 2

Post » Tue Jul 04, 2017 4:45 am

Hi guys, I haven't touched Construct for a while and now I'm building a simple level editor to save/load game levels.
I managed to get all the stuff I want into a text variable but I can't figure out how to create/write a XML file from withting construct, any solution works, I just need to export a file with my text variable content on it. Loading xml files and building the levels already works fine using FileChooser to select the level file.
Last edited by caiorosisca on Tue Jul 04, 2017 1:58 pm, edited 2 times in total.
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643

Post » Tue Jul 04, 2017 4:56 am

@caiorosisca

rex_XMLWriter
B
108
S
26
G
272
Posts: 4,471
Reputation: 152,277

Post » Tue Jul 04, 2017 1:10 pm

rexrainbow wrote:@caiorosisca

rex_XMLWriter


@rexrainbow , so long since last time I used the forum and you are still here saving me. Thanks man
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643

Post » Tue Jul 04, 2017 1:15 pm

@rexrainbow is there a way to export this xml? I need to download it to my computer.
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643

Post » Tue Jul 04, 2017 1:58 pm

I just found a solution using Browser.InvokeStringDownload, or something similar to that. :)
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 42 guests