Spriter and CocoonJS

Discussion and feedback on Construct 2

Post » Mon Nov 26, 2012 6:40 pm

Hey,
Are there any plans on getting Spriter to run on CocoonJS or is it entirely up to the Ludia guys? It complains about Ajax.
B
17
S
6
G
6
Posts: 100
Reputation: 4,885

Post » Tue Nov 27, 2012 12:51 am

I think Ludei are working on fixing their AJAX support for the next release.
Scirra Founder
B
383
S
225
G
86
Posts: 24,134
Reputation: 190,601

Post » Sat Apr 13, 2013 3:56 pm

Does anyone know if Spriter can export to CocoonJS?
B
43
S
5
G
5
Posts: 410
Reputation: 5,742

Post » Sat Apr 13, 2013 4:01 pm

I think the problem is CocoonJS doesn't support XML parsing, which is the format of the Spriter files.
Scirra Founder
B
383
S
225
G
86
Posts: 24,134
Reputation: 190,601

Post » Sat Apr 13, 2013 5:08 pm

http://nfarina.com/post/34302964969/a-lightweight-xml-document-class-for-nodejs-javascript

In the meantime? There should be other XML parsers that are not using the built in system. It should be possible to substitute the missing native parser with an actual JS parser.

I'm also dependent on Spriter/CJS in the near future. No option, no work around. So I'm very invested.

it's interesting. I wrote a JSON parser before I even new JSON existed. Amusing story really. I was at the time needing someway to store my level data and test scenes in 3d. I found the overhead to have to compile a new scene test annoying. I recalled I really liked CSS formatting style. So I wrote a parser for CSS. Then I discovered JSON :D

I also had a friend who wrote an XML parser in the earlier days of XML. These aren't rocket science to write. In fact there should be some already. Native to JS. It shouldn't be all that difficult to as mentioned. Substitute all the missing XMLParser object with some one elses.

If CJS isn't out by time I reach the point of no progress without it. Then I will look into doing this. Fortunately most of the technology has been just a little ahead of my needs :)
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,013

Post » Sat Apr 13, 2013 6:47 pm

I cold possibly create my own animation tool just to record normal x,y,angle coordinates, save them and then execute in my games.

B
43
S
5
G
5
Posts: 410
Reputation: 5,742

Post » Wed May 29, 2013 6:43 pm

Have there been any updates by the CocoonJS folks?
B
17
S
4
G
4
Posts: 143
Reputation: 4,004

Post » Sat Sep 07, 2013 11:54 pm

any updates here guys?
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
6
G
5
Posts: 391
Reputation: 5,662

Post » Sun Sep 08, 2013 1:38 pm

BrashMonkey are working on a JSON format for Spriter to get it working in CocoonJS, AFAIK.
Scirra Founder
B
383
S
225
G
86
Posts: 24,134
Reputation: 190,601


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest