Rain
c
- Mar 13, 2015
- 563
- 251
Hi,
I am trying to fix a furniture that won't rotate.
is anybody able to help me understand what's going wrong?
I have extracted the nitro file, and and struggling to make sense of what I'm lookin at. I mean, most of it makes sense but what defines the rotation count?
Can anybody explain the json structure and what means what?
Thanks in advance, if anybody replies.
JSON:
I am trying to fix a furniture that won't rotate.
is anybody able to help me understand what's going wrong?
I have extracted the nitro file, and and struggling to make sense of what I'm lookin at. I mean, most of it makes sense but what defines the rotation count?
Can anybody explain the json structure and what means what?
Thanks in advance, if anybody replies.
JSON:
{
"type": "furniture",
"name": "habbox_computer01_xiaomin",
"logicType": "furniture_multistate",
"visualizationType": "furniture_animated",
"assets": {
"habbox_computer01_xiaomin_64_a_2_0": {
"x": 33,
"y": 53
},
"habbox_computer01_xiaomin_64_a_4_0": {
"source": "habbox_computer01_xiaomin_64_a_2_0",
"x": 33,
"y": 53,
"flipH": true
},
"habbox_computer01_xiaomin_64_a_2_1": {
"x": 23,
"y": 32
},
"habbox_computer01_xiaomin_64_a_4_1": {
"source": "habbox_computer01_xiaomin_64_a_2_1",
"x": 23,
"y": 32,
"flipH": true
},
"habbox_computer01_xiaomin_icon_a": {
"x": 0,
"y": 0
}
},
"dimensions": {
"x": 1,
"y": 1,
"z": 1
},
"directions": [
90,
180
],
"visualizations": [
{
"angle": 45,
"layerCount": 1,
"size": 64,
"layers": {
"0": {}
},
"directions": {
"2": {},
"4": {}
},
"animations": {
"0": {
"layers": {
"0": {
"frameSequences": {
"0": {
"frames": {
"0": {
"id": 0
}
}
}
}
}
}
},
"1": {
"layers": {
"0": {
"frameSequences": {
"0": {
"frames": {
"0": {
"id": 1
}
}
}
}
}
}
}
}
},
{
"angle": 360,
"layerCount": 1,
"size": 1
}
],
"spritesheet": {
"frames": {
"habbox_computer01_xiaomin_habbox_computer01_xiaomin_64_a_2_0": {
"frame": {
"x": 0,
"y": 0,
"w": 62,
"h": 67
},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {
"x": 0,
"y": 0,
"w": 62,
"h": 67
},
"sourceSize": {
"w": 62,
"h": 67
},
"pivot": {
"x": 0.5,
"y": 0.5
}
},
"habbox_computer01_xiaomin_habbox_computer01_xiaomin_64_a_2_1": {
"frame": {
"x": 0,
"y": 67,
"w": 49,
"h": 42
},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {
"x": 0,
"y": 0,
"w": 49,
"h": 42
},
"sourceSize": {
"w": 49,
"h": 42
},
"pivot": {
"x": 0.5,
"y": 0.5
}
},
"habbox_computer01_xiaomin_habbox_computer01_xiaomin_icon_a": {
"frame": {
"x": 0,
"y": 109,
"w": 26,
"h": 28
},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {
"x": 3,
"y": 2,
"w": 26,
"h": 28
},
"sourceSize": {
"w": 30,
"h": 30
},
"pivot": {
"x": 0.5,
"y": 0.5
}
}
},
"meta": {
"image": "habbox_computer01_xiaomin.png",
"format": "RGBA8888",
"size": {
"w": 62,
"h": 137
},
"scale": 1
}
}
}