Color Picker as part of generator #220
-
Hello All! First and foremost, thank you so much for this fork and continued development. I feel like this fork is exactly what I need for my project, but I have been having a troublesome time figuring out the last part - the config.js. My project consists of robots and their colors are the very first "trait" - 7 total with some colors being more "rare" than others. Below is a picture of my file structure, ALL of the folders have the same content in them word-for-word. I am trying to get NFTCHEF's fork to select a color first, and continue generating as normal and circle back after completing one to start over again but I am at the point where I need to ask for help to achieve my end goal. I have read through the github and dev website but cannot nail down the structure of the json language to achieve what I hope to achieve. tl;dr - Need layers in config.js to pick a color folder first, and generate an NFT as normal, circle back and do it again. 😅 I've tried changing the below so much, but each time fails, or breaks or doesn't do what I'm trying to do and looking to see if anyone much more savvy than I at JSON can assist. Please and thank you so much for your time!
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
if each folder of color maintains its own structure of parts (with required folders and weighted folders/files) you would want to have a single entry point folder in your config.js for all of those layers. (if you have any universal layers, they would be included outside of the
|
Beta Was this translation helpful? Give feedback.
-
For anyone who happens to land on this discussion looking for the same thing - I've found a temporary solution that I hope helps the next person. In conjunction with nftchef's note and their guidance with using just the raw COLOR folder here: memonadil on discord suggested simply making an additional folder called This lets the generator just see, and scoop up that With proper z-indexing, all my folders are identical in names, layers get placed in the right order and all bots receive their appropriate color! Thank You x1000! |
Beta Was this translation helpful? Give feedback.
For anyone who happens to land on this discussion looking for the same thing - I've found a temporary solution that I hope helps the next person.
In conjunction with nftchef's note and their guidance with using just the raw COLOR folder here:
layersOrder: [ { name: "COLOR" }, ], },
memonadil on discord suggested simply making an additional folder called
BOT COLOR
inside each parent folder and put a single blank.PNG
inside with it's respective name (e.g. BLACK#100.png).This lets the generator just see, and scoop up that
trait
along the way giving each of my robots their respective colors as a trait during the process. Here is an example of my folder structure as well.With proper z-ind…