Guillaume-Docquier / guillaume-docquier.github.io

MIT License
5 stars 7 forks source link

Initial progress towards stonemason profession (#13) #37

Closed garrettjoecox closed 3 years ago

garrettjoecox commented 3 years ago

Somewhat of a start to the stoneworking profession, there's a lot missing but this adds most of the components & the cottage recipe.

It wasn't clear from the README how to fetch/generate the images for these new components, how do I go about doing that?

Partially closes #13

Guillaume-Docquier commented 3 years ago

For the images, we have all the game assets under data/assets/all_sprites. However, these are PNG and SVG scales better.

So you'll have to go in data/assets/all_sprites and find the relevant PNGs. In the python project, I have created a png-to-svg-converter, which will allow you to bulk convert the assets and will somewhat format the file name. Note that the asset might have legacy names and most of them will require you to edit the file name to work properly.

All the assets are there. If you can't find what you are looking for, dig deeper, try different names or do a visual scan. I use the windows search for this but it's not that good.

The file name of the svg should be classNameCustomizationName and the matching will be done automatically at runtime, no code needed.

Then, you can drop all the svgs into data/assets.

I'll make sure to add proper instructions in the README.

Guillaume-Docquier commented 3 years ago

I realize that I have gitignored the all_sprites folder because it is huge. I'll look into what I can do to share it.

Guillaume-Docquier commented 3 years ago

All stonemasonry data was pulled by someone else, will close this