Does XML work with CocoonJS (Android)

Discussion and feedback on Construct 2

Post » Sun Mar 17, 2013 12:14 am

Hi, I'm finally getting around to messing with my game,

And I have one qustion: Does XML work with CocoonJS on Android?

If not are there any alternatives that will. I want to work out stats for items then import into the game.

Thanks All!
Follow me on Twitter @evgLabs
B
33
S
14
G
4
Posts: 251
Reputation: 4,049

Post » Sun Mar 17, 2013 12:25 pm

No, it's not supported on CocoonJS.

Would you contact to @ludei about XML support? we would like to have working XML on CocoonJS
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Post » Sun Mar 17, 2013 4:58 pm

You can use JSON-based formats as a workaround (data saved and loaded from Array or Dictionary).
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Mon Mar 18, 2013 3:39 am

@Ashley Is there a good away of loading in a lot of data like that? I could write a script to transform XML into another kind of text data, but where would I put it? Thanksbasspenguin2013-03-18 03:42:23
B
37
S
9
G
7
Posts: 143
Reputation: 6,017

Post » Tue Apr 30, 2013 10:35 am

I'm building a game with a delimited text file for data. All is working well on the CooconJS iOS test harness, but the file is not loaded when I try it in the Android test harness.

That's a real pain! Needs to work on both for me to implement this way.

Hope CooconJS sort it soon.

Cheers, Anthony.
B
5
Posts: 18
Reputation: 821

Post » Tue Apr 30, 2013 2:27 pm

@blymi - best tell Ludei about the issue to make sure they're aware of it.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Thu Jul 11, 2013 1:00 am

I have the same problem (((
Looks like there is still no progress in this direction
B
22
S
5
Posts: 6
Reputation: 2,332

Post » Fri Jul 12, 2013 1:30 am

I was told that they from ludei
Can you use .json instead of .xml files?
B
22
S
5
Posts: 6
Reputation: 2,332

Post » Fri Jul 12, 2013 2:01 am

@EGOmaniack Use Dictionary or Arrays
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613


Return to Construct 2 General

Who is online

Users browsing this forum: saiyadjin and 2 guests