minter-dapp icon indicating copy to clipboard operation
minter-dapp copied to clipboard

[Bug]: How to generate collection if we have multiple character per image (nested layers)?

Open DevPratyush opened this issue 3 years ago • 1 comments

Version

  • [X] Yes

General Question

  • [X] No

What happened?

@I wanted to create a collection where we have 5 characters per image(. We have traits for each character. Let me explain the structure of the folder (It has nested subfolders).

I-Heroes |--Hero 1 I----Hairs l------Blackhair.png l------Blondhair.png l------Brownhair.png I----Cloth l------Blackcloth.png l------Whitecloth.png l------YellowCloth.png I----Skin l------Blackskin.png l------Brownskin.png l------Whiteskin.png

|--Hero 2 I----Hairs l------Blackhair.png l------Blondhair.png l------Brownhair.png I----Cloth l------Blackcloth.png l------Whitecloth.png l------YellowCloth.png I----Skin l------Blackskin.png l------Brownskin.png l------Whiteskin.png

|--Hero 3 I----Hairs l------Blackhair.png l------Blondhair.png l------Brownhair.png I----Cloth l------Blackcloth.png l------Whitecloth.png l------YellowCloth.png I----Skin l------Blackskin.png l------Brownskin.png l------Whiteskin.png

|--Hero 4 I----Hairs l------Blackhair.png l------Blondhair.png l------Brownhair.png I----Cloth l------Blackcloth.png l------Whitecloth.png l------YellowCloth.png I----Skin l------Blackskin.png l------Brownskin.png l------Whiteskin.png

|--Hero 5 I----Hairs l------Blackhair.png l------Blondhair.png l------Brownhair.png I----Cloth l------Blackcloth.png l------Whitecloth.png l------YellowCloth.png I----Skin l------Blackskin.png l------Brownskin.png l------Whiteskin.png

I-Background I-Birds

Please help me to figure it out how can I use this generator for creating such type of collection where we have multiple character in each image. Here we have sublayers. and also how can I get the json file that suits for this case.

What have you tried?

I tried to check it with different ways to work on it through this generator but couldn't get any clue.

Relevant log output

No response

Protect your information

  • [X] I Agree

DevPratyush avatar May 14 '22 07:05 DevPratyush

layersOrder: [ {name:heros5}, { name: "hairs" }, {name:"cloth"}, {name:"skin"},

  ],

},
like this u can add any number of layers

sainitin1012 avatar May 31 '22 07:05 sainitin1012