re-export spriteData
This commit is contained in:
parent
c6148ce6ad
commit
70f398ec73
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 541 B |
Binary file not shown.
Before Width: | Height: | Size: 541 B |
Binary file not shown.
Before Width: | Height: | Size: 541 B |
|
@ -32,4 +32,4 @@ for file in os.listdir(input_dir):
|
||||||
print(file, "dropped, as it has no valid sprite data.")
|
print(file, "dropped, as it has no valid sprite data.")
|
||||||
spriteData.sort(key=lambda entry: entry["name"])
|
spriteData.sort(key=lambda entry: entry["name"])
|
||||||
with open(f'{output_dir}/spriteData.json', 'w') as file:
|
with open(f'{output_dir}/spriteData.json', 'w') as file:
|
||||||
json.dump({"sprites": spriteData}, file)
|
json.dump({"sprites": spriteData}, file, indent=1)
|
||||||
|
|
Loading…
Reference in New Issue