DATA.JS issues

Get help using Construct 2

Post » Wed Nov 18, 2015 3:09 pm

I have an issue, after the export project data.js file is too big, how do I want to split data.js content in loaded when needed?
data.js file now has more than 5mb!
My game may have 100 levels in the future.
I need to split levels, event sheets,so that they are not in a data.js, when a level needed to load.(it's like to using AJAX to read json)
B
5
S
2
Posts: 2
Reputation: 379

Post » Thu Nov 19, 2015 6:48 am

is there anyone can get the point from poster? how can we take apart this data.js file ,or how can we make the layout with it's own eventsheet in only one data.js when our project had exported, or in the other way , do we make the layout into a data file while we need to load it , do all come ture? thks
B
72
S
25
G
5
Posts: 90
Reputation: 7,277

Post » Fri Nov 20, 2015 2:40 am

:?: is there anybody can help?
B
72
S
25
G
5
Posts: 90
Reputation: 7,277

Post » Fri Nov 20, 2015 9:33 am

Why is 5mb too big? You can't split that file but you could do your own level file format and load that as needed with Ajax.
B
92
S
32
G
109
Posts: 5,291
Reputation: 70,993


Return to How do I....?

Who is online

Users browsing this forum: Darknessed and 38 guests