From 8d824c95f1b64bec6d7e298c7c7d925c4ba3422a Mon Sep 17 00:00:00 2001 From: iamcheeseman <[hidden email]> Date: Wed, 14 Jan 2026 15:05:20 -0500 Subject: formatting and other cool changes --- tools/compile_assets/tiled.odin | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/compile_assets/tiled.odin b/tools/compile_assets/tiled.odin index 5311fa5..9305acc 100644 --- a/tools/compile_assets/tiled.odin +++ b/tools/compile_assets/tiled.odin @@ -455,6 +455,7 @@ load_json_room :: proc(path: string, file: ^os.File) { object_type_names[type_name] = {} pos := [2]f32{f32(obj.x), f32(obj.y)} + size := [2]f32{f32(obj.width), f32(obj.height)} properties: map[string]union{ bool, @@ -470,9 +471,10 @@ load_json_room :: proc(path: string, file: ^os.File) { } line := fmt.tprintf( - "{{type = .%v, pos = %w, parallax = %w, properties = %w}}", + "{{type = .%v, pos = %w, size = %w, parallax = %w, properties = %w}}", type_name, pos, + size, parallax, properties, ) -- cgit v1.3-2-g0d8e