forked from alto-io/xgr-arcadians
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-v2.jsx
47 lines (42 loc) · 1.14 KB
/
config-v2.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
g_config = {
spritesheet: {
/**Size of each individual sprite*/
spriteWidth: 128,
/**Size of each individual sprite*/
spriteHeight: 128,
/**How many frames to skip for the duration of the anim*/
framesToSkip: 3,
/**
* Which animations to use as reference for the spritesheet.
* Their order in the array determines their vertical order on the sheet
*/
targetAnimations: ["Idle", "Cheer", "Attack"],
zipFileName: "YourArcadian.zip",
spritesSubFolder: "",
sheetfileName: "sheet.png",
sheetJsonName: "properties.json",
},
list: [
{
id: "Male",
gltfPath: "./v2/gltf/",
gltfFileName: "arcadian.gltf",
position: { x: 0, y: -1, z: 0 },
scaling: { x: 4, y: 4, z: -4 },
materials: [
{ id: "Skin", name: "Skin" },
{ id: "Head", name: "Head" },
{ id: "Top", name: "Top" },
{ id: "Bottom", name: "Bottom" },
{ id: "Left Hand", name: "Left Hand" },
{ id: "Right Hand", name: "Right Hand" },
],
animations: [
{ id: "Idle", name: "Idle" },
{ id: "Cheer", name: "Cheer" },
{ id: "Attack", name: "Attack" },
],
},
],
partsConfigPath: "./v2/arcadian-parts/partsConfig.json",
};