🆙 Removed the generic.asset.url
We have removed the generic.asset.url and all is now in the renderer, so easy to edit and no more wrongly loaded assets
@@ -1,337 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "avatar_additions",
|
|
||||||
"name": "avatar_additions",
|
|
||||||
"spritesheet": {
|
|
||||||
"meta": {
|
|
||||||
"image": "avatar_additions.png",
|
|
||||||
"format": "RGBA8888",
|
|
||||||
"size": {
|
|
||||||
"w": 61,
|
|
||||||
"h": 217
|
|
||||||
},
|
|
||||||
"scale": "1.0"
|
|
||||||
},
|
|
||||||
"frames": {
|
|
||||||
"avatar_addition_number_1.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 28,
|
|
||||||
"y": 168,
|
|
||||||
"w": 15,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": true,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 0,
|
|
||||||
"w": 15,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_number_2.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 42,
|
|
||||||
"y": 58,
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_number_3.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 42,
|
|
||||||
"y": 83,
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_number_4.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 42,
|
|
||||||
"y": 108,
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_number_5.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 42,
|
|
||||||
"y": 133,
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 18,
|
|
||||||
"h": 23
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_pet_experience_bubble.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"w": 53,
|
|
||||||
"h": 55
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 53,
|
|
||||||
"h": 55
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 53,
|
|
||||||
"h": 55
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_blowkiss.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 45,
|
|
||||||
"y": 181,
|
|
||||||
"w": 13,
|
|
||||||
"h": 11
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 13,
|
|
||||||
"h": 11
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 13,
|
|
||||||
"h": 11
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_guide_bubble.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 58,
|
|
||||||
"w": 39,
|
|
||||||
"h": 38
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 39,
|
|
||||||
"h": 38
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 39,
|
|
||||||
"h": 38
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_guide_requester_bubble.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 98,
|
|
||||||
"w": 39,
|
|
||||||
"h": 38
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 39,
|
|
||||||
"h": 38
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 39,
|
|
||||||
"h": 38
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_idle_left_1.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 194,
|
|
||||||
"w": 12,
|
|
||||||
"h": 22
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 12,
|
|
||||||
"h": 22
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 12,
|
|
||||||
"h": 22
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_idle_left_2.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 49,
|
|
||||||
"y": 194,
|
|
||||||
"w": 9,
|
|
||||||
"h": 21
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 9,
|
|
||||||
"h": 21
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 9,
|
|
||||||
"h": 21
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_idle_right_1.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 45,
|
|
||||||
"y": 158,
|
|
||||||
"w": 12,
|
|
||||||
"h": 21
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 12,
|
|
||||||
"h": 21
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 12,
|
|
||||||
"h": 21
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_idle_right_2.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 15,
|
|
||||||
"y": 194,
|
|
||||||
"w": 8,
|
|
||||||
"h": 22
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 8,
|
|
||||||
"h": 22
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 8,
|
|
||||||
"h": 22
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_muted.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 138,
|
|
||||||
"w": 31,
|
|
||||||
"h": 28
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 31,
|
|
||||||
"h": 28
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 31,
|
|
||||||
"h": 28
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_muted_small.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 168,
|
|
||||||
"w": 25,
|
|
||||||
"h": 24
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 25,
|
|
||||||
"h": 24
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 25,
|
|
||||||
"h": 24
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"avatar_addition_user_typing.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 25,
|
|
||||||
"y": 194,
|
|
||||||
"w": 22,
|
|
||||||
"h": 18
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 22,
|
|
||||||
"h": 18
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 22,
|
|
||||||
"h": 18
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 3.3 KiB |
@@ -1,617 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "floor_editor",
|
|
||||||
"name": "floor_editor",
|
|
||||||
"spritesheet": {
|
|
||||||
"meta": {
|
|
||||||
"image": "floor_editor.png",
|
|
||||||
"format": "RGBA8888",
|
|
||||||
"size": {
|
|
||||||
"w": 108,
|
|
||||||
"h": 190
|
|
||||||
},
|
|
||||||
"scale": "1.0"
|
|
||||||
},
|
|
||||||
"frames": {
|
|
||||||
"floor_editor_0.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_1.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 1,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_2.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 1,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_3.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 20,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_4.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 20,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_5.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 20,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_6.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 39,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_7.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 39,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_8.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 39,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_9.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 58,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_a.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 58,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_b.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 58,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_c.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 77,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_d.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 77,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_e.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 77,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_f.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 96,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_g.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 96,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_h.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 96,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_i.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 115,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_j.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 115,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_k.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 115,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_l.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 134,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_m.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 134,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_n.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 134,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_o.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 153,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_p.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 153,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_q.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 153,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_r_blocked.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 172,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_r_door.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 37,
|
|
||||||
"y": 172,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"floor_editor_x.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 73,
|
|
||||||
"y": 172,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false,
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 34,
|
|
||||||
"h": 17
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 50 KiB |
@@ -1,100 +0,0 @@
|
|||||||
{
|
|
||||||
"assets": {
|
|
||||||
"place_holder_64_a_0_0": {
|
|
||||||
"x": 34,
|
|
||||||
"y": 49
|
|
||||||
},
|
|
||||||
"place_holder_icon_a": {
|
|
||||||
"x": 16,
|
|
||||||
"y": 16
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"logic": {
|
|
||||||
"model": {
|
|
||||||
"dimensions": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"directions": [
|
|
||||||
0
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"logicType": "furniture_basic",
|
|
||||||
"name": "place_holder",
|
|
||||||
"spritesheet": {
|
|
||||||
"frames": {
|
|
||||||
"place_holder_place_holder_64_a_0_0.png": {
|
|
||||||
"frame": {
|
|
||||||
"h": 67,
|
|
||||||
"w": 68,
|
|
||||||
"x": 2,
|
|
||||||
"y": 28
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"sourceSize": {
|
|
||||||
"h": 67,
|
|
||||||
"w": 68
|
|
||||||
},
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"h": 67,
|
|
||||||
"w": 68,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"trimmed": false
|
|
||||||
},
|
|
||||||
"place_holder_place_holder_icon_a.png": {
|
|
||||||
"frame": {
|
|
||||||
"h": 24,
|
|
||||||
"w": 24,
|
|
||||||
"x": 2,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"sourceSize": {
|
|
||||||
"h": 24,
|
|
||||||
"w": 24
|
|
||||||
},
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"h": 24,
|
|
||||||
"w": 24,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"trimmed": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"meta": {
|
|
||||||
"format": "RGBA8888",
|
|
||||||
"image": "place_holder.png",
|
|
||||||
"scale": "1.0",
|
|
||||||
"size": {
|
|
||||||
"h": 128,
|
|
||||||
"w": 128
|
|
||||||
},
|
|
||||||
"version": "1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "place_holder",
|
|
||||||
"visualizationType": "furniture_static",
|
|
||||||
"visualizations": [
|
|
||||||
{
|
|
||||||
"angle": 45,
|
|
||||||
"directions": {
|
|
||||||
"0": {}
|
|
||||||
},
|
|
||||||
"layerCount": 1,
|
|
||||||
"size": 64
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"angle": 360,
|
|
||||||
"directions": {
|
|
||||||
"0": {}
|
|
||||||
},
|
|
||||||
"layerCount": 1,
|
|
||||||
"size": 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 4.5 KiB |
@@ -1,113 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "place_holder_wall",
|
|
||||||
"name": "place_holder_wall",
|
|
||||||
"visualizationType": "furniture_static",
|
|
||||||
"logicType": "furniture_basic",
|
|
||||||
"spritesheet": {
|
|
||||||
"meta": {
|
|
||||||
"format": "RGBA8888",
|
|
||||||
"image": "place_holder_wall.png",
|
|
||||||
"scale": "1.0",
|
|
||||||
"size": {
|
|
||||||
"w": 128,
|
|
||||||
"h": 64
|
|
||||||
},
|
|
||||||
"version": "1.0"
|
|
||||||
},
|
|
||||||
"frames": {
|
|
||||||
"place_holder_wall_place_holder_wall_icon_a.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 40,
|
|
||||||
"y": 28,
|
|
||||||
"w": 24,
|
|
||||||
"h": 24
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 24,
|
|
||||||
"h": 24
|
|
||||||
},
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 24,
|
|
||||||
"h": 24
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false
|
|
||||||
},
|
|
||||||
"place_holder_wall_place_holder_wall_64_a_2_0.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 2,
|
|
||||||
"y": 2,
|
|
||||||
"w": 36,
|
|
||||||
"h": 50
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 36,
|
|
||||||
"h": 50
|
|
||||||
},
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 36,
|
|
||||||
"h": 50
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"logic": {
|
|
||||||
"model": {
|
|
||||||
"dimensions": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"directions": [
|
|
||||||
90,
|
|
||||||
180
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"assets": {
|
|
||||||
"place_holder_wall_icon_a": {
|
|
||||||
"x": 16,
|
|
||||||
"y": 16
|
|
||||||
},
|
|
||||||
"place_holder_wall_64_a_2_0": {
|
|
||||||
"x": 18,
|
|
||||||
"y": 25
|
|
||||||
},
|
|
||||||
"place_holder_wall_64_a_4_0": {
|
|
||||||
"source": "place_holder_wall_64_a_2_0",
|
|
||||||
"x": 18,
|
|
||||||
"y": 25,
|
|
||||||
"flipH": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"visualizations": [
|
|
||||||
{
|
|
||||||
"size": 64,
|
|
||||||
"layerCount": 1,
|
|
||||||
"angle": 45,
|
|
||||||
"layers": {
|
|
||||||
"0": {
|
|
||||||
"z": -1500
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"directions": {
|
|
||||||
"2": {},
|
|
||||||
"4": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": 1,
|
|
||||||
"layerCount": 1,
|
|
||||||
"angle": 360,
|
|
||||||
"directions": {
|
|
||||||
"0": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 566 B |
@@ -1,180 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "furniture",
|
|
||||||
"name": "selection_arrow",
|
|
||||||
"visualizationType": "furniture_animated",
|
|
||||||
"logicType": "selection_arrow",
|
|
||||||
"spritesheet": {
|
|
||||||
"meta": {
|
|
||||||
"app": "FFConverter ~ Joopie",
|
|
||||||
"format": "RGBA8888",
|
|
||||||
"image": "selection_arrow.png",
|
|
||||||
"scale": "1.0",
|
|
||||||
"size": {
|
|
||||||
"w": 256,
|
|
||||||
"h": 64
|
|
||||||
},
|
|
||||||
"version": "1.0"
|
|
||||||
},
|
|
||||||
"frames": {
|
|
||||||
"selection_arrow_selection_arrow_64_a_0_2.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 70,
|
|
||||||
"y": 2,
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false
|
|
||||||
},
|
|
||||||
"selection_arrow_selection_arrow_64_a_0_0.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 2,
|
|
||||||
"y": 2,
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false
|
|
||||||
},
|
|
||||||
"selection_arrow_selection_arrow_64_a_0_1.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 36,
|
|
||||||
"y": 2,
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false
|
|
||||||
},
|
|
||||||
"selection_arrow_selection_arrow_64_a_0_3.png": {
|
|
||||||
"frame": {
|
|
||||||
"x": 104,
|
|
||||||
"y": 2,
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"sourceSize": {
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"spriteSourceSize": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"w": 32,
|
|
||||||
"h": 43
|
|
||||||
},
|
|
||||||
"rotated": false,
|
|
||||||
"trimmed": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dimensions": {
|
|
||||||
"x": 1.0,
|
|
||||||
"y": 1.0,
|
|
||||||
"z": 1.0
|
|
||||||
},
|
|
||||||
"directions": [
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"assets": {
|
|
||||||
"selection_arrow_64_a_0_1": {
|
|
||||||
"x": 16,
|
|
||||||
"y": 140
|
|
||||||
},
|
|
||||||
"selection_arrow_64_a_0_2": {
|
|
||||||
"x": 16,
|
|
||||||
"y": 140
|
|
||||||
},
|
|
||||||
"selection_arrow_64_a_0_3": {
|
|
||||||
"x": 16,
|
|
||||||
"y": 140
|
|
||||||
},
|
|
||||||
"selection_arrow_64_a_0_0": {
|
|
||||||
"x": 16,
|
|
||||||
"y": 140
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"visualizations": [
|
|
||||||
{
|
|
||||||
"layerCount": 1,
|
|
||||||
"angle": 45,
|
|
||||||
"size": 64,
|
|
||||||
"directions": {
|
|
||||||
"0": {}
|
|
||||||
},
|
|
||||||
"animations": {
|
|
||||||
"0": {
|
|
||||||
"layers": {
|
|
||||||
"0": {
|
|
||||||
"loopCount": 0,
|
|
||||||
"frameRepeat": 3,
|
|
||||||
"frameSequences": {
|
|
||||||
"0": {
|
|
||||||
"frames": {
|
|
||||||
"0": {
|
|
||||||
"id": 0
|
|
||||||
},
|
|
||||||
"1": {
|
|
||||||
"id": 1
|
|
||||||
},
|
|
||||||
"2": {
|
|
||||||
"id": 2
|
|
||||||
},
|
|
||||||
"3": {
|
|
||||||
"id": 3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"1": {
|
|
||||||
"layers": {
|
|
||||||
"0": {
|
|
||||||
"frameSequences": {
|
|
||||||
"0": {
|
|
||||||
"frames": {
|
|
||||||
"0": {
|
|
||||||
"id": 4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
@@ -106,6 +106,16 @@ export class AssetManager implements IAssetManager
|
|||||||
case 'room':
|
case 'room':
|
||||||
await this.loadLocalRoom();
|
await this.loadLocalRoom();
|
||||||
return true;
|
return true;
|
||||||
|
case 'place_holder':
|
||||||
|
case 'place_holder_wall':
|
||||||
|
case 'place_holder_pet':
|
||||||
|
case 'tile_cursor':
|
||||||
|
case 'selection_arrow':
|
||||||
|
case 'avatar_additions':
|
||||||
|
case 'floor_editor':
|
||||||
|
case 'group_badge':
|
||||||
|
await this.loadLocalAsset(key);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
@@ -207,6 +217,69 @@ export class AssetManager implements IAssetManager
|
|||||||
collection.define(roomData);
|
collection.define(roomData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private async loadLocalAsset(name: string): Promise<void>
|
||||||
|
{
|
||||||
|
let dataModule: any;
|
||||||
|
|
||||||
|
switch(name)
|
||||||
|
{
|
||||||
|
case 'place_holder':
|
||||||
|
dataModule = await import('./assets/place_holder/place_holder.asset.json');
|
||||||
|
break;
|
||||||
|
case 'place_holder_wall':
|
||||||
|
dataModule = await import('./assets/place_holder_wall/place_holder_wall.asset.json');
|
||||||
|
break;
|
||||||
|
case 'place_holder_pet':
|
||||||
|
dataModule = await import('./assets/place_holder_pet/place_holder_pet.asset.json');
|
||||||
|
break;
|
||||||
|
case 'tile_cursor':
|
||||||
|
dataModule = await import('./assets/tile_cursor/tile_cursor.asset.json');
|
||||||
|
break;
|
||||||
|
case 'selection_arrow':
|
||||||
|
dataModule = await import('./assets/selection_arrow/selection_arrow.asset.json');
|
||||||
|
break;
|
||||||
|
case 'avatar_additions':
|
||||||
|
dataModule = await import('./assets/avatar_additions/avatar_additions.asset.json');
|
||||||
|
break;
|
||||||
|
case 'floor_editor':
|
||||||
|
dataModule = await import('./assets/floor_editor/floor_editor.asset.json');
|
||||||
|
break;
|
||||||
|
case 'group_badge':
|
||||||
|
dataModule = await import('./assets/group_badge/group_badge.asset.json');
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const data = (dataModule.default ?? dataModule) as IAssetData;
|
||||||
|
const collection = this.createCollection(data, null) as GraphicAssetCollection;
|
||||||
|
if(!collection) return;
|
||||||
|
|
||||||
|
const allImages = import.meta.glob('./assets/*/images/*.png', { eager: true });
|
||||||
|
const prefix = `./assets/${name}/images/`;
|
||||||
|
|
||||||
|
for(const path in allImages)
|
||||||
|
{
|
||||||
|
if(!path.startsWith(prefix)) continue;
|
||||||
|
|
||||||
|
const mod = allImages[path];
|
||||||
|
const imageUrl = (mod.default ?? mod) as string;
|
||||||
|
|
||||||
|
const file = path.split('/').pop()!;
|
||||||
|
const rawName = file.replace(/\.png$/i, '');
|
||||||
|
|
||||||
|
const texture = await Assets.load<Texture>(imageUrl);
|
||||||
|
if(!texture) continue;
|
||||||
|
|
||||||
|
this.setTexture(rawName, texture);
|
||||||
|
|
||||||
|
collection.textures.set(name + '_' + rawName, texture);
|
||||||
|
collection.textures.set(rawName, texture);
|
||||||
|
}
|
||||||
|
|
||||||
|
collection.define(data);
|
||||||
|
}
|
||||||
|
|
||||||
private async processAsset(texture: Texture, data: IAssetData): Promise<IGraphicAssetCollection>
|
private async processAsset(texture: Texture, data: IAssetData): Promise<IGraphicAssetCollection>
|
||||||
{
|
{
|
||||||
let spritesheet: Spritesheet<SpritesheetData> = null;
|
let spritesheet: Spritesheet<SpritesheetData> = null;
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"type": "avatar_additions",
|
||||||
|
"name": "avatar_additions"
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 667 B |
|
After Width: | Height: | Size: 831 B |
|
After Width: | Height: | Size: 761 B |
|
After Width: | Height: | Size: 721 B |
|
After Width: | Height: | Size: 764 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 200 B |
|
After Width: | Height: | Size: 540 B |
|
After Width: | Height: | Size: 1007 B |
|
After Width: | Height: | Size: 195 B |
|
After Width: | Height: | Size: 184 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 177 B |
|
After Width: | Height: | Size: 332 B |
|
After Width: | Height: | Size: 317 B |
|
After Width: | Height: | Size: 205 B |
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"type": "floor_editor",
|
||||||
|
"name": "floor_editor"
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 193 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 192 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 193 B |
|
After Width: | Height: | Size: 190 B |
|
After Width: | Height: | Size: 190 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 194 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 190 B |
|
After Width: | Height: | Size: 187 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 190 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 197 B |
|
After Width: | Height: | Size: 186 B |
|
After Width: | Height: | Size: 189 B |
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"type": "group_badge",
|
||||||
|
"name": "group_badge"
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 543 B |
|
After Width: | Height: | Size: 517 B |
|
After Width: | Height: | Size: 592 B |
|
After Width: | Height: | Size: 722 B |
|
After Width: | Height: | Size: 408 B |
|
After Width: | Height: | Size: 441 B |
|
After Width: | Height: | Size: 397 B |
|
After Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 534 B |
|
After Width: | Height: | Size: 151 B |
|
After Width: | Height: | Size: 700 B |
|
After Width: | Height: | Size: 639 B |
|
After Width: | Height: | Size: 372 B |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 845 B |
|
After Width: | Height: | Size: 467 B |
|
After Width: | Height: | Size: 363 B |
|
After Width: | Height: | Size: 602 B |
|
After Width: | Height: | Size: 193 B |
|
After Width: | Height: | Size: 402 B |
|
After Width: | Height: | Size: 391 B |
|
After Width: | Height: | Size: 469 B |
|
After Width: | Height: | Size: 274 B |
|
After Width: | Height: | Size: 314 B |
|
After Width: | Height: | Size: 846 B |
|
After Width: | Height: | Size: 248 B |
|
After Width: | Height: | Size: 713 B |
|
After Width: | Height: | Size: 303 B |
|
After Width: | Height: | Size: 411 B |
|
After Width: | Height: | Size: 114 B |
|
After Width: | Height: | Size: 485 B |
|
After Width: | Height: | Size: 439 B |
|
After Width: | Height: | Size: 408 B |
|
After Width: | Height: | Size: 488 B |
|
After Width: | Height: | Size: 210 B |
|
After Width: | Height: | Size: 558 B |