How do I can repair data.js

Get help using Construct 2

Post » Thu Dec 25, 2014 6:07 pm

Hi. When i export my game to visual studio i have error in data.js. 'Expected ;" at the { "project":(here is expected ; instead of : ) [null,null,[[0... I dont know how to fix this please help.

When i leave ":" game will run but when i want to create package diagnostics will turn red :(
When i change : to ; game will crash:(

full data.js


{ "project": [null,null,[[0,true,false,false,false,false,false,false,false,false],[1,true,false,false,false,false,false,false,false,false],[2,true,false,false,false,false,false,false,false,false],[3,false,true,true,true,true,true,true,true,false],[4,false,true,true,true,true,true,true,true,false],[5,true,false,false,false,false,false,false,false,false]],[["t0",5,false,[],0,0,null,null,[],false,false,7544119904929598,[],null,[0,1,1,1]],["t1",0,false,[],0,0,null,null,[],false,false,4746100184104679,[],null,[]],["t2",1,false,[],0,0,null,null,[],false,false,8499203734398419,[],null,[1]],["t3",3,false,[],0,0,null,[["Default",5,false,1,0,false,8014487847490256,[["images/typek-sheet0.png",41604,0,0,685,325,1,0.4992699921131134,-0.181538000702858,[],[-0.4204379022121429,0.230768695473671,0.4394160211086273,0.2246149033308029,0.4218979775905609,0.7815380096435547,-0.4248173832893372,0.7630760073661804],0]]]],[],false,false,6483160000084188,[],null],["t4",3,false,[],2,0,null,[["Default",5,false,1,0,false,5717295393140172,[["images/Łapy-sheet0.png",47995,0,0,685,260,1,0.5065690279006958,0.6115379929542542,[],[0.4277369976043701,-0.2576919794082642,0.4291979670524597,-0.3499999940395355,-0.4189777374267578,-0.3499999940395355,-0.4175179302692413,-0.2692299783229828],0]]]],[["8Direction",6,9782953365035644],["Solid",7,8958155978814178]],false,false,7266309146443471,[],null],["t5",3,false,[],0,0,null,[["Default",5,false,1,0,false,8868930557052845,[["images/klocek-sheet0.png",481,0,0,36,122,1,0.4444440007209778,0.5,[],[],0]]]],[],false,false,3386324563801071,[],null],["t6",3,false,[],0,0,null,[["Default",5,false,1,0,false,4074329968110435,[["images/sprite2-sheet0.png",155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[],false,false,5595764599077205,[],null],["t7",4,false,[],0,0,null,null,[],false,false,34643499806365,[],null],["t8",3,false,[],0,0,null,[["Default",5,false,1,0,false,2618916553394294,[["images/klocek-sheet0.png",481,0,0,36,122,1,0.4166670143604279,0.508197009563446,[],[],0]]]],[],false,false,7549556588226292,[],null],["t9",3,false,[],0,0,null,[["Default",5,false,1,0,false,4081719403631428,[["images/guzik-sheet0.png",15164,0,0,366,283,1,0.5218579769134522,0.8515899777412415,[],[],0],["images/guzik-sheet1.png",13883,0,0,366,283,1,0.5218579769134522,0.8515899777412415,[],[],0]]]],[],false,false,2018907590115591,[],null],["t10",3,false,[],0,0,null,[["Default",5,false,1,0,false,4159534175619571,[["images/guzik-sheet0.png",15164,0,0,366,283,1,0.5218579769134522,0.8515899777412415,[],[],0],["images/guzik-sheet1.png",13883,0,0,366,283,1,0.5218579769134522,0.8515899777412415,[],[],0]]]],[],false,false,6183753090963367,[],null],["t11",4,false,[],0,0,null,null,[],false,false,7951589079910025,[],null],["t12",3,false,[],0,0,null,[["Default",5,false,1,0,false,9951062887643654,[["images/tło-sheet0.png",2629803,0,0,1708,960,1,0.5,0.5,[],[],1]]]],[],false,false,613850376349482,[],null],["t13",2,false,[],0,0,null,null,[],false,false,2039291038693333,[],null,[]],["t14",3,false,[],1,0,null,[["Default",5,false,1,0,false,1810944932052972,[["images/sprite-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[["Solid",7,541999116822484]],false,false,7960121744170855,[],null]],[],[["Layout 1",1708,960,false,"Event sheet 1",8873350371196689,[["Layer 0",0,8722530541249526,true,[255,255,255],false,1,1,1,false,1,0,0,[[[432,248,0,864,496,0,0,1,0.5,0.5,0,0,[]],12,14,[],[],[0,"Default",0,1]],[[425,193,0,13,343,0,1.570792078971863,1,0.4166670143604279,0.508197009563446,0,0,[]],8,3,[],[],[0,"Default",0,1]],[[275,235,0,13.45977783203125,252.4553680419922,0,0,1,0.4444440007209778,0.5,0,0,[]],5,4,[],[],[0,"Default",0,1]],[[567,230,0,13.45977783203125,252.4553680419922,0,0,1,0.4444440007209778,0.5,0,0,[]],5,5,[],[],[0,"Default",0,1]],[[423,293,0,388,140,0,0,1,0.5065690279006958,0.6115379929542542,0,0,[]],4,6,[],[[100,600,500,0,0,1,1],[1]],[0,"Default",0,1]],[[422,251,0,366,159,0,0,1,0.4992699921131134,-0.181538000702858,0,0,[]],3,7,[],[],[0,"Default",0,1]],[[747,441,0,208,151,0,0,1,0.5218579769134522,0.8515899777412415,0,0,[]],9,8,[],[],[0,"Default",0,1]],[[111,436,0,208,151,0,0,1,0.5218579769134522,0.8515899777412415,0,0,[]],10,9,[],[],[0,"Default",0,1]],[[116,42,0,217.0738372802734,38,0,0,1,0.5,0.5,0,0,[]],6,10,[],[],[0,"Default",0,1]],[[22,33,0,200,30,0,0,1,0,0,0,0,[]],11,11,[],[],["Wynik: 0",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[116,94,0,217.0738372802734,38,0,0,1,0.5,0.5,0,0,[]],6,12,[],[],[0,"Default",0,1]],[[22,82,0,200,30,0,0,1,0,0,0,0,[]],7,13,[],[],["",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[448,533,0,1100,250,0,0,1,0.5,0.5,0,0,[]],14,16,[],[[1]],[0,"Default",0,1]]],[]]],[],[]]],[["Event sheet 1",[[1,"Hiscore",0,0,false,false,9749482888246272,false],[1,"Score",0,0,false,false,2869051976682188,false],[1,"czySpadac",0,0,false,false,4497394274877879,false],[0,null,false,null,8945213726965009,[[-1,8,null,0,false,false,false,1909587792795954,false,[[11,"czySpadac"],[8,0],[7,[0,1]]]]],[[4,9,"8Direction",4833836152024903,false,[[3,3]]]]],[0,null,false,null,101783197436775,[[-1,10,null,1,false,false,false,264566593352149,false]],[[-1,11,null,1863311162775315,false,[[0,[0,3]]]],[-1,12,null,5013154667272449,false,[[11,"czySpadac"],[7,[0,1]]]]]],[0,null,true,null,4878673571053912,[[2,13,null,1,false,false,false,3829853798806213,false,[[4,9]]],[1,14,null,1,false,false,false,3407538564582758,false,[[9,90]]]],[[4,15,null,1633882459231548,false,[[0,[5,[20,4,16,false,null],[0,12]]]]],[9,17,null,3890979988782713,false,[[0,[0,0]]]]]],[0,null,true,null,8301480289531841,[[2,13,null,1,false,false,false,6920823799200694,false,[[4,10]]],[1,14,null,1,false,false,false,427371291123575,false,[[9,88]]]],[[4,15,null,5597450102459063,false,[[0,[5,[20,4,16,false,null],[0,12]]]]],[9,17,null,1336800291063081,false,[[0,[0,0]]]]]],[0,null,false,null,6729704117365856,[[4,18,null,0,false,false,true,144041324773928,false,[[4,8]]]],[[4,15,null,4013681578418648,false,[[0,[0,277]]]],[-1,19,null,734763097275468,false,[[11,"Score"],[7,[0,1]]]],[11,20,null,630610795964657,false,[[7,[10,[2,"Score: "],[23,"Score"]]]]]]],[0,null,false,null,2406595125008201,[[-1,8,null,0,false,false,false,9356556228607666,false,[[11,"Score"],[8,4],[7,[23,"Hiscore"]]]]],[[13,21,null,1937787518091148,false,[[1,[2,"Hiscore"]],[7,[23,"Score"]]]]]],[0,null,false,null,2237748521645154,[[13,22,null,0,false,false,false,276001841725603,false,[[1,[2,"Hiscore"]]]]],[[-1,12,null,8467411254516124,false,[[11,"Hiscore"],[7,[20,13,23,true,null,[[2,"Hiscore"]]]]]],[7,20,null,4198802198508243,false,[[7,[10,[2,"Hiscore: "],[23,"Hiscore"]]]]]]],[0,null,false,null,3456788457581111,[[-1,24,null,0,false,false,false,3486126916977655,false]],[[-1,12,null,9031391910537382,false,[[11,"Hiscore"],[7,[0,0]]]],[7,20,null,2768586860518496,false,[[7,[10,[2,"Hiscore: "],[23,"Hiscore"]]]]]]],[0,null,false,null,1424998782229823,[[4,18,null,0,false,false,true,5949887090615122,false,[[4,3]]]],[[-1,12,null,8284346289436839,false,[[11,"Score"],[7,[0,0]]]]]]]]],[],"media/",false,854,480,4,true,true,true,"1.0.0.0",true,false,0,2,17,false,true,1,true,"Ja nie wycinse",[]]}

ps. Sorry for my english.
B
3
Posts: 1
Reputation: 177

Post » Thu Dec 25, 2014 11:40 pm

why don't you use sublime text?
B
9
S
3
G
1
Posts: 128
Reputation: 1,116


Return to How do I....?

Who is online

Users browsing this forum: Artcadev and 33 guests