working metdata output for json & odin in the aseprite_odin_generator tool
This commit is contained in:
parent
67d7b3e227
commit
52364f28b9
4 changed files with 83 additions and 23 deletions
|
|
@ -37,7 +37,9 @@ main :: proc() {
|
|||
|
||||
json_bytes, jerr := json.marshal(metadata)
|
||||
os.write_entire_file("src/aseprite_odin_generator/metadata.json", json_bytes)
|
||||
|
||||
sb := gen.generate_odin_enums_and_atlas_offsets_file_sb(metadata[:])
|
||||
odin_output_str := s.to_string(sb)
|
||||
os.write_entire_file("src/aseprite_odin_generator/output.odino", transmute([]byte)odin_output_str )
|
||||
|
||||
rl.ExportImage(atlas, EXPORT_PATH)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue