bin-packing-core
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -84,22 +84,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | ||
var bestHeight = 0; | ||
while (right - left > this.step) { | ||
while (right - left >= this.step) { | ||
mid = (right + left) / 2; | ||
var _a = this.getInsertResult(width, mid + this.step), rightResult = _a[0], rop = _a[1]; | ||
var _b = this.getInsertResult(width, mid - this.step), leftResult = _b[0], lop = _b[1]; | ||
if (rightResult.length === this.rects.length) { | ||
var op = rop; | ||
var _a = this.getInsertResult(width, mid), result = _a[0], op = _a[1]; | ||
var isSuccess = result.length === this.rects.length; | ||
if (isSuccess) { | ||
if (op > bestResult) { | ||
bestResult = op; | ||
bestHeight = mid + this.step; | ||
bestHeight = mid; | ||
} | ||
right = mid; | ||
} | ||
else { | ||
return [0, 0]; | ||
left = mid; | ||
} | ||
if (leftResult.length === this.rects.length) { | ||
return [mid - this.step, lop]; | ||
} | ||
else { | ||
right = mid; | ||
} | ||
} | ||
@@ -106,0 +100,0 @@ return [bestHeight, bestResult]; |
{ | ||
"name": "bin-packing-core", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "image packer based on genetic & max-rect algorithm", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -80,3 +80,3 @@ import MaxRectBinPack, { FindPosition } from './max-rect-bin-pack'; | ||
public bestHeight(width: number): [number, number] { | ||
const left = Math.max(this.minHeight, width / this.rate); | ||
let left = Math.max(this.minHeight, width / this.rate); | ||
let right = Math.min(this.maxHeight, width * this.rate); | ||
@@ -86,20 +86,15 @@ let bestResult = 0; | ||
let bestHeight = 0; | ||
while (right - left > this.step) { | ||
while (right - left >= this.step) { | ||
mid = (right + left) / 2; | ||
const [rightResult, rop] = this.getInsertResult(width, mid + this.step); | ||
const [leftResult, lop] = this.getInsertResult(width, mid - this.step); | ||
if (rightResult.length === this.rects.length) { | ||
const op = rop; | ||
const [result, op] = this.getInsertResult(width, mid); | ||
const isSuccess = result.length === this.rects.length; | ||
if (isSuccess) { | ||
if (op > bestResult) { | ||
bestResult = op; | ||
bestHeight = mid + this.step; | ||
bestHeight = mid; | ||
} | ||
right = mid; | ||
} else { | ||
return [0, 0]; | ||
left = mid; | ||
} | ||
if (leftResult.length === this.rects.length) { | ||
return [mid - this.step, lop]; | ||
} else { | ||
right = mid; | ||
} | ||
} | ||
@@ -106,0 +101,0 @@ return [bestHeight, bestResult]; |
@@ -1,1 +0,1 @@ | ||
var data = [{"x":0,"y":0,"width":428,"height":532,"isRotated":false,"info":{"name":"tileset-ornaments-sets-wild","width":428,"height":532}},{"x":0,"y":532,"width":422,"height":523,"isRotated":false,"info":{"name":"tileset-ornaments-sets-cook","width":422,"height":523}},{"x":0,"y":1055,"width":427,"height":517,"isRotated":false,"info":{"name":"tileset-ornaments-sets-spring-festival","width":427,"height":517}},{"x":422,"y":532,"width":428,"height":508,"isRotated":false,"info":{"name":"tileset-ornaments-sets-bear","width":428,"height":508}},{"x":428,"y":0,"width":423,"height":498,"isRotated":false,"info":{"name":"tileset-ornaments-sets-huabei","width":423,"height":498}},{"x":0,"y":1572,"width":422,"height":497,"isRotated":false,"info":{"name":"tileset-ornaments-sets-rich","width":422,"height":497}},{"x":0,"y":2069,"width":430,"height":493,"isRotated":false,"info":{"name":"tileset-ornaments-sets-lili","width":430,"height":493}},{"x":0,"y":2562,"width":232,"height":175,"isRotated":false,"info":{"name":"tileset-ornaments-sGlass-rich","width":232,"height":175}},{"x":422,"y":1572,"width":423,"height":490,"isRotated":false,"info":{"name":"tileset-ornaments-sets-mike","width":423,"height":490}},{"x":232,"y":2562,"width":252,"height":169,"isRotated":false,"info":{"name":"tileset-ornaments-fGlass-bear","width":252,"height":169}},{"x":430,"y":2062,"width":422,"height":489,"isRotated":false,"info":{"name":"tileset-ornaments-sets-lady","width":422,"height":489}},{"x":484,"y":2551,"width":298,"height":187,"isRotated":false,"info":{"name":"tileset-ornaments-fGlass-rich","width":298,"height":187}},{"x":782,"y":2551,"width":130,"height":131,"isRotated":false,"info":{"name":"tileset-ornaments-fSlag-apple","width":130,"height":131}},{"x":912,"y":2551,"width":130,"height":131,"isRotated":false,"info":{"name":"tileset-ornaments-fSlag-bunch","width":130,"height":131}},{"x":427,"y":1040,"width":339,"height":362,"isRotated":false,"info":{"name":"tileset-ornaments-sCap-bear","width":339,"height":362}},{"x":427,"y":1402,"width":130,"height":131,"isRotated":false,"info":{"name":"tileset-ornaments-fSlag-donut","width":130,"height":131}},{"x":557,"y":1402,"width":130,"height":131,"isRotated":false,"info":{"name":"tileset-ornaments-fSlag-grape","width":130,"height":131}},{"x":687,"y":1402,"width":130,"height":131,"isRotated":false,"info":{"name":"tileset-ornaments-fSlag-icecream","width":130,"height":131}},{"x":766,"y":1040,"width":387,"height":360,"isRotated":false,"info":{"name":"tileset-ornaments-fCap-bear","width":387,"height":360}},{"x":850,"y":498,"width":361,"height":296,"isRotated":false,"info":{"name":"tileset-ornaments-fNecklace-rich","width":361,"height":296}},{"x":851,"y":794,"width":386,"height":242,"isRotated":false,"info":{"name":"tileset-ornaments-fNecklace-cook","width":386,"height":242}},{"x":851,"y":0,"width":381,"height":293,"isRotated":false,"info":{"name":"tileset-ornaments-fCoat-lady","width":381,"height":293}},{"x":1211,"y":293,"width":356,"height":289,"isRotated":false,"info":{"name":"tileset-ornaments-sNecklace-rich","width":356,"height":289}},{"x":1211,"y":582,"width":397,"height":211,"isRotated":false,"info":{"name":"tileset-ornaments-sNecklace-spring-festival","width":397,"height":211}},{"x":1232,"y":0,"width":379,"height":285,"isRotated":false,"info":{"name":"tileset-ornaments-fCoat-cook","width":379,"height":285}},{"x":1567,"y":285,"width":385,"height":282,"isRotated":false,"info":{"name":"tileset-ornaments-sCoat-cook","width":385,"height":282}},{"x":1611,"y":0,"width":381,"height":277,"isRotated":false,"info":{"name":"tileset-ornaments-fCoat-huabei","width":381,"height":277}},{"x":1992,"y":0,"width":406,"height":255,"isRotated":false,"info":{"name":"tileset-ornaments-fNecklace-spring-festival","width":406,"height":255}},{"x":2398,"y":0,"width":331,"height":257,"isRotated":false,"info":{"name":"tileset-ornaments-fCap-cook","width":331,"height":257}},{"x":1992,"y":255,"width":400,"height":274,"isRotated":false,"info":{"name":"tileset-ornaments-fCoat-mike","width":400,"height":274}},{"x":2392,"y":257,"width":342,"height":209,"isRotated":false,"info":{"name":"tileset-ornaments-fGlass-wild","width":342,"height":209}},{"x":1992,"y":529,"width":397,"height":262,"isRotated":false,"info":{"name":"tileset-ornaments-sCoat-wild","width":397,"height":262}},{"x":1608,"y":567,"width":384,"height":252,"isRotated":false,"info":{"name":"tileset-ornaments-sCoat-huabei","width":384,"height":252}},{"x":1237,"y":793,"width":370,"height":252,"isRotated":false,"info":{"name":"tileset-ornaments-fCap-lili","width":370,"height":252}},{"x":1237,"y":1045,"width":369,"height":267,"isRotated":false,"info":{"name":"tileset-ornaments-fCoat-bear","width":369,"height":267}},{"x":2392,"y":466,"width":331,"height":227,"isRotated":false,"info":{"name":"tileset-ornaments-sCap-huabei","width":331,"height":227}},{"x":2389,"y":693,"width":327,"height":227,"isRotated":false,"info":{"name":"tileset-ornaments-sCap-mike","width":327,"height":227}},{"x":1992,"y":791,"width":394,"height":270,"isRotated":false,"info":{"name":"tileset-ornaments-sCoat-lady","width":394,"height":270}},{"x":1606,"y":1045,"width":386,"height":254,"isRotated":false,"info":{"name":"tileset-ornaments-sCoat-lili","width":386,"height":254}},{"x":1607,"y":819,"width":381,"height":226,"isRotated":false,"info":{"name":"tileset-ornaments-sNecklace-cook","width":381,"height":226}},{"x":2386,"y":920,"width":352,"height":214,"isRotated":false,"info":{"name":"tileset-ornaments-sCap-rich","width":352,"height":214}},{"x":2386,"y":1134,"width":352,"height":211,"isRotated":false,"info":{"name":"tileset-ornaments-fCap-rich","width":352,"height":211}},{"x":1992,"y":1061,"width":387,"height":266,"isRotated":false,"info":{"name":"tileset-ornaments-sCoat-bear","width":387,"height":266}},{"x":1606,"y":1299,"width":386,"height":250,"isRotated":false,"info":{"name":"tileset-ornaments-sCoat-mike","width":386,"height":250}},{"x":1992,"y":1327,"width":382,"height":264,"isRotated":false,"info":{"name":"tileset-ornaments-fCoat-lili","width":382,"height":264}},{"x":2374,"y":1345,"width":364,"height":272,"isRotated":false,"info":{"name":"tileset-ornaments-fNecklace-lili","width":364,"height":272}},{"x":1992,"y":1591,"width":382,"height":227,"isRotated":false,"info":{"name":"tileset-ornaments-sCoat-rich","width":382,"height":227}},{"x":1992,"y":1818,"width":381,"height":263,"isRotated":false,"info":{"name":"tileset-ornaments-fCoat-wild","width":381,"height":263}},{"x":2374,"y":1617,"width":360,"height":225,"isRotated":false,"info":{"name":"tileset-ornaments-fCap-lady","width":360,"height":225}},{"x":2373,"y":1842,"width":359,"height":227,"isRotated":false,"info":{"name":"tileset-ornaments-sCap-lady","width":359,"height":227}},{"x":2373,"y":2069,"width":356,"height":231,"isRotated":false,"info":{"name":"tileset-ornaments-fCap-mike","width":356,"height":231}},{"x":852,"y":2300,"width":190,"height":248,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-bunch1","width":190,"height":248}},{"x":852,"y":2081,"width":206,"height":217,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-grape1","width":206,"height":217}},{"x":1153,"y":1312,"width":381,"height":235,"isRotated":false,"info":{"name":"tileset-ornaments-sCap-lili","width":381,"height":235}},{"x":845,"y":1400,"width":307,"height":258,"isRotated":false,"info":{"name":"tileset-ornaments-fCap-wild","width":307,"height":258}},{"x":1152,"y":1547,"width":375,"height":229,"isRotated":false,"info":{"name":"tileset-ornaments-fCoat-rich","width":375,"height":229}},{"x":845,"y":1658,"width":305,"height":264,"isRotated":false,"info":{"name":"tileset-ornaments-sCap-wild","width":305,"height":264}},{"x":1527,"y":1549,"width":323,"height":235,"isRotated":false,"info":{"name":"tileset-ornaments-sCap-cook","width":323,"height":235}},{"x":1150,"y":1776,"width":315,"height":260,"isRotated":false,"info":{"name":"tileset-ornaments-fCap-spring-festival","width":315,"height":260}},{"x":1150,"y":2036,"width":315,"height":256,"isRotated":false,"info":{"name":"tileset-ornaments-sCap-spring-festival","width":315,"height":256}},{"x":1042,"y":2300,"width":190,"height":248,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-bunch2","width":190,"height":248}},{"x":1232,"y":2300,"width":190,"height":248,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-bunch3","width":190,"height":248}},{"x":1422,"y":2300,"width":206,"height":237,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-icecream1","width":206,"height":237}},{"x":1465,"y":2081,"width":206,"height":217,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-grape2","width":206,"height":217}},{"x":1671,"y":1784,"width":288,"height":222,"isRotated":false,"info":{"name":"tileset-ornaments-fCap-huabei","width":288,"height":222}},{"x":1465,"y":1784,"width":206,"height":237,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-icecream2","width":206,"height":237}},{"x":1671,"y":2006,"width":224,"height":222,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-donut1","width":224,"height":222}},{"x":1671,"y":2228,"width":224,"height":222,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-donut2","width":224,"height":222}},{"x":1671,"y":2450,"width":206,"height":237,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-icecream3","width":206,"height":237}},{"x":1877,"y":2450,"width":217,"height":235,"isRotated":false,"info":{"name":"tileset-ornaments-fGlass-mike","width":217,"height":235}},{"x":2094,"y":2081,"width":224,"height":222,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-donut3","width":224,"height":222}},{"x":2094,"y":2303,"width":206,"height":217,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-grape3","width":206,"height":217}},{"x":2094,"y":2520,"width":206,"height":214,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-apple1","width":206,"height":214}},{"x":2300,"y":2520,"width":206,"height":214,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-apple2","width":206,"height":214}},{"x":2300,"y":2303,"width":206,"height":214,"isRotated":false,"info":{"name":"tileset-ornaments-snacks-apple3","width":206,"height":214}}] | ||
var data = [{"x":0,"y":0,"width":259,"height":165,"isRotated":false,"info":{"width":259,"height":165}},{"x":0,"y":165,"width":203,"height":115,"isRotated":false,"info":{"width":203,"height":115}},{"x":203,"y":165,"width":261,"height":106,"isRotated":false,"info":{"width":261,"height":106}},{"x":259,"y":0,"width":265,"height":162,"isRotated":false,"info":{"width":265,"height":162}},{"x":464,"y":162,"width":266,"height":122,"isRotated":false,"info":{"width":266,"height":122}},{"x":524,"y":0,"width":211,"height":137,"isRotated":false,"info":{"width":211,"height":137}}] |
@@ -17,3 +17,3 @@ //tslint:disable | ||
rect.height = $.height; | ||
rect.info = $.info; | ||
rect.info = {}; | ||
rect.info.width = $.width; | ||
@@ -23,25 +23,3 @@ rect.info.height = $.height; | ||
}); | ||
// const bestNode = genetic(rects, { | ||
// findPosition: FindPosition.AreaFit, | ||
// lifeTimes: 50, | ||
// liveRate: 0.5, | ||
// size: 50, | ||
// allowRotate: false, | ||
// }); | ||
// console.log(JSON.stringify(bestNode)); | ||
// console.log(bestNode.x * bestNode.y); | ||
// const width = bestNode.x; // Math.sqrt(size); | ||
// const height = bestNode.y; // size / width; | ||
// const packer = new MaxRectBinPack(width, height, false); | ||
// // const result: any[] = []; | ||
// // for (const rect of rects) { | ||
// // result.push(packer.insert(rect.width, rect.height, FindPosition.AreaFit)); | ||
// // } | ||
// let rectslength = rects.length; | ||
// console.log(rectslength); | ||
// const result = packer.insertRects(rects, FindPosition.AreaFit); | ||
// console.log(result.length); | ||
// console.log(result.length === rectslength); | ||
// function getRects() { | ||
@@ -62,3 +40,3 @@ // return rects.map($ => $.clone()); | ||
// ) { | ||
// const packer = new MaxRectBinPack(currentWidth, currentHeight, true); | ||
// const packer = new MaxRectBinPack(currentWidth, currentHeight, false); | ||
// const inserts = packer.insertRects(getRects(), 0); | ||
@@ -82,3 +60,3 @@ // if (inserts.length === r.length) { | ||
const serach = new Search(rects, false, 10, 0, 1.1); | ||
const serach = new Search(rects, false, 1, 0, Infinity); | ||
const bestNode = serach.search(); | ||
@@ -92,2 +70,3 @@ | ||
const result = packer.insertRects(rects, FindPosition.AreaFit); | ||
console.log(JSON.stringify(result)); | ||
console.log(packer.occupancy()); | ||
@@ -94,0 +73,0 @@ console.log(result.length); |
[ | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 387, | ||
"height": 360, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCap-bear" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 331, | ||
"height": 257, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCap-cook" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 288, | ||
"height": 222, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCap-huabei" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 360, | ||
"height": 225, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCap-lady" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 370, | ||
"height": 252, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCap-lili" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 356, | ||
"height": 231, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCap-mike" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 352, | ||
"height": 211, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCap-rich" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 315, | ||
"height": 260, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCap-spring-festival" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 307, | ||
"height": 258, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCap-wild" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 369, | ||
"height": 267, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCoat-bear" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 379, | ||
"height": 285, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCoat-cook" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 381, | ||
"height": 277, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCoat-huabei" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 381, | ||
"height": 293, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCoat-lady" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 382, | ||
"height": 264, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCoat-lili" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 400, | ||
"height": 274, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCoat-mike" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 375, | ||
"height": 229, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCoat-rich" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 381, | ||
"height": 263, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fCoat-wild" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 252, | ||
"height": 169, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fGlass-bear" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 217, | ||
"height": 235, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fGlass-mike" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 298, | ||
"height": 187, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fGlass-rich" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 342, | ||
"height": 209, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fGlass-wild" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 386, | ||
"height": 242, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fNecklace-cook" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 364, | ||
"height": 272, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fNecklace-lili" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 361, | ||
"height": 296, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fNecklace-rich" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 406, | ||
"height": 255, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fNecklace-spring-festival" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 130, | ||
"height": 131, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fSlag-apple" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 130, | ||
"height": 131, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fSlag-bunch" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 130, | ||
"height": 131, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fSlag-donut" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 130, | ||
"height": 131, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fSlag-grape" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 130, | ||
"height": 131, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-fSlag-icecream" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 339, | ||
"height": 362, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCap-bear" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 323, | ||
"height": 235, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCap-cook" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 331, | ||
"height": 227, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCap-huabei" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 359, | ||
"height": 227, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCap-lady" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 381, | ||
"height": 235, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCap-lili" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 327, | ||
"height": 227, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCap-mike" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 352, | ||
"height": 214, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCap-rich" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 315, | ||
"height": 256, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCap-spring-festival" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 305, | ||
"height": 264, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCap-wild" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 387, | ||
"height": 266, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCoat-bear" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 385, | ||
"height": 282, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCoat-cook" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 384, | ||
"height": 252, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCoat-huabei" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 394, | ||
"height": 270, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCoat-lady" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 386, | ||
"height": 254, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCoat-lili" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 386, | ||
"height": 250, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCoat-mike" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 382, | ||
"height": 227, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCoat-rich" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 397, | ||
"height": 262, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sCoat-wild" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 428, | ||
"height": 508, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sets-bear" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 422, | ||
"height": 523, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sets-cook" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 423, | ||
"height": 498, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sets-huabei" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 422, | ||
"height": 489, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sets-lady" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 430, | ||
"height": 493, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sets-lili" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 423, | ||
"height": 490, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sets-mike" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 422, | ||
"height": 497, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sets-rich" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 427, | ||
"height": 517, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sets-spring-festival" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 428, | ||
"height": 532, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sets-wild" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 232, | ||
"height": 175, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sGlass-rich" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 206, | ||
"height": 214, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-apple1" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 206, | ||
"height": 214, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-apple2" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 206, | ||
"height": 214, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-apple3" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 190, | ||
"height": 248, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-bunch1" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 190, | ||
"height": 248, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-bunch2" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 190, | ||
"height": 248, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-bunch3" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 224, | ||
"height": 222, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-donut1" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 224, | ||
"height": 222, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-donut2" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 224, | ||
"height": 222, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-donut3" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 206, | ||
"height": 217, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-grape1" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 206, | ||
"height": 217, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-grape2" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 206, | ||
"height": 217, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-grape3" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 206, | ||
"height": 237, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-icecream1" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 206, | ||
"height": 237, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-icecream2" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 206, | ||
"height": 237, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-snacks-icecream3" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 381, | ||
"height": 226, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sNecklace-cook" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 356, | ||
"height": 289, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sNecklace-rich" } | ||
}, | ||
{ | ||
"x": 0, | ||
"y": 0, | ||
"width": 397, | ||
"height": 211, | ||
"isRotated": false, | ||
"info": { "name": "tileset-ornaments-sNecklace-spring-festival" } | ||
} | ||
{ "width": 211, "height": 137 }, | ||
{ "width": 259, "height": 165 }, | ||
{ "width": 266, "height": 122 }, | ||
{ "width": 203, "height": 115 }, | ||
{ "width": 265, "height": 162 }, | ||
{ "width": 261, "height": 106 } | ||
] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35
903101
2790