jalagar / animated-art-engine

A generative engine that takes various png layers on a sprite sheet format, combines them and then converts them into a .gif file
MIT License
166 stars 64 forks source link

grouping layers #114

Closed wawi3 closed 1 year ago

wawi3 commented 2 years ago

hey jalagar, I have a question about generating gifs with different layers and body. for my example, lets talk about cars. so i want to have 3 different model of cars (Tesla, Porcshe, Lambo) and each of them will have their own set of wheels. Tesla has 3 wheel designs Porcshe has 2 wheel designs Lambo has 4 wheel designs

but all of the cars will fall under the same background. how can I solve that using your tool? I have checked the layer grouping example but it wasn't that clear for me to proceed.

waiting eagerly for your reply! Thanks :)

jalagar commented 2 years ago

I would use if-then statements not grouping. Grouping is good to group entire layers together, in your case you want a if tesla then 3 wheel, if porcshe then 2 wheel etc. Nice to hear from you again!

jalagar commented 2 years ago

Check out the readme and the layers_if_then for an example

jalagar commented 1 year ago

I'm going to close this issue @Neonode22, feel free to re-open if you have any other questions.