diff --git a/Fodder.zip b/Fodder.zip new file mode 100644 index 0000000..f6718b8 Binary files /dev/null and b/Fodder.zip differ diff --git a/appmanifest.json b/appmanifest.json new file mode 100644 index 0000000..856a864 --- /dev/null +++ b/appmanifest.json @@ -0,0 +1,41 @@ +{ + "name": "Fodder", + "short_name": "Fodder", + "description": "", + "start_url": "index.html", + "display": "fullscreen", + "orientation": "landscape", + "background_color": "#ffffff", + "icons": [ + { + "src": "icons/icon-16.png", + "sizes": "16x16", + "type": "image/png" + }, + { + "src": "icons/icon-32.png", + "sizes": "32x32", + "type": "image/png" + }, + { + "src": "icons/icon-64.png", + "sizes": "64x64", + "type": "image/png" + }, + { + "src": "icons/icon-128.png", + "sizes": "128x128", + "type": "image/png" + }, + { + "src": "icons/icon-256.png", + "sizes": "256x256", + "type": "image/png" + }, + { + "src": "icons/icon-512.png", + "sizes": "512x512", + "type": "image/png" + } + ] +} \ No newline at end of file diff --git a/data.json b/data.json new file mode 100644 index 0000000..b2d7341 --- /dev/null +++ b/data.json @@ -0,0 +1 @@ +{"project":["Fodder",null,[[0,false,true,true,true,true,true,true,true,false],[4,false,true,true,true,true,true,true,true,false],[5,false,true,true,true,false,true,true,true,true],[6,true,false,false,false,false,false,false,false,false]],[["Groundandwall",0,false,[],1,0,null,[["Animation 1",5,false,1,0,false,192856184277272,[["images/shared-0-sheet4.png",416,1,17,16,13,1,0,0,[],[],0]]]],[["Solid",1,822039942710243]],false,false,100401994267119,[],null],["PlayerBox",0,false,[[490215751692798,0],[659179193960644,0],[934838435777535,0],[581936920269195,2]],2,0,null,[["Animation 1",5,false,1,0,false,892388004231981,[["images/shared-0-sheet2.png",3744,1,67,28,49,1,0.5,1,[["Image Point 1",0.5,1]],[],0]]]],[["ScrollTo",2,714027820728668],["Platform",3,144357527072783]],false,false,105434840281722,[],null],["Past",0,false,[],0,0,null,[["noswing",5,false,1,0,true,454366760674045,[["images/past-sheet0.png",1164,1,1,11,16,1,0.5,0.0625,[],[-0.2272727272727273,0.4375,0.045454545454545414,0.3125,0.13636363636363635,0.5,0.31818181818181823,0.625,0.13636363636363635,0.6875,0.045454545454545414,0.8125,-0.2272727272727273,0.75,-0.40909090909090906,0.625],0]]],["swing",2,false,1,0,true,560349693490358,[["images/past-sheet0.png",1164,14,1,16,11,1,0.0625,0.5,[],[0.4375,0.2272727272727273,0.3125,-0.045454545454545414,0.5,-0.13636363636363635,0.625,-0.31818181818181823,0.6875,-0.13636363636363635,0.8125,-0.045454545454545414,0.75,0.2272727272727273,0.625,0.40909090909090906],0],["images/past-sheet0.png",1164,32,1,11,16,1,0.5,0.0625,[],[-0.2272727272727273,0.4375,0.045454545454545414,0.3125,0.13636363636363635,0.5,0.31818181818181823,0.625,0.13636363636363635,0.6875,0.045454545454545414,0.8125,-0.2272727272727273,0.75,-0.40909090909090906,0.625],0],["images/past-sheet0.png",1164,14,49,16,11,1,0.9375,0.5,[],[-0.4375,-0.2272727272727273,-0.3125,0.045454545454545414,-0.5,0.13636363636363635,-0.625,0.31818181818181823,-0.6875,0.13636363636363635,-0.8125,0.045454545454545414,-0.75,-0.2272727272727273,-0.625,-0.40909090909090906],0],["images/past-sheet0.png",1164,17,14,11,16,1,0.5,0.0625,[],[-0.2272727272727273,0.4375,0.045454545454545414,0.3125,0.13636363636363635,0.5,0.31818181818181823,0.625,0.13636363636363635,0.6875,0.045454545454545414,0.8125,-0.2272727272727273,0.75,-0.40909090909090906,0.625],0],["images/past-sheet0.png",1164,45,17,16,11,1,0.0625,0.5,[],[0.4375,0.2272727272727273,0.3125,-0.045454545454545414,0.5,-0.13636363636363635,0.625,-0.31818181818181823,0.6875,-0.13636363636363635,0.8125,-0.045454545454545414,0.75,0.2272727272727273,0.625,0.40909090909090906],0],["images/past-sheet0.png",1164,49,33,11,16,1,0.5,0.0625,[],[-0.2272727272727273,0.4375,0.045454545454545414,0.3125,0.13636363636363635,0.5,0.31818181818181823,0.625,0.13636363636363635,0.6875,0.045454545454545414,0.8125,-0.2272727272727273,0.75,-0.40909090909090906,0.625],0],["images/past-sheet0.png",1164,27,33,16,11,1,0.9375,0.5,[],[-0.4375,-0.2272727272727273,-0.3125,0.045454545454545414,-0.5,0.13636363636363635,-0.625,0.31818181818181823,-0.6875,0.13636363636363635,-0.8125,0.045454545454545414,-0.75,-0.2272727272727273,-0.625,-0.40909090909090906],0],["images/past-sheet0.png",1164,1,33,11,16,1,0.5,0.0625,[],[-0.2272727272727273,0.4375,0.045454545454545414,0.3125,0.13636363636363635,0.5,0.31818181818181823,0.625,0.13636363636363635,0.6875,0.045454545454545414,0.8125,-0.2272727272727273,0.75,-0.40909090909090906,0.625],0]]]],[],false,false,715519260645611,[],null],["Future",0,false,[],0,0,null,[["Animation 1",5,false,1,0,false,628677238645927,[["images/shared-0-sheet4.png",416,17,33,10,10,1,0.5,0.5,[],[],0]]]],[],false,false,209117635452197,[],null],["PastText",4,false,[],0,0,null,null,[],false,false,882183783316357,[],null],["FutureText",4,false,[],0,0,null,null,[],false,false,331672449568012,[],null],["Door",0,false,[],0,0,null,[["Closed",5,false,1,0,false,133484204628434,[["images/shared-0-sheet3.png",1551,1,1,25,50,1,0,0,[],[],0]]],["Open",5,false,1,0,false,487871861771558,[["images/shared-0-sheet3.png",1551,33,1,25,50,1,0.5,0.5,[],[],0]]]],[],false,false,452472724753255,[],null],["Bluekeyhole",0,false,[],0,0,null,[["Animation 1",5,false,1,0,false,938355832360964,[["images/shared-0-sheet4.png",416,19,17,10,10,1,0.5,0.5,[],[],0]]]],[],false,false,509542067997037,[],null],["RedKeyHole",0,false,[],0,0,null,[["Animation 1",5,false,1,0,false,957600606095353,[["images/shared-0-sheet4.png",416,1,33,10,10,1,0.5,0.5,[],[],0]]]],[],false,false,113232128239589,[],null],["RedKey",0,false,[],0,0,null,[["Animation 1",5,false,1,0,false,544679163517594,[["images/shared-0-sheet4.png",416,1,57,10,5,1,0,0,[],[],0]]]],[],false,false,976367161342986,[],null],["BlueKey",0,false,[],0,0,null,[["Animation 1",5,false,1,0,false,470751788076027,[["images/shared-0-sheet4.png",416,1,49,10,5,1,0,0,[],[],0]]]],[],false,false,494377749019820,[],null],["Past2",4,false,[],0,0,null,null,[],false,false,554885284763425,[],null],["Here",0,false,[],0,0,null,[["Animation 1",5,false,1,0,false,328296514001549,[["images/shared-0-sheet4.png",416,13,49,10,10,1,0.5,0.5,[],[],0]]]],[],false,false,176369713702130,[],null],["There",0,false,[],0,0,null,[["Animation 1",5,false,1,0,false,108470571339338,[["images/shared-0-sheet4.png",416,25,57,5,5,1,0.5,0.5,[],[],0]]]],[],false,false,156140328685338,[],null],["Tilemap",5,false,[],0,0,["images/shared-0-sheet2.png",3744,0,1,1,64,64],null,[],false,false,927086048581312,[],[]],["Player",0,false,[],0,0,null,[["Idle",5,false,1,0,false,388290215853526,[["images/shared-0-sheet2.png",3744,33,67,28,49,1,0.5,0.9795918367346939,[],[-0.40433673469387754,-0.9795918367346939,0.4681122448979592,-0.9795918367346939,0.4553571428571429,0.0021865889212826506,-0.3979591836734694,-0.005102040816326592],0]]],["Walk",3,true,1,0,false,921525766467980,[["images/shared-0-sheet2.png",3744,97,65,28,49,1,0.5,0.9795918367346939,[],[-0.40433673469387754,-0.9795918367346939,0.4681122448979592,-0.9795918367346939,0.4553571428571429,0.0021865889212826506,-0.3979591836734694,-0.005102040816326592],0],["images/shared-0-sheet2.png",3744,97,1,28,50,1,0.5357142857142857,1,[],[-0.44005102040816324,-1,0.4323979591836735,-1,0.4196428571428572,-0.06465014577259476,-0.44005102040816324,-0.06479591836734688],0],["images/shared-0-sheet2.png",3744,67,65,28,49,1,0.5,0.9795918367346939,[],[-0.40433673469387754,-0.9795918367346939,0.4681122448979592,-0.9795918367346939,0.4553571428571429,0.0021865889212826506,-0.3979591836734694,-0.005102040816326592],0],["images/shared-0-sheet2.png",3744,67,1,28,50,1,0.5357142857142857,1,[],[-0.44005102040816324,-1,0.4323979591836735,-1,0.42602040816326536,-0.05750728862973764,-0.44005102040816324,-0.06479591836734688],0]]]],[],false,false,338183381223548,[],null],["closet",0,false,[],0,0,null,[["Animation 1",5,false,1,0,false,409213568932490,[["images/shared-0-sheet0.png",1682,0,0,250,250,1,0.5,0.5,[],[],0]]]],[],false,false,625130414204332,[],null],["Keyboard",6,false,[],0,0,null,null,[],false,false,608588138445864,[],null,[]],["enemy",0,false,[[541224458784131,2]],1,0,null,[["Walk",1.5,true,1,0,false,864553358285415,[["images/shared-0-sheet3.png",1551,33,65,20,29,1,0,1,[],[0.05,-1,1,-1,1,0,0.05,0],0],["images/shared-0-sheet3.png",1551,1,65,20,29,1,0,1,[],[0.05,-1,1,-1,1,0,0.05,0],0],["images/shared-0-sheet3.png",1551,1,97,20,29,1,0,1,[],[0.05,-1,1,-1,1,0,0.05,0],0],["images/shared-0-sheet3.png",1551,33,97,20,29,1,0,1,[],[0.05,-1,1,-1,1,0,0.05,0],0]]]],[["Platform",3,392280838911953]],false,false,608690971760991,[],null],["box",0,false,[],0,0,null,[["Animation 1",5,false,1,0,false,668298401336213,[["images/shared-0-sheet1.png",2856,0,0,160,160,1,0,0,[],[0,0,0.5,0,0.99375,0,0.99375,0.5,0.99375,0.99375,0.5,0.99375,0,0.99375,0,0.5],0]]]],[],false,false,146431101568617,[],null],["PressSpaceToChangeTime",4,false,[],0,0,null,null,[],false,false,311463416635754,[],null],["PressSpaceWhenCollidedToClosetToHide",4,false,[],0,0,null,null,[],false,false,498942885998930,[],null]],[],[["Future",5124,960,false,"Event sheet 1",648376133808085,[["Background",0,772727032771546,true,[0,0,0],true,1,1,1,false,false,1,0,0,[],[],0],["Main",1,884633323752737,true,[255,255,255],false,1,1,1,false,false,1,0,0,[[[0,864,0,160,96,0,0,[1,1,1,1],0,0,0,0,[]],0,1,[],[[true,""]],[true,"Animation 1",0,true]],[[128,864,0,32,89,0,0,[1,1,1,1],0.5,1,0,0,[]],1,2,[0,0,0,"\"right\""],[[true],[430,1500,1500,750,1500,1000,false,0,true,true]],[true,"Animation 1",0,true]],[[480,736,0,64,96,0,0,[1,1,1,1],0.5,0.0625,0,0,[]],2,3,[],[],[true,"noswing",0,true]],[[320,544,0,200,30,0,0,[1,1,1,1],0,0,0,0,[]],5,7,[],[],["Future",true,"Arial",12,0,false,false,[0,0,0],0,0,0,true,0]],[[704,0,0,-4.096,46.592,0,0,[1,1,1,1],0,0,0,0,[]],0,13,[],[[true,""]],[true,"Animation 1",0,true]],[[64,800,0,10,10,0,0,[1,1,1,1],0.5,0.5,0,0,[]],12,29,[],[],[false,"Animation 1",0,true]],[[896,832,0,32,32,0,0,[1,1,1,1],0.5,0.5,0,0,[]],13,30,[],[],[false,"Animation 1",0,true]],[[128,864,0,64,96,0,0,[1,1,1,1],0.5,0.9795918367346939,0,0,[]],15,15,[],[],[true,"Idle",0,true]],[[160,864,0,160,96,0,0,[1,1,1,1],0,0,0,0,[]],0,16,[],[[true,""]],[true,"Animation 1",0,true]],[[320,864,0,160,96,0,0,[1,1,1,1],0,0,0,0,[]],0,17,[],[[true,""]],[true,"Animation 1",0,true]],[[480,864,0,160,96,0,0,[1,1,1,1],0,0,0,0,[]],0,20,[],[[true,""]],[true,"Animation 1",0,true]],[[384,640,0,200,30,0,0,[1,1,1,1],0,0,0,0,[]],20,33,[],[],["Press Space to change time",true,"Arial",12,0,false,false,[0,0,0],0,0,0,true,0]]],[],0]],[],[]],["Past",2000,960,false,"Event sheet 1",615842262926005,[["Layer 0",0,498796555368308,true,[255,255,255],false,1,1,1,false,false,1,0,0,[[[32,736,0,10,10,0,0,[1,1,1,1],0.5,0.5,0,0,[]],3,4,[],[],[true,"Animation 1",0,true]],[[0,864,0,128,96,0,0,[1,1,1,1],0,0,0,0,[]],0,5,[],[[true,""]],[true,"Animation 1",0,true]],[[288,608,0,200,30,0,0,[1,1,1,1],0,0,0,0,[]],4,6,[],[],["Past",true,"Arial",12,0,false,false,[0,0,0],0,0,0,true,0]],[[1856,704,0,128,192,0,0,[1,1,1,1],0,0,0,0,[]],6,9,[],[],[true,"Closed",0,true]],[[1760,832,0,10,10,0,0,[1,1,1,1],0.5,0.5,0,0,[]],8,11,[],[],[true,"Animation 1",0,true]],[[992,128,0,58,12,0,0,[1,1,1,1],0,0,0,0,[]],9,10,[],[],[true,"Animation 1",0,true]],[[128,864,0,128,96,0,0,[1,1,1,1],0,0,0,0,[]],0,14,[],[[true,""]],[true,"Animation 1",0,true]],[[256,864,0,128,96,0,0,[1,1,1,1],0,0,0,0,[]],0,21,[],[[true,""]],[true,"Animation 1",0,true]],[[384,864,0,128,96,0,0,[1,1,1,1],0,0,0,0,[]],0,22,[],[[true,""]],[true,"Animation 1",0,true]],[[387,800,0,64,128,0,0,[1,1,1,1],0.5,0.5,0,0,[]],16,23,[],[],[true,"Animation 1",0,true]],[[96,864,0,32,89,0,0,[1,1,1,1],0.5,1,0,0,[]],1,25,[0,0,0,"\"right\""],[[true],[430,1500,1500,750,1500,1000,false,0,true,true]],[false,"Animation 1",0,true]],[[96,864,0,64,96,0,0,[1,1,1,1],0.5,0.9795918367346939,0,0,[]],15,8,[],[],[true,"Idle",0,true]],[[608,864,0,58.18181818181819,79.54285714285714,0,0,[1,1,1,1],0,1,0,0,[]],18,27,["\"left\""],[[330,1500,1500,650,1500,1000,false,0,false,true]],[true,"Walk",0,true]],[[160,800,0,64,64,0,0,[1,1,1,1],0,0,0,0,[]],19,28,[],[],[true,"Animation 1",0,true]],[[512,864,0,128,96,0,0,[1,1,1,1],0,0,0,0,[]],0,31,[],[[true,""]],[true,"Animation 1",0,true]],[[640,864,0,128,96,0,0,[1,1,1,1],0,0,0,0,[]],0,32,[],[[true,""]],[true,"Animation 1",0,true]],[[288,672,0,256,64,0,0,[1,1,1,1],0,0,0,0,[]],21,34,[],[],["When overlapped with closet press space to hide",true,"Arial",12,0,false,false,[0,0,0],0,0,0,true,0]]],[],0]],[],[]],["Past2",1708,960,false,"Event sheet 1",326008072377882,[["Layer 0",0,201782230860145,true,[255,255,255],false,1,1,1,false,false,1,0,0,[[[0,896,0,327.68,3.3280000000000003,0,0,[1,1,1,1],0,0,0,0,[]],0,18,[],[[true,""]],[true,"Animation 1",0,true]],[[288,672,0,200,30,0,0,[1,1,1,1],0,0,0,0,[]],11,19,[],[],["Past2",true,"Arial",12,0,false,false,[0,0,0],0,0,0,true,0]],[[448,768,0,10,10,0,0,[1,1,1,1],0.5,0.5,0,0,[]],3,26,[],[],[true,"Animation 1",0,true]],[[32,800,0,7.168,18.816,0,0,[1,1,1,1],0.5,1,0,0,[]],1,12,[0,0,0,"\"right\""],[[true],[330,1500,1500,1150,1500,1000,false,0,true,true]],[false,"Animation 1",0,true]]],[],0]],[],[]]],[["Event sheet 1",[[1,"Level",0,1,false,false,214340828577238,false],[0,null,false,null,303040048477437,1,[[1,7,null,0,false,false,true,715876235417597,null,[[4,3]]],[-1,8,null,0,false,false,false,917220605641686,null,[[11,"Level"],[8,0],[7,[0]]]]],[[-1,9,null,113275995950808,null,[[6,"Future"]]],[1,10,null,984174207987333,null,[[4,12],[7,[1]]]]]],[0,null,false,null,652803065640619,2,[[1,7,null,0,false,false,true,222685263209947,null,[[4,3]]],[-1,8,null,0,false,false,false,458881881854480,null,[[11,"Level"],[8,0],[7,[2]]]]],[[-1,9,null,547802068744718,null,[[6,"Future"]]],[1,10,null,423886320703560,null,[[4,13],[7,[1]]]]]],[0,null,false,null,508371109218158,3,[[1,7,null,0,false,false,true,335085984130993,null,[[4,10]]],[1,11,null,0,false,true,false,603635771683998,null,[[10,1]]]],[[1,12,null,647967384380954,null,[[10,1],[3,1]]],[10,13,null,732064557187235,null]]],[0,null,false,null,683835004570866,4,[[1,7,null,0,false,false,true,307282955581289,null,[[4,9]]],[1,11,null,0,false,true,false,311144946012298,null,[[10,0]]]],[[1,12,null,933767397524907,null,[[10,0],[3,1]]],[9,13,null,199723991667140,null]]],[0,null,false,null,773178516077402,5,[[1,7,null,0,false,false,true,653532853883591,null,[[4,7]]],[1,11,null,0,false,false,false,442926576721000,null,[[10,1]]]],[[7,13,null,802306369420523,null],[1,12,null,594349991079555,null,[[10,1],[3,0]]]]],[0,null,false,null,611999841367759,6,[[1,7,null,0,false,false,true,209313042633141,null,[[4,8]]],[1,11,null,0,false,false,false,892087922459983,null,[[10,0]]]],[[8,13,null,648842032438333,null],[1,12,null,486033539718069,null,[[10,0],[3,0]]],[6,14,null,352926021888413,null,[[1,[3]],[3,1]]]]],[0,null,false,null,188162240483975,7,[[1,7,null,0,false,false,true,456629269493330,null,[[4,6]]],[6,15,null,0,false,false,false,765201673628843,null,[[1,[3]]]]],[[-1,16,null,681067371933905,null,[[0,[4]]]],[-1,9,null,969558381202262,null,[[6,"Past2"]]],[-1,17,null,243239530276411,null,[[11,"Level"],[7,[0]]]]]],[0,null,false,null,569981150833996,8,[[-1,18,null,0,false,false,false,981640459206118,null]],[[15,10,null,963265663552200,null,[[4,1],[7,[0]]]]]],[0,null,false,null,673247970039581,9,[[17,19,null,1,false,false,false,664673257977232,null,[[9,32]]],[15,20,null,0,false,false,false,748233355330633,null,[[4,16]]],[1,11,null,0,false,true,false,830936379775733,null,[[10,2]]]],[[1,12,null,333347776456554,null,[[10,2],[3,1]]],[-1,16,null,931046894604771,null,[[0,[5]]]],[1,12,null,988331996333059,null,[[10,2],[3,0]]]]],[0,null,false,null,472120320792018,10,[[1,11,null,0,false,false,false,172493800375484,null,[[10,2]]]],[[1,21,"Platform",731713976986416,null,[[3,0]]],[1,22,"Platform",378190754905642,null,[[0,[1]]]],[15,23,null,169303270918933,null,[[3,0]]]]],[0,null,false,null,501509231633063,11,[[1,11,null,0,false,true,false,761219746378554,null,[[10,2]]]],[[1,21,"Platform",562145347191811,null,[[3,1]]],[15,23,null,383053649918237,null,[[3,1]]]]],[0,null,false,null,924836311527926,12,[[1,24,null,0,false,false,false,472189404485712,null,[[10,3],[8,0],[7,[6]]]]],[[15,25,null,523200467883917,null,[[3,1]]]]],[0,null,false,null,153164032499961,13,[[1,24,null,0,false,false,false,749486408127471,null,[[10,3],[8,0],[7,[7]]]]],[[15,25,null,331036477010139,null,[[3,0]]]]],[0,null,false,null,739084049695228,14,[[17,19,null,1,false,false,false,270496399760460,null,[[9,39]]]],[[1,26,null,506857433735050,null,[[10,3],[7,[6]]]]]],[0,null,false,null,866323854971455,15,[[17,19,null,1,false,false,false,139775162258496,null,[[9,37]]]],[[1,26,null,466812856127411,null,[[10,3],[7,[7]]]]]],[0,null,false,null,157372066074459,16,[[17,19,null,1,false,false,false,188665138913301,null,[[9,32]]],[1,20,null,0,false,false,false,355046637520014,null,[[4,2]]]],[[2,14,null,276668385608596,null,[[1,[8]],[3,1]]]]],[0,null,false,null,863788218943166,17,[[2,27,null,1,false,false,false,786402932795065,null,[[1,[8]]]]],[[-1,9,null,336281704915800,null,[[6,"Past"]]]]],[0,null,false,null,454597078311548,18,[[1,7,null,0,false,false,true,740159359916545,null,[[4,18]]],[1,11,null,0,false,true,false,279602953847924,null,[[10,2]]]],[[1,21,"Platform",319376936432690,null,[[3,0]]],[-1,16,null,868579709433330,null,[[0,[4]]]],[-1,28,null,810034479784085,null],[1,22,"Platform",521619280098037,null,[[0,[1]]]]]],[0,null,false,null,570253493346065,19,[[18,7,null,0,false,false,true,816185204284443,null,[[4,16]]],[18,24,null,0,false,false,false,102050238738580,null,[[10,0],[8,0],[7,[7]]]]],[[18,26,null,475991490144691,null,[[10,0],[7,[6]]]]]],[0,null,false,null,141585169302278,20,[[18,7,null,0,false,false,true,353939699283792,null,[[4,16]]],[18,24,null,0,false,false,false,160625400430410,null,[[10,0],[8,0],[7,[6]]]]],[[18,26,null,306478787053713,null,[[10,0],[7,[7]]]]]],[0,null,false,null,873378437098456,21,[[18,24,null,0,false,false,false,566451322262272,null,[[10,0],[8,0],[7,[7]]]]],[[18,29,"Platform",710776677502974,null,[[3,0]]],[18,14,null,195600225503490,null,[[1,[9]],[3,1]]],[18,25,null,381060407475261,null,[[3,1]]]]],[0,null,false,null,379490050774756,22,[[18,24,null,0,false,false,false,276108023640946,null,[[10,0],[8,0],[7,[6]]]]],[[18,29,"Platform",243790793709840,null,[[3,1]]],[18,14,null,356270631411055,null,[[1,[9]],[3,1]]],[18,25,null,749275944368385,null,[[3,0]]]]]]]],[],"media/",true,854,480,5,true,"nearest",true,"1.0.0.0",true,false,4,2,35,false,false,1,true,false,[],"icons/",[],true,"4o6rsljrwqx","fonts/",[],"high-performance"]} \ No newline at end of file diff --git a/icons/icon-128.png b/icons/icon-128.png new file mode 100644 index 0000000..34780f7 Binary files /dev/null and b/icons/icon-128.png differ diff --git a/icons/icon-16.png b/icons/icon-16.png new file mode 100644 index 0000000..d4e6a43 Binary files /dev/null and b/icons/icon-16.png differ diff --git a/icons/icon-256.png b/icons/icon-256.png new file mode 100644 index 0000000..a201353 Binary files /dev/null and b/icons/icon-256.png differ diff --git a/icons/icon-32.png b/icons/icon-32.png new file mode 100644 index 0000000..20d38d6 Binary files /dev/null and b/icons/icon-32.png differ diff --git a/icons/icon-512.png b/icons/icon-512.png new file mode 100644 index 0000000..9e2ad77 Binary files /dev/null and b/icons/icon-512.png differ diff --git a/icons/icon-64.png b/icons/icon-64.png new file mode 100644 index 0000000..06c8d53 Binary files /dev/null and b/icons/icon-64.png differ diff --git a/icons/loading-logo.png b/icons/loading-logo.png new file mode 100644 index 0000000..06c8d53 Binary files /dev/null and b/icons/loading-logo.png differ diff --git a/images/past-sheet0.png b/images/past-sheet0.png new file mode 100644 index 0000000..9a776f0 Binary files /dev/null and b/images/past-sheet0.png differ diff --git a/images/shared-0-sheet0.png b/images/shared-0-sheet0.png new file mode 100644 index 0000000..a89b473 Binary files /dev/null and b/images/shared-0-sheet0.png differ diff --git a/images/shared-0-sheet1.png b/images/shared-0-sheet1.png new file mode 100644 index 0000000..14bc413 Binary files /dev/null and b/images/shared-0-sheet1.png differ diff --git a/images/shared-0-sheet2.png b/images/shared-0-sheet2.png new file mode 100644 index 0000000..5e5def0 Binary files /dev/null and b/images/shared-0-sheet2.png differ diff --git a/images/shared-0-sheet3.png b/images/shared-0-sheet3.png new file mode 100644 index 0000000..9a8325c Binary files /dev/null and b/images/shared-0-sheet3.png differ diff --git a/images/shared-0-sheet4.png b/images/shared-0-sheet4.png new file mode 100644 index 0000000..b26c6b9 Binary files /dev/null and b/images/shared-0-sheet4.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..94bb39f --- /dev/null +++ b/index.html @@ -0,0 +1,32 @@ + + +
+ +o+p)||(c=this._blx-this._tlx,d=this._bly-this._tly,i=c*c+d*d,j=c*e+d*f,k=c*g+d*h,n=1/(i*l-j*j),o=(l*k-j*m)*n,p=(i*m-j*k)*n,0<=o&&0
o+p)}midX(){return(this._tlx+this._trx+this._brx+this._blx)/4}midY(){return(this._tly+this._try+this._bry+this._bly)/4}intersectsSegment(a,b,c,d){return!!(this.containsPoint(a,b)||this.containsPoint(c,d))||C3.segmentIntersectsQuad(a,b,c,d,this)}intersectsQuad(a){let b=a.midX(),c=a.midY();if(this.containsPoint(b,c))return!0;if(b=this.midX(),c=this.midY(),a.containsPoint(b,c))return!0;const d=this._tlx,e=this._tly,f=this._trx,g=this._try,h=this._brx,i=this._bry,j=this._blx,k=this._bly;return C3.segmentIntersectsQuad(d,e,f,g,a)||C3.segmentIntersectsQuad(f,g,h,i,a)||C3.segmentIntersectsQuad(h,i,j,k,a)||C3.segmentIntersectsQuad(j,k,d,e,a)}mirror(){this._swap(0,2),this._swap(1,3),this._swap(6,4),this._swap(7,5)}flip(){this._swap(0,6),this._swap(1,7),this._swap(2,4),this._swap(3,5)}diag(){this._swap(2,6),this._swap(3,7)}_swap(a,b){const c=this._getAtIndex(a);this._setAtIndex(a,this._getAtIndex(b)),this._setAtIndex(b,c)}_getAtIndex(a){switch(a){case 0:return this._tlx;case 1:return this._tly;case 2:return this._trx;case 3:return this._try;case 4:return this._brx;case 5:return this._bry;case 6:return this._blx;case 7:return this._bly;default:throw new RangeError("invalid quad point index");}}_setAtIndex(a,b){switch(b=+b,a){case 0:this._tlx=b;break;case 1:this._tly=b;break;case 2:this._trx=b;break;case 3:this._try=b;break;case 4:this._brx=b;break;case 5:this._bry=b;break;case 6:this._blx=b;break;case 7:this._bly=b;break;default:throw new RangeError("invalid quad point index");}}}}
+
+// c3/lib/misc/collisionPoly.js
+"use strict";{const a=[0,0,1,0,1,1,0,1],b=C3.New(C3.Quad);C3.CollisionPoly=class extends C3.DefendedBase{constructor(b){super(),b||(b=a);this._ptsArr=Float64Array.from(b),this._bbox=new C3.Rect,this._isBboxChanged=!0}Release(){}pointsArr(){return this._ptsArr}pointCount(){return this._ptsArr.length/2}setPoints(a){this._ptsArr.length===a.length?this._ptsArr.set(a):this._ptsArr=Float64Array.from(a),this._isBboxChanged=!0}copy(a){this.setPoints(a._ptsArr)}setBboxChanged(){this._isBboxChanged=!0}_updateBbox(){if(!this._isBboxChanged)return;const a=this._ptsArr;let b=a[0],c=a[1],d=b,e=c;for(let f=0,g=a.length;f
On Android, fix this by making sure the Android System Webview app has updates enabled and is up-to-date.":/iphone|ipad|ipod/i.test(h)?"
Note: the iOS simulator is not currently supported due to an Apple bug. If you are using the simulator, try testing on a real device instead.":(/msie/i.test(h)||/trident/i.test(h))&&!/edge\//i.test(h)?"
Note: Internet Explorer is not supported. Try using Chrome or Firefox instead.":"Try installing any available software updates. Alternatively try on a different device.",g+="
Missing features: "+c.join(", ")+"
User agent: "+navigator.userAgent+"",f.innerHTML=g,d.appendChild(f)}})();
\ No newline at end of file
diff --git a/scripts/workerMain.js b/scripts/workerMain.js
new file mode 100644
index 0000000..d11dbb2
--- /dev/null
+++ b/scripts/workerMain.js
@@ -0,0 +1 @@
+"use strict";{async function a(a){if(b)throw new Error("already initialised");b=!0;const d=a["baseUrl"];self.devicePixelRatio=a["devicePixelRatio"];const e=a["workerDependencyScripts"].map((a)=>{let b=a;return b=a instanceof Blob?URL.createObjectURL(a):new URL(b,d).toString(),b}),f=a["engineScripts"].map((a)=>new URL(a,d).toString());importScripts(...[...e,...f]),c=self["C3_CreateRuntime"](a),await self["C3_InitRuntime"](c,a)}let b=!1,c=null;self.addEventListener("message",(b)=>{const c=b.data,d=c["type"];if("init-runtime"===d)a(c);else throw new Error(`unknown message '${d}'`)})}
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..0916f8b
--- /dev/null
+++ b/style.css
@@ -0,0 +1,39 @@
+html, body {
+ padding: 0;
+ margin: 0;
+ overflow: hidden;
+
+ background: #000000;
+ color: white;
+}
+
+html, body, canvas {
+ touch-action: none;
+ touch-action-delay: none;
+}
+
+#notSupportedWrap {
+ margin: 2em auto 1em auto;
+ width: 75%;
+ max-width: 45em;
+ border: 2px solid #aaa;
+ border-radius: 1em;
+ padding: 2em;
+ background-color: #f0f0f0;
+ font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
+ color: black;
+}
+
+#notSupportedTitle {
+ font-size: 1.8em;
+}
+
+#notSupportedMessage {
+ font-size: 1.2em;
+}
+
+#notSupportedMessage em {
+ color: #888;
+}
+
+
diff --git a/sw.js b/sw.js
new file mode 100644
index 0000000..4366997
--- /dev/null
+++ b/sw.js
@@ -0,0 +1 @@
+"use strict";const OFFLINE_DATA_FILE="offline.json",CACHE_NAME_PREFIX="c3offline",BROADCASTCHANNEL_NAME="offline",CONSOLE_PREFIX="[SW] ",LAZYLOAD_KEYNAME="",broadcastChannel="undefined"==typeof BroadcastChannel?null:new BroadcastChannel("offline");function PostBroadcastMessage(a){broadcastChannel&&setTimeout(()=>broadcastChannel.postMessage(a),3e3)}function Broadcast(a){PostBroadcastMessage({"type":a})}function BroadcastDownloadingUpdate(a){PostBroadcastMessage({"type":"downloading-update","version":a})}function BroadcastUpdateReady(a){PostBroadcastMessage({"type":"update-ready","version":a})}function IsUrlInLazyLoadList(a,b){if(!b)return!1;try{for(const c of b)if(new RegExp(c).test(a))return!0}catch(a){console.error("[SW] Error matching in lazy-load list: ",a)}return!1}function WriteLazyLoadListToStorage(a){return"undefined"==typeof localforage?Promise.resolve():localforage.setItem(LAZYLOAD_KEYNAME,a)}function ReadLazyLoadListFromStorage(){return"undefined"==typeof localforage?Promise.resolve([]):localforage.getItem(LAZYLOAD_KEYNAME)}function GetCacheBaseName(){return"c3offline-"+self.registration.scope}function GetCacheVersionName(a){return GetCacheBaseName()+"-v"+a}async function GetAvailableCacheNames(){const a=await caches.keys(),b=GetCacheBaseName();return a.filter((a)=>a.startsWith(b))}async function IsUpdatePending(){const a=await GetAvailableCacheNames();return 2<=a.length}async function GetMainPageUrl(){const a=await clients.matchAll({includeUncontrolled:!0,type:"window"});for(const b of a){let a=b.url;if(a.startsWith(self.registration.scope)&&(a=a.substring(self.registration.scope.length)),a&&"/"!==a)return a.startsWith("?")&&(a="/"+a),a}return""}function fetchWithBypass(a,b){return"string"==typeof a&&(a=new Request(a)),b?fetch(a.url,{headers:a.headers,mode:a.mode,credentials:a.credentials,redirect:a.redirect,cache:"no-store"}):fetch(a)}async function CreateCacheFromFileList(a,b,c){const d=await Promise.all(b.map((a)=>fetchWithBypass(a,c)));let e=!0;for(const f of d)f.ok||(e=!1,console.error("[SW] Error fetching '"+f.url+"' ("+f.status+" "+f.statusText+")"));if(!e)throw new Error("not all resources were fetched successfully");const f=await caches.open(a);try{return await Promise.all(d.map((a,c)=>f.put(b[c],a)))}catch(b){throw console.error("[SW] Error writing cache entries: ",b),caches.delete(a),b}}async function UpdateCheck(a){try{const b=await fetchWithBypass(OFFLINE_DATA_FILE,!0);if(!b.ok)throw new Error("offline.json responded with "+b.status+" "+b.statusText);const c=await b.json(),d=c.version,e=c.fileList,f=c.lazyLoad,g=GetCacheVersionName(d),h=await caches.has(g);if(h){const a=await IsUpdatePending();return void(a?(console.log("[SW] Update pending"),Broadcast("update-pending")):(console.log("[SW] Up to date"),Broadcast("up-to-date")))}const i=await GetMainPageUrl();e.unshift("./"),i&&-1===e.indexOf(i)&&e.unshift(i),console.log("[SW] Caching "+e.length+" files for offline use"),a?Broadcast("downloading"):BroadcastDownloadingUpdate(d),f&&(await WriteLazyLoadListToStorage(f)),await CreateCacheFromFileList(g,e,!a);const j=await IsUpdatePending();j?(console.log("[SW] All resources saved, update ready"),BroadcastUpdateReady(d)):(console.log("[SW] All resources saved, offline support ready"),Broadcast("offline-ready"))}catch(a){console.warn("[SW] Update check failed: ",a)}}self.addEventListener("install",(a)=>{a.waitUntil(UpdateCheck(!0).catch(()=>null))});async function GetCacheNameToUse(a,b){if(1===a.length||!b)return a[0];const c=await clients.matchAll();if(1