From 8152c7a32526f1cf439ee6dc01ac87721fdaaafc Mon Sep 17 00:00:00 2001 From: doyle Date: Sun, 24 Sep 2023 12:36:43 +1000 Subject: [PATCH] tely: Fix assets by resizing to 25% --- Data/Textures/smoochie_resized_25%.png | 3 + Data/Textures/smoochie_resized_25%.txt | 3 + .../smoochie_attack_1.png | 3 + .../smoochie_attack_2.png | 3 + .../smoochie_attack_heart_1.png | 3 + .../smoochie_attack_heart_2.png | 3 + .../smoochie_attack_heart_3.png | 3 + .../smoochie_attack_heart_4.png | 3 + .../smoochie_attack_heart_5.png | 3 + .../smoochie_attack_heart_6.png | 3 + .../smoochie_attack_heart_7.png | 3 + .../smoochie_attack_heart_8.png | 3 + .../smoochie_attack_heart_9.png | 3 + .../smoochie_resized_25%/smoochie_death_1.png | 3 + .../smoochie_resized_25%/smoochie_death_2.png | 3 + .../smoochie_resized_25%/smoochie_death_3.png | 3 + .../smoochie_resized_25%/smoochie_death_4.png | 3 + .../smoochie_resized_25%/smoochie_death_5.png | 3 + .../smoochie_resized_25%/smoochie_death_6.png | 3 + .../smoochie_resized_25%/smoochie_death_7.png | 3 + .../smoochie_side_attack_1.png | 3 + .../smoochie_side_attack_2.png | 3 + .../smoochie_walk_down_1.png | 3 + .../smoochie_walk_down_2.png | 3 + .../smoochie_walk_left_1.png | 3 + .../smoochie_walk_left_2.png | 3 + .../smoochie_walk_right_1.png | 3 + .../smoochie_walk_right_2.png | 3 + .../smoochie_walk_up_1.png | 3 + .../smoochie_walk_up_2.png | 3 + Data/Textures/sprite_spec.txt | 4 +- Data/Textures/terry_walk.png | 3 - Data/Textures/terry_walk.txt | 3 - .../Textures/terry_walk/terry_walk_down_1.png | 3 - .../Textures/terry_walk/terry_walk_down_2.png | 3 - .../Textures/terry_walk/terry_walk_down_3.png | 3 - .../Textures/terry_walk/terry_walk_down_4.png | 3 - .../Textures/terry_walk/terry_walk_down_5.png | 3 - .../Textures/terry_walk/terry_walk_down_6.png | 3 - .../Textures/terry_walk/terry_walk_down_7.png | 3 - .../Textures/terry_walk/terry_walk_idle_1.png | 3 - .../Textures/terry_walk/terry_walk_idle_2.png | 3 - .../Textures/terry_walk/terry_walk_idle_3.png | 3 - .../Textures/terry_walk/terry_walk_idle_4.png | 3 - .../Textures/terry_walk/terry_walk_idle_5.png | 3 - .../Textures/terry_walk/terry_walk_idle_6.png | 3 - .../Textures/terry_walk/terry_walk_idle_7.png | 3 - .../Textures/terry_walk/terry_walk_idle_8.png | 3 - .../Textures/terry_walk/terry_walk_left_1.png | 3 - .../Textures/terry_walk/terry_walk_left_2.png | 3 - .../Textures/terry_walk/terry_walk_left_3.png | 3 - .../Textures/terry_walk/terry_walk_left_4.png | 3 - .../Textures/terry_walk/terry_walk_left_5.png | 3 - .../Textures/terry_walk/terry_walk_left_6.png | 3 - .../Textures/terry_walk/terry_walk_left_7.png | 3 - .../terry_walk/terry_walk_right_1.png | 3 - .../terry_walk/terry_walk_right_2.png | 3 - .../terry_walk/terry_walk_right_3.png | 3 - .../terry_walk/terry_walk_right_4.png | 3 - .../terry_walk/terry_walk_right_5.png | 3 - .../terry_walk/terry_walk_right_6.png | 3 - .../terry_walk/terry_walk_right_7.png | 3 - Data/Textures/terry_walk/terry_walk_up_1.png | 3 - Data/Textures/terry_walk/terry_walk_up_2.png | 3 - Data/Textures/terry_walk/terry_walk_up_3.png | 3 - Data/Textures/terry_walk/terry_walk_up_4.png | 3 - Data/Textures/terry_walk/terry_walk_up_5.png | 3 - Data/Textures/terry_walk/terry_walk_up_6.png | 3 - Data/Textures/terry_walk_resized_25%.png | 3 + Data/Textures/terry_walk_resized_25%.txt | 3 + .../terry_walk_down_1.png | 3 + .../terry_walk_down_2.png | 3 + .../terry_walk_down_3.png | 3 + .../terry_walk_down_4.png | 3 + .../terry_walk_down_5.png | 3 + .../terry_walk_down_6.png | 3 + .../terry_walk_down_7.png | 3 + .../terry_walk_idle_1.png | 3 + .../terry_walk_idle_2.png | 3 + .../terry_walk_idle_3.png | 3 + .../terry_walk_idle_4.png | 3 + .../terry_walk_idle_5.png | 3 + .../terry_walk_idle_6.png | 3 + .../terry_walk_idle_7.png | 3 + .../terry_walk_idle_8.png | 3 + .../terry_walk_left_1.png | 3 + .../terry_walk_left_2.png | 3 + .../terry_walk_left_3.png | 3 + .../terry_walk_left_4.png | 3 + .../terry_walk_left_5.png | 3 + .../terry_walk_left_6.png | 3 + .../terry_walk_left_7.png | 3 + .../terry_walk_right_1.png | 3 + .../terry_walk_right_2.png | 3 + .../terry_walk_right_3.png | 3 + .../terry_walk_right_4.png | 3 + .../terry_walk_right_5.png | 3 + .../terry_walk_right_6.png | 3 + .../terry_walk_right_7.png | 3 + .../terry_walk_up_1.png | 3 + .../terry_walk_up_2.png | 3 + .../terry_walk_up_3.png | 3 + .../terry_walk_up_4.png | 3 + .../terry_walk_up_5.png | 3 + .../terry_walk_up_6.png | 3 + External/tely | 2 +- build.bat | 4 +- feely_pona_sprite_packer.cpp | 63 +++++++++++++----- project.rdbg | Bin 1143 -> 1130 bytes 109 files changed, 252 insertions(+), 133 deletions(-) create mode 100644 Data/Textures/smoochie_resized_25%.png create mode 100644 Data/Textures/smoochie_resized_25%.txt create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_1.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_2.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_heart_1.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_heart_2.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_heart_3.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_heart_4.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_heart_5.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_heart_6.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_heart_7.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_heart_8.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_attack_heart_9.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_death_1.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_death_2.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_death_3.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_death_4.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_death_5.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_death_6.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_death_7.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_side_attack_1.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_side_attack_2.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_walk_down_1.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_walk_down_2.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_walk_left_1.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_walk_left_2.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_walk_right_1.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_walk_right_2.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_walk_up_1.png create mode 100644 Data/Textures/smoochie_resized_25%/smoochie_walk_up_2.png delete mode 100644 Data/Textures/terry_walk.png delete mode 100644 Data/Textures/terry_walk.txt delete mode 100644 Data/Textures/terry_walk/terry_walk_down_1.png delete mode 100644 Data/Textures/terry_walk/terry_walk_down_2.png delete mode 100644 Data/Textures/terry_walk/terry_walk_down_3.png delete mode 100644 Data/Textures/terry_walk/terry_walk_down_4.png delete mode 100644 Data/Textures/terry_walk/terry_walk_down_5.png delete mode 100644 Data/Textures/terry_walk/terry_walk_down_6.png delete mode 100644 Data/Textures/terry_walk/terry_walk_down_7.png delete mode 100644 Data/Textures/terry_walk/terry_walk_idle_1.png delete mode 100644 Data/Textures/terry_walk/terry_walk_idle_2.png delete mode 100644 Data/Textures/terry_walk/terry_walk_idle_3.png delete mode 100644 Data/Textures/terry_walk/terry_walk_idle_4.png delete mode 100644 Data/Textures/terry_walk/terry_walk_idle_5.png delete mode 100644 Data/Textures/terry_walk/terry_walk_idle_6.png delete mode 100644 Data/Textures/terry_walk/terry_walk_idle_7.png delete mode 100644 Data/Textures/terry_walk/terry_walk_idle_8.png delete mode 100644 Data/Textures/terry_walk/terry_walk_left_1.png delete mode 100644 Data/Textures/terry_walk/terry_walk_left_2.png delete mode 100644 Data/Textures/terry_walk/terry_walk_left_3.png delete mode 100644 Data/Textures/terry_walk/terry_walk_left_4.png delete mode 100644 Data/Textures/terry_walk/terry_walk_left_5.png delete mode 100644 Data/Textures/terry_walk/terry_walk_left_6.png delete mode 100644 Data/Textures/terry_walk/terry_walk_left_7.png delete mode 100644 Data/Textures/terry_walk/terry_walk_right_1.png delete mode 100644 Data/Textures/terry_walk/terry_walk_right_2.png delete mode 100644 Data/Textures/terry_walk/terry_walk_right_3.png delete mode 100644 Data/Textures/terry_walk/terry_walk_right_4.png delete mode 100644 Data/Textures/terry_walk/terry_walk_right_5.png delete mode 100644 Data/Textures/terry_walk/terry_walk_right_6.png delete mode 100644 Data/Textures/terry_walk/terry_walk_right_7.png delete mode 100644 Data/Textures/terry_walk/terry_walk_up_1.png delete mode 100644 Data/Textures/terry_walk/terry_walk_up_2.png delete mode 100644 Data/Textures/terry_walk/terry_walk_up_3.png delete mode 100644 Data/Textures/terry_walk/terry_walk_up_4.png delete mode 100644 Data/Textures/terry_walk/terry_walk_up_5.png delete mode 100644 Data/Textures/terry_walk/terry_walk_up_6.png create mode 100644 Data/Textures/terry_walk_resized_25%.png create mode 100644 Data/Textures/terry_walk_resized_25%.txt create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_down_1.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_down_2.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_down_3.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_down_4.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_down_5.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_down_6.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_down_7.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_idle_1.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_idle_2.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_idle_3.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_idle_4.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_idle_5.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_idle_6.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_idle_7.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_idle_8.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_left_1.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_left_2.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_left_3.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_left_4.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_left_5.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_left_6.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_left_7.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_right_1.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_right_2.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_right_3.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_right_4.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_right_5.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_right_6.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_right_7.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_up_1.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_up_2.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_up_3.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_up_4.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_up_5.png create mode 100644 Data/Textures/terry_walk_resized_25%/terry_walk_up_6.png diff --git a/Data/Textures/smoochie_resized_25%.png b/Data/Textures/smoochie_resized_25%.png new file mode 100644 index 0000000..7fb6f77 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58a577a5d120a92819aa057647ae2e4132b488597c7b4478e4220e00e4193c5b +size 1753245 diff --git a/Data/Textures/smoochie_resized_25%.txt b/Data/Textures/smoochie_resized_25%.txt new file mode 100644 index 0000000..36119a1 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dab7b6ee92c1a9292570a6938e17a516e053852acf78a2b67926e4b8be024a8b +size 682 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_1.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_1.png new file mode 100644 index 0000000..67a0b27 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a948c1f932b4cca71be3b80e2227bb01b3ec84becf6e9117f75e8793f051c42c +size 90994 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_2.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_2.png new file mode 100644 index 0000000..d0a79aa --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a37e54e99e2c2793a144a09b1581a960ea104433b8e653c2020401d06a6f6be7 +size 89987 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_1.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_1.png new file mode 100644 index 0000000..3c57234 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdf49c8e91a1af7ee3dd6da646d514f26950eb12c34a9881018879e3bb04c063 +size 4823 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_2.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_2.png new file mode 100644 index 0000000..89e6072 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79d617cab4b79b767c130dd2b880d2c19a292e52db270a7141eaf8cdbfed4e8a +size 7299 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_3.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_3.png new file mode 100644 index 0000000..ae1c2f3 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1740332babcc645ada97ab9f0d3048ef76e9d0aaaab39535db6c1237c0054c54 +size 8289 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_4.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_4.png new file mode 100644 index 0000000..fcee400 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca835897ae154e926115cbeb1f0034602039642b1b96de3e81277363990daee6 +size 10009 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_5.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_5.png new file mode 100644 index 0000000..a386a3d --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd275f624b55e176670ffe929211e12d75726316b90aa70b7ed2ef7425ef2962 +size 12695 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_6.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_6.png new file mode 100644 index 0000000..5a49381 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf101248107dc7d8d94479069d256fbe59cb7643afb84b0f1375d21ef53fa881 +size 11674 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_7.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_7.png new file mode 100644 index 0000000..c9a6318 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b706a4dcca30df1f079439d5b459ec0bc670c07602500f6475be3c192e561d07 +size 11537 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_8.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_8.png new file mode 100644 index 0000000..ce54f91 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_8.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fe9dc9173a8cf4fc3e492eafcecaf97a5b14298cf68d7d10a86defc5d08722f +size 11894 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_9.png b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_9.png new file mode 100644 index 0000000..a4a5845 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_attack_heart_9.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:516fc9f49d28b8526f895c0e88b026c053adb8eda288525149d8ab96c2509768 +size 13286 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_death_1.png b/Data/Textures/smoochie_resized_25%/smoochie_death_1.png new file mode 100644 index 0000000..b7bd908 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_death_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8141672451ffdad07eef716726dc8b1103bd4cd03f20fa2f027a564dfcf6c3be +size 73318 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_death_2.png b/Data/Textures/smoochie_resized_25%/smoochie_death_2.png new file mode 100644 index 0000000..21d441a --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_death_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f35691e2979b9f75c0372a45217a335b10c8b9e16e5d42c216288847e3b1ef5 +size 66672 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_death_3.png b/Data/Textures/smoochie_resized_25%/smoochie_death_3.png new file mode 100644 index 0000000..0adb53d --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_death_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c39566dc5a9d553568f73583fe286894bd0079d658f15aa69670b6ab602666fd +size 52898 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_death_4.png b/Data/Textures/smoochie_resized_25%/smoochie_death_4.png new file mode 100644 index 0000000..f1143d9 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_death_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9f759147a19965b518a33df746c950a18bfd3177a0b9bcbb96f8cdef94d6da3 +size 40386 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_death_5.png b/Data/Textures/smoochie_resized_25%/smoochie_death_5.png new file mode 100644 index 0000000..790962e --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_death_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74c38515cb54afed65e53d93f36d4a03d1019361491bf987c97b60b67ebd6a82 +size 24806 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_death_6.png b/Data/Textures/smoochie_resized_25%/smoochie_death_6.png new file mode 100644 index 0000000..3b5ca20 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_death_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:034eaad91222b0da9f1d2d1061b5dab970c1f9d33bb3e1fb97d8689ff4f543cc +size 15538 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_death_7.png b/Data/Textures/smoochie_resized_25%/smoochie_death_7.png new file mode 100644 index 0000000..7b4e381 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_death_7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05a17f92b7b53f4c8f474933b6223937b44fcd76705af0cbf3da3d8f49f2cd19 +size 6706 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_side_attack_1.png b/Data/Textures/smoochie_resized_25%/smoochie_side_attack_1.png new file mode 100644 index 0000000..4ad0890 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_side_attack_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f26b16a279bd6905b9908356f06ce9b1dddbb8b56782ec8826cedad50531c6fb +size 73812 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_side_attack_2.png b/Data/Textures/smoochie_resized_25%/smoochie_side_attack_2.png new file mode 100644 index 0000000..f6bc483 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_side_attack_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5b7bb92613b14b2ad2c635599847ea43a7f3d8705e43bfa04aebf44f52367c3 +size 81892 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_walk_down_1.png b/Data/Textures/smoochie_resized_25%/smoochie_walk_down_1.png new file mode 100644 index 0000000..f1a846c --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_walk_down_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c40156911a128d656b3f79dd81717dd4ff13c836f1898341702441f227925359 +size 85034 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_walk_down_2.png b/Data/Textures/smoochie_resized_25%/smoochie_walk_down_2.png new file mode 100644 index 0000000..934e037 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_walk_down_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2cb1708e28f712605093a6adfbbbb39657bb52ee5e4e8d90db7f7a216fe0ab0 +size 84109 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_walk_left_1.png b/Data/Textures/smoochie_resized_25%/smoochie_walk_left_1.png new file mode 100644 index 0000000..ef3f6f0 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_walk_left_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a8a619089d0cfadc88254fd38c35967415bae619610beeb2b75909c5ac744a3 +size 78814 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_walk_left_2.png b/Data/Textures/smoochie_resized_25%/smoochie_walk_left_2.png new file mode 100644 index 0000000..8dd9140 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_walk_left_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2076ea1e2ddee58b91ef7016b6126fcb4fae8b3e20dbcf6c668cb5c48df0d292 +size 86209 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_walk_right_1.png b/Data/Textures/smoochie_resized_25%/smoochie_walk_right_1.png new file mode 100644 index 0000000..2db1f1e --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_walk_right_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f15bcb80048cca579a4ceabc2b07c57326ff32fda587141fbd15e020ea5fe2f4 +size 84859 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_walk_right_2.png b/Data/Textures/smoochie_resized_25%/smoochie_walk_right_2.png new file mode 100644 index 0000000..9cc95cd --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_walk_right_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88b74fb0c08c31a775eb1b087c1053cbcb7ee5774c4e44e35a64dfaf7f4f5c49 +size 78895 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_walk_up_1.png b/Data/Textures/smoochie_resized_25%/smoochie_walk_up_1.png new file mode 100644 index 0000000..131fd44 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_walk_up_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98d673690cc5c6ac77e793ce98e5f44c413f939c534aa54d3dbfaa4d5bb7d9e2 +size 57391 diff --git a/Data/Textures/smoochie_resized_25%/smoochie_walk_up_2.png b/Data/Textures/smoochie_resized_25%/smoochie_walk_up_2.png new file mode 100644 index 0000000..5095475 --- /dev/null +++ b/Data/Textures/smoochie_resized_25%/smoochie_walk_up_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5abc185f0bee1b6167f4e4d11bf228b5586216dbe31835cc1114e732b359f93 +size 59680 diff --git a/Data/Textures/sprite_spec.txt b/Data/Textures/sprite_spec.txt index 7085808..4a8b201 100644 --- a/Data/Textures/sprite_spec.txt +++ b/Data/Textures/sprite_spec.txt @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ab456e41b467725247c512389177cc5ae21f413c0599a035542f38e6177e730d -size 94 +oid sha256:30a67bd9a2d5132753fc6ba26ba95da3b3dda9270c89c8f7628b16f76ba7e589 +size 269 diff --git a/Data/Textures/terry_walk.png b/Data/Textures/terry_walk.png deleted file mode 100644 index a23a754..0000000 --- a/Data/Textures/terry_walk.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8e30e1ffa858848f65f3f6fd2817d8d5faccbae00f8b3b2d014cb095a40b148 -size 732157 diff --git a/Data/Textures/terry_walk.txt b/Data/Textures/terry_walk.txt deleted file mode 100644 index 7911d11..0000000 --- a/Data/Textures/terry_walk.txt +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8683c5ba59f09a4ad2021c75d1c5786bb4873a21b01decedc7e63961bfff349c -size 696 diff --git a/Data/Textures/terry_walk/terry_walk_down_1.png b/Data/Textures/terry_walk/terry_walk_down_1.png deleted file mode 100644 index 18d39f4..0000000 --- a/Data/Textures/terry_walk/terry_walk_down_1.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:be2be3cbead3603d9f296ba26b3e9804722751fc8597db52ecf050db3462f1cf -size 18444 diff --git a/Data/Textures/terry_walk/terry_walk_down_2.png b/Data/Textures/terry_walk/terry_walk_down_2.png deleted file mode 100644 index 8853a7e..0000000 --- a/Data/Textures/terry_walk/terry_walk_down_2.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:97addee22df1a573d736d35a0ec62e97039acc1ed6bd167e545f90e67894d59f -size 18845 diff --git a/Data/Textures/terry_walk/terry_walk_down_3.png b/Data/Textures/terry_walk/terry_walk_down_3.png deleted file mode 100644 index 9f9dd1d..0000000 --- a/Data/Textures/terry_walk/terry_walk_down_3.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74cb76b7f5a34a459103b3e01dd0890a4595cd36d656f979b2d72c1f7bd67ea9 -size 18955 diff --git a/Data/Textures/terry_walk/terry_walk_down_4.png b/Data/Textures/terry_walk/terry_walk_down_4.png deleted file mode 100644 index f271c00..0000000 --- a/Data/Textures/terry_walk/terry_walk_down_4.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7e9fba6a5de18bc329cfe80d78d42f3885bb00bf1dcacecf38d68baceecfc68 -size 18974 diff --git a/Data/Textures/terry_walk/terry_walk_down_5.png b/Data/Textures/terry_walk/terry_walk_down_5.png deleted file mode 100644 index 93c630b..0000000 --- a/Data/Textures/terry_walk/terry_walk_down_5.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:85c1c4895b6981d2dde3231af7ddee0f06ac36391028e4e63df64a52e328f184 -size 18465 diff --git a/Data/Textures/terry_walk/terry_walk_down_6.png b/Data/Textures/terry_walk/terry_walk_down_6.png deleted file mode 100644 index cd99b01..0000000 --- a/Data/Textures/terry_walk/terry_walk_down_6.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2943180d8c3d352bafddbfc9260a50dbd80a1642a4d2ad49e99c286107938128 -size 18408 diff --git a/Data/Textures/terry_walk/terry_walk_down_7.png b/Data/Textures/terry_walk/terry_walk_down_7.png deleted file mode 100644 index 9c0974a..0000000 --- a/Data/Textures/terry_walk/terry_walk_down_7.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c87be1bcbbf192b6fcf43fd8f4d6c57d2f14bb79d3690204468550c7f1c45b82 -size 19105 diff --git a/Data/Textures/terry_walk/terry_walk_idle_1.png b/Data/Textures/terry_walk/terry_walk_idle_1.png deleted file mode 100644 index 2ffe3ab..0000000 --- a/Data/Textures/terry_walk/terry_walk_idle_1.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d4289f09938e7c6c32d1b5d721e725c08019f16ffc222465a4f73ff72d7af302 -size 20908 diff --git a/Data/Textures/terry_walk/terry_walk_idle_2.png b/Data/Textures/terry_walk/terry_walk_idle_2.png deleted file mode 100644 index 8d80f4c..0000000 --- a/Data/Textures/terry_walk/terry_walk_idle_2.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c76ba09559f80f97abd48018da206ca95437a554c0434f571c471bf261335e13 -size 21234 diff --git a/Data/Textures/terry_walk/terry_walk_idle_3.png b/Data/Textures/terry_walk/terry_walk_idle_3.png deleted file mode 100644 index 78ccca6..0000000 --- a/Data/Textures/terry_walk/terry_walk_idle_3.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1fc090ee6fb60401c2959bc5c0a685744a562f632d246c8fa0bbc7702df13dfa -size 20387 diff --git a/Data/Textures/terry_walk/terry_walk_idle_4.png b/Data/Textures/terry_walk/terry_walk_idle_4.png deleted file mode 100644 index badf47a..0000000 --- a/Data/Textures/terry_walk/terry_walk_idle_4.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:624373db86eb9bc4f5ca7b89150a72f73dfad2efb277ff5ede4a4b94e29c9cfe -size 20771 diff --git a/Data/Textures/terry_walk/terry_walk_idle_5.png b/Data/Textures/terry_walk/terry_walk_idle_5.png deleted file mode 100644 index 9c9a30e..0000000 --- a/Data/Textures/terry_walk/terry_walk_idle_5.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73e71dfc823d151a75024ac6febb7d5a088d78aa61501822a9919d58ef03b99f -size 20972 diff --git a/Data/Textures/terry_walk/terry_walk_idle_6.png b/Data/Textures/terry_walk/terry_walk_idle_6.png deleted file mode 100644 index 2824ae8..0000000 --- a/Data/Textures/terry_walk/terry_walk_idle_6.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e71283b47f283d534c3621751a20bb34fa9f2e4143a56d1e06f739794cb30f4a -size 20622 diff --git a/Data/Textures/terry_walk/terry_walk_idle_7.png b/Data/Textures/terry_walk/terry_walk_idle_7.png deleted file mode 100644 index 7bc70ba..0000000 --- a/Data/Textures/terry_walk/terry_walk_idle_7.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0102a48022e7e4c4781ef6254b43306829dbca373632e382b483608195c247ca -size 20290 diff --git a/Data/Textures/terry_walk/terry_walk_idle_8.png b/Data/Textures/terry_walk/terry_walk_idle_8.png deleted file mode 100644 index 0040a7d..0000000 --- a/Data/Textures/terry_walk/terry_walk_idle_8.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7c8d85e62da44fe9cddae1a95d74d5246f2a48b22aa8b885ca90bd99c994646 -size 20510 diff --git a/Data/Textures/terry_walk/terry_walk_left_1.png b/Data/Textures/terry_walk/terry_walk_left_1.png deleted file mode 100644 index 4f08e5d..0000000 --- a/Data/Textures/terry_walk/terry_walk_left_1.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e798900de04dfb1bb13eb91773ea0acadaa83e9beabfc986f82a08e95170915 -size 19022 diff --git a/Data/Textures/terry_walk/terry_walk_left_2.png b/Data/Textures/terry_walk/terry_walk_left_2.png deleted file mode 100644 index a00dbce..0000000 --- a/Data/Textures/terry_walk/terry_walk_left_2.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2acb2fe5eb6a72499cd4963bbc6632b83b1995266600fcd71c29e0df774706cc -size 17760 diff --git a/Data/Textures/terry_walk/terry_walk_left_3.png b/Data/Textures/terry_walk/terry_walk_left_3.png deleted file mode 100644 index bc6a056..0000000 --- a/Data/Textures/terry_walk/terry_walk_left_3.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb701deacd59076b9b25c754a9be22202bc580ab462c563b5f70bc5fc82354d8 -size 16142 diff --git a/Data/Textures/terry_walk/terry_walk_left_4.png b/Data/Textures/terry_walk/terry_walk_left_4.png deleted file mode 100644 index 01c3d76..0000000 --- a/Data/Textures/terry_walk/terry_walk_left_4.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4a535d2c1371a59a1fbdf58ecfec3d418eb5385f44781d603adaeb9ffbe09eef -size 16510 diff --git a/Data/Textures/terry_walk/terry_walk_left_5.png b/Data/Textures/terry_walk/terry_walk_left_5.png deleted file mode 100644 index c634ab4..0000000 --- a/Data/Textures/terry_walk/terry_walk_left_5.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44de037a018f901c65988086167c01e5651a00139caf1adebc475c88c43876f2 -size 18850 diff --git a/Data/Textures/terry_walk/terry_walk_left_6.png b/Data/Textures/terry_walk/terry_walk_left_6.png deleted file mode 100644 index c6ff325..0000000 --- a/Data/Textures/terry_walk/terry_walk_left_6.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80e84a1b3b0edfb973514335f4a4e7d39fe96401a8db9a74fced5420f988ee2d -size 16886 diff --git a/Data/Textures/terry_walk/terry_walk_left_7.png b/Data/Textures/terry_walk/terry_walk_left_7.png deleted file mode 100644 index d22edf6..0000000 --- a/Data/Textures/terry_walk/terry_walk_left_7.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e379c743a41f71e846ac5cc99b6d85e0fcd16ae54a07d772220e3641a6556fe -size 17145 diff --git a/Data/Textures/terry_walk/terry_walk_right_1.png b/Data/Textures/terry_walk/terry_walk_right_1.png deleted file mode 100644 index ffb24a5..0000000 --- a/Data/Textures/terry_walk/terry_walk_right_1.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b088fd4bcd887870d449fc67586eb4532ac6d35057276eb7ca689e182ed17628 -size 19084 diff --git a/Data/Textures/terry_walk/terry_walk_right_2.png b/Data/Textures/terry_walk/terry_walk_right_2.png deleted file mode 100644 index 7557712..0000000 --- a/Data/Textures/terry_walk/terry_walk_right_2.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4d3661e67b18975c6226d1ccceaeb68decacbc474d5c7a75455d02de0029979e -size 17018 diff --git a/Data/Textures/terry_walk/terry_walk_right_3.png b/Data/Textures/terry_walk/terry_walk_right_3.png deleted file mode 100644 index d44a9b2..0000000 --- a/Data/Textures/terry_walk/terry_walk_right_3.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1897f80af087cb825ae11577f7dfc2183c8acb7aa65fc44339887cdcde988a35 -size 16998 diff --git a/Data/Textures/terry_walk/terry_walk_right_4.png b/Data/Textures/terry_walk/terry_walk_right_4.png deleted file mode 100644 index 02b8694..0000000 --- a/Data/Textures/terry_walk/terry_walk_right_4.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2aeed6b07f6459160c9479b35015ebe9628384dd3de0d03cc166dd588f25ddbe -size 19156 diff --git a/Data/Textures/terry_walk/terry_walk_right_5.png b/Data/Textures/terry_walk/terry_walk_right_5.png deleted file mode 100644 index 0c37194..0000000 --- a/Data/Textures/terry_walk/terry_walk_right_5.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a104a97b829892dc3bcee4ec1d700ee0779413699000cd116d6316e098104031 -size 16694 diff --git a/Data/Textures/terry_walk/terry_walk_right_6.png b/Data/Textures/terry_walk/terry_walk_right_6.png deleted file mode 100644 index 5e06053..0000000 --- a/Data/Textures/terry_walk/terry_walk_right_6.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23fd42183df45d5bfffabaae2a96c3190b8289d78905c42cbc4867b4a6bbe8b0 -size 16235 diff --git a/Data/Textures/terry_walk/terry_walk_right_7.png b/Data/Textures/terry_walk/terry_walk_right_7.png deleted file mode 100644 index 7903ccd..0000000 --- a/Data/Textures/terry_walk/terry_walk_right_7.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b627bc808d9649f83471645738a6bb77210177ba5e248db3724aba2efdfe45f -size 17831 diff --git a/Data/Textures/terry_walk/terry_walk_up_1.png b/Data/Textures/terry_walk/terry_walk_up_1.png deleted file mode 100644 index 992e5b4..0000000 --- a/Data/Textures/terry_walk/terry_walk_up_1.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0daacf22d1042037ebb4591be3a7899c9d2184ec8255c184bd7c898e5b3cbf70 -size 12724 diff --git a/Data/Textures/terry_walk/terry_walk_up_2.png b/Data/Textures/terry_walk/terry_walk_up_2.png deleted file mode 100644 index 622bba5..0000000 --- a/Data/Textures/terry_walk/terry_walk_up_2.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34f41b5092588ddd9b38b4115828a6788f1183cd47b13ebac8d0a115acf0c401 -size 12156 diff --git a/Data/Textures/terry_walk/terry_walk_up_3.png b/Data/Textures/terry_walk/terry_walk_up_3.png deleted file mode 100644 index 166e16f..0000000 --- a/Data/Textures/terry_walk/terry_walk_up_3.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5d806761a2723b052b40e78b721de230c528216c8c95470576e6cc6eb5702e5c -size 11920 diff --git a/Data/Textures/terry_walk/terry_walk_up_4.png b/Data/Textures/terry_walk/terry_walk_up_4.png deleted file mode 100644 index 0a03c68..0000000 --- a/Data/Textures/terry_walk/terry_walk_up_4.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c3dea7d7e75063db957a14c45b952c05492a8da06f065db51d082b091f08a97 -size 12662 diff --git a/Data/Textures/terry_walk/terry_walk_up_5.png b/Data/Textures/terry_walk/terry_walk_up_5.png deleted file mode 100644 index a5916a7..0000000 --- a/Data/Textures/terry_walk/terry_walk_up_5.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c186cd6b0a6707916424a4bd1a9d81ddda013384315777ba3b25fbc9edeb3832 -size 12424 diff --git a/Data/Textures/terry_walk/terry_walk_up_6.png b/Data/Textures/terry_walk/terry_walk_up_6.png deleted file mode 100644 index b6fe8f0..0000000 --- a/Data/Textures/terry_walk/terry_walk_up_6.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bfd73dbb8333d4225188975b41558424e27caebdb45fb5cc00bfef660a7d3be6 -size 11878 diff --git a/Data/Textures/terry_walk_resized_25%.png b/Data/Textures/terry_walk_resized_25%.png new file mode 100644 index 0000000..492cdb4 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91c9d36212297f42aed545a504d9c092cecda2b4cd8d24dfd7f3c26bdd91a88b +size 2983393 diff --git a/Data/Textures/terry_walk_resized_25%.txt b/Data/Textures/terry_walk_resized_25%.txt new file mode 100644 index 0000000..c366089 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d44e76fc63549332f8ea84fb088a06605db25154b43329d244a8a88bd70b731c +size 732 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_down_1.png b/Data/Textures/terry_walk_resized_25%/terry_walk_down_1.png new file mode 100644 index 0000000..75e596e --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_down_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f833b1074ceb4aa0afabee05bebfa2270edf927c0118c70848783943e149ab4 +size 69877 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_down_2.png b/Data/Textures/terry_walk_resized_25%/terry_walk_down_2.png new file mode 100644 index 0000000..3101aa3 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_down_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee3b07522d319d45e3a8842d5482d5e32374e34ed0e95bcac5566f2a1e028b64 +size 72276 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_down_3.png b/Data/Textures/terry_walk_resized_25%/terry_walk_down_3.png new file mode 100644 index 0000000..97770c2 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_down_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b83094a4229be60548bfa5f4802235c0ddfa0fcffeae7b69c2ec1562a419aa0 +size 72282 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_down_4.png b/Data/Textures/terry_walk_resized_25%/terry_walk_down_4.png new file mode 100644 index 0000000..70ef31e --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_down_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52eb0aecd5c712ad8dfd849eb78952c25586ca06a8b0d66f38a9c2814f1c8c31 +size 71249 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_down_5.png b/Data/Textures/terry_walk_resized_25%/terry_walk_down_5.png new file mode 100644 index 0000000..4e82ab5 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_down_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79657b3bd550dcc659e2ee6b01d72effaead1d0df6136d336ab56e684994a036 +size 70161 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_down_6.png b/Data/Textures/terry_walk_resized_25%/terry_walk_down_6.png new file mode 100644 index 0000000..4727438 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_down_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7656e283750d409a8958323f3ae540c7d17e84f09d4bbf2b62da63a708503e0d +size 69923 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_down_7.png b/Data/Textures/terry_walk_resized_25%/terry_walk_down_7.png new file mode 100644 index 0000000..e3e62f2 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_down_7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3edf7334cb8a6f905097ed17fa9d19559da5762171fd0347128ea7e4e777bde5 +size 72587 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_idle_1.png b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_1.png new file mode 100644 index 0000000..058aa2a --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa92acfb3c0ca422e9e548d1a3d06c93094954baa4b9cfe4d03e64233d489e6f +size 84490 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_idle_2.png b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_2.png new file mode 100644 index 0000000..b083e52 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7cddd5eec122ddcf8604fccc4558be1195ded073abf41f07c37257f917d3e7c +size 85898 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_idle_3.png b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_3.png new file mode 100644 index 0000000..f2e43e0 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b694d0323813a8af89f176b63998b2c7bc1d5f28234e2b27b97cf09f07a20d1 +size 81968 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_idle_4.png b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_4.png new file mode 100644 index 0000000..1073558 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ecdd1e20a83943c909343af43b8948da5e376338615769683a26f284a74d6c6 +size 83503 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_idle_5.png b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_5.png new file mode 100644 index 0000000..6bc3644 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:004e619d26de7fdc3098afc740ff3beb611334d352b54557770732b46629845f +size 84776 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_idle_6.png b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_6.png new file mode 100644 index 0000000..ea62b82 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c11310726e2498b0adb690070b378c854d33e3ce8a77f876ed90d091b98ce8e +size 83472 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_idle_7.png b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_7.png new file mode 100644 index 0000000..22245e0 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f86a49d78b79cc349a5afcc623cb7decec47bb62b5c8938575dc6d2d7c2efac +size 82700 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_idle_8.png b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_8.png new file mode 100644 index 0000000..b5ade73 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_idle_8.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2c1a85487b9889b222a561776e2fa258caebf3a1830b1a8b01d367871d17d40 +size 83315 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_left_1.png b/Data/Textures/terry_walk_resized_25%/terry_walk_left_1.png new file mode 100644 index 0000000..50b39a1 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_left_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f06ec30e8eb4f58b1c27babef63f2131a014339991e29e4544e017a2fe67880d +size 74294 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_left_2.png b/Data/Textures/terry_walk_resized_25%/terry_walk_left_2.png new file mode 100644 index 0000000..ca93007 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_left_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95c067209439d7f5e27088ec28bd549bdeda5cca3acc437011d71a16cb4ca74f +size 67754 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_left_3.png b/Data/Textures/terry_walk_resized_25%/terry_walk_left_3.png new file mode 100644 index 0000000..9fc8187 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_left_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37b7e4dd551ff8e41b3f38de35879674629663b04bede5ac0b3831071206cbf9 +size 60456 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_left_4.png b/Data/Textures/terry_walk_resized_25%/terry_walk_left_4.png new file mode 100644 index 0000000..2f9d107 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_left_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9117ec29dfd4fe8e3d70314c22a5c2534c7dfeba2745b82c99bee82fbfb18c5f +size 62976 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_left_5.png b/Data/Textures/terry_walk_resized_25%/terry_walk_left_5.png new file mode 100644 index 0000000..ee5731a --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_left_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b6aacfd3f6f74171d0869db40e7d520f257689e3b7895ac90e6fed769cb8a1b +size 73880 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_left_6.png b/Data/Textures/terry_walk_resized_25%/terry_walk_left_6.png new file mode 100644 index 0000000..0232b46 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_left_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31ebcf7902650d24f562ca8d52dfb51b12781094af6ded7c022125bf39f58eb5 +size 65390 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_left_7.png b/Data/Textures/terry_walk_resized_25%/terry_walk_left_7.png new file mode 100644 index 0000000..5045e11 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_left_7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9064321d3c3ec4c520cb1073b75ba743ca672931f56813ab3f7f0d7f3d78bb5 +size 66909 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_right_1.png b/Data/Textures/terry_walk_resized_25%/terry_walk_right_1.png new file mode 100644 index 0000000..f4c5f7c --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_right_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed370060c9d5a710724c4b9ccb1d85c37c4876eadff61f109da44a48231178a7 +size 74712 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_right_2.png b/Data/Textures/terry_walk_resized_25%/terry_walk_right_2.png new file mode 100644 index 0000000..49d482b --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_right_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e20837f35490995dc406f05a79ee5ebafc6264e59348227bd78a00ee5d3da930 +size 66312 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_right_3.png b/Data/Textures/terry_walk_resized_25%/terry_walk_right_3.png new file mode 100644 index 0000000..6f2dae0 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_right_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efe07c75bc44cd3b4381e6063349e6f3825af76138376b43aff403a39e76fff5 +size 65763 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_right_4.png b/Data/Textures/terry_walk_resized_25%/terry_walk_right_4.png new file mode 100644 index 0000000..f004d8e --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_right_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12eeab2a7082350380bdaf8d3d054a5414f88b38bf388b8bbd5b1f7f154a831b +size 74548 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_right_5.png b/Data/Textures/terry_walk_resized_25%/terry_walk_right_5.png new file mode 100644 index 0000000..f29c79f --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_right_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aff6d814333f2b6f20d31f70455637b94c405ae3a98b22a608e156f6f9ceb7ea +size 63136 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_right_6.png b/Data/Textures/terry_walk_resized_25%/terry_walk_right_6.png new file mode 100644 index 0000000..1a0d68e --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_right_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb272f789a606d61e269c1600cb399522f82fec315decddfe26c578234c6b313 +size 61170 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_right_7.png b/Data/Textures/terry_walk_resized_25%/terry_walk_right_7.png new file mode 100644 index 0000000..07135df --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_right_7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed716ac89eb4d890b0ddf24456637c1c7c5312ab5713b9b58b998cf2b5121516 +size 67863 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_up_1.png b/Data/Textures/terry_walk_resized_25%/terry_walk_up_1.png new file mode 100644 index 0000000..dd182c0 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_up_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8f42dd0865e90254c4f70c8abf2df4f8816537b07a03870a123f5cb2713cf30 +size 44806 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_up_2.png b/Data/Textures/terry_walk_resized_25%/terry_walk_up_2.png new file mode 100644 index 0000000..11ef1b7 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_up_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:211097e82e68326d6b6fa983dee018f0d66325c7c579bfb6ec155bb9c6d6719b +size 43079 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_up_3.png b/Data/Textures/terry_walk_resized_25%/terry_walk_up_3.png new file mode 100644 index 0000000..324748d --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_up_3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9454678064d89804a21cd88d0dbbaaebdb399702fe8a596cec11f5da74d099bc +size 42625 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_up_4.png b/Data/Textures/terry_walk_resized_25%/terry_walk_up_4.png new file mode 100644 index 0000000..7a9cfb3 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_up_4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34ec3668510bd911bdbdb190ac42ba07138dd9c7f0dbe414151fe7cc6e124686 +size 44115 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_up_5.png b/Data/Textures/terry_walk_resized_25%/terry_walk_up_5.png new file mode 100644 index 0000000..4715e97 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_up_5.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee7b79df1017d1a7c3ce21b62a4503845245c3ab64284135ffc090aefbf01cbb +size 44322 diff --git a/Data/Textures/terry_walk_resized_25%/terry_walk_up_6.png b/Data/Textures/terry_walk_resized_25%/terry_walk_up_6.png new file mode 100644 index 0000000..1afe1e4 --- /dev/null +++ b/Data/Textures/terry_walk_resized_25%/terry_walk_up_6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a3c8d0318e7fcac4242e2105aa6cead3b682cd47b38f25520f54744a48abe44 +size 42464 diff --git a/External/tely b/External/tely index f7b7d4f..f874ab4 160000 --- a/External/tely +++ b/External/tely @@ -1 +1 @@ -Subproject commit f7b7d4f505c10ebd849793d9c3cf9c89fe696942 +Subproject commit f874ab4d3d127c7caa9ccdffebdb9ba1edfa5067 diff --git a/build.bat b/build.bat index d0876ef..734d24a 100644 --- a/build.bat +++ b/build.bat @@ -83,9 +83,7 @@ set clang_dll_cmd=clang-cl %dll_compile_flags% /Fotely_dll_clang /Fetely_dll_c REM MSVC build ===================================================================================== set msvc_sprite_packer_cmd=cl %common_compile_flags% %code_dir%\feely_pona_sprite_packer.cpp /Fofeely_pona_sprite_packer /Fefeely_pona_sprite_packer %common_link_flags% -if not exist "%build_dir%\feely_pona_sprite_packer.exe" ( - powershell -Command "$duration = Measure-Command {%msvc_sprite_packer_cmd% | Out-Default}; Write-Host 'msvc (sprite packer):' $duration.TotalSeconds 'seconds'" -) +powershell -Command "$duration = Measure-Command {%msvc_sprite_packer_cmd% | Out-Default}; Write-Host 'msvc (sprite packer):' $duration.TotalSeconds 'seconds'" set msvc_build_platform=$platform_time = Measure-Command {%msvc_cmd% ^| Out-Default}; set msvc_build_dll=$dll_time = Measure-Command {%msvc_dll_cmd% ^| Out-Default}; diff --git a/feely_pona_sprite_packer.cpp b/feely_pona_sprite_packer.cpp index a0cfa07..6eae745 100644 --- a/feely_pona_sprite_packer.cpp +++ b/feely_pona_sprite_packer.cpp @@ -32,35 +32,67 @@ struct SpriteSpecification int main(int argc, char const *argv[]) { - if (argc != 3) { - Dqn_Log_InfoF("USAGE: feely_pona_sprite_packer "); + Dqn_Library_Init(); + Dqn_ThreadScratch scratch = Dqn_Thread_GetScratch(nullptr); + + if (argc != 4) { + Dqn_Log_InfoF("USAGE: feely_pona_sprite_packer x "); return -1; } - Dqn_Library_Init(); - Dqn_ThreadScratch scratch = Dqn_Thread_GetScratch(nullptr); - Dqn_String8 sprite_spec_path = Dqn_String8_InitCString8(argv[1]); - Dqn_String8 dir = Dqn_String8_InitCString8(argv[2]); + // NOTE: Verify some arguments ================================================================= + Dqn_String8 atlas_dimensions = Dqn_String8_InitCString8(argv[1]); + Dqn_String8 sprite_spec_path = Dqn_String8_InitCString8(argv[2]); + Dqn_String8 dir = Dqn_String8_InitCString8(argv[3]); - // NOTE: Parse the sprite specifications ======================================================= if (!Dqn_Fs_Exists(sprite_spec_path)) { Dqn_Log_ErrorF("Sprite specification file does not exist, we tried to find \"%.*s\" but it does not exist", DQN_STRING_FMT(sprite_spec_path)); return -1; } + if (!Dqn_Fs_DirExists(dir)) { + Dqn_Log_ErrorF("Directory to load sprites from does not exist, we tried to find \"%.*s\" but it does not exist", DQN_STRING_FMT(dir)); + return -1; + } + + // NOTE: Parse the atlas size ================================================================== + Dqn_V2I atlas_size = {}; + { + Dqn_String8BinarySplitResult atlas_dimensions_split = Dqn_String8_BinarySplit(atlas_dimensions, DQN_STRING8("x")); + Dqn_String8ToU64Result width = Dqn_String8_ToU64(atlas_dimensions_split.lhs, 0); + Dqn_String8ToU64Result height = Dqn_String8_ToU64(atlas_dimensions_split.rhs, 0); + + if (!width.success || width.value == 0) { + Dqn_Log_ErrorF("Width for the sprite atlas was not a number > 0"); + return -1; + } + + if (!height.success || height.value == 0) { + Dqn_Log_ErrorF("Width for the sprite atlas was not a number > 0"); + return -1; + } + + atlas_size.x = DQN_CAST(uint32_t)width.value; + atlas_size.y = DQN_CAST(uint32_t)height.value; + } + + // NOTE: Parse the sprite specifications ======================================================= Dqn_DSMap sprite_spec_table = Dqn_DSMap_Init(1024); { Dqn_ThreadScratch inner_scratch = Dqn_Thread_GetScratch(scratch.arena); Dqn_String8 sprite_spec_buffer = Dqn_Fs_Read(sprite_spec_path, inner_scratch.allocator); Dqn_String8SplitAllocResult sprite_spec_lines = Dqn_String8_SplitAlloc(inner_scratch.allocator, sprite_spec_buffer, DQN_STRING8("\n")); DQN_FOR_UINDEX(line_index, sprite_spec_lines.size) { - Dqn_String8 line = sprite_spec_lines.data[line_index]; + Dqn_String8 line = Dqn_String8_TrimWhitespaceAround(sprite_spec_lines.data[line_index]); + if (line.size == 0) // NOTE: Support empty lines, just ignore them + continue; + Dqn_String8SplitAllocResult line_parts = Dqn_String8_SplitAlloc(inner_scratch.allocator, line, DQN_STRING8(";")); DQN_ASSERTF(line_parts.size == 2, "Line must have 2 parts in the sprite specification\n" "\n" ";\\n\n" "\n" - "Line was '%.*s' loaded from '%.*s'", DQN_STRING_FMT(line), sprite_spec_path); + "Line was '%.*s' loaded from '%.*s'", DQN_STRING_FMT(line), DQN_STRING_FMT(sprite_spec_path)); Dqn_String8 anim_name = line_parts.data[0]; Dqn_String8ToU64Result frames_per_second = Dqn_String8_ToU64(line_parts.data[1], 0); @@ -81,10 +113,9 @@ int main(int argc, char const *argv[]) } // NOTE: Setup the rect-pack state ============================================================= - int atlas_size = 2048; stbrp_node *nodes = Dqn_Arena_NewArray(scratch.arena, stbrp_node, file_list.count, Dqn_ZeroMem_Yes); stbrp_context pack_context = {}; - stbrp_init_target(&pack_context, atlas_size, atlas_size, nodes, DQN_CAST(int)file_list.count); + stbrp_init_target(&pack_context, atlas_size.w, atlas_size.h, nodes, DQN_CAST(int)file_list.count); // NOTE: Load the sprites to determine their dimensions for rect packing ======================= Dqn_SArray rects = Dqn_SArray_Init(scratch.arena, file_list.count, Dqn_ZeroMem_Yes); @@ -126,16 +157,16 @@ int main(int argc, char const *argv[]) // NOTE: Pack the rects ======================================================================== if (stbrp_pack_rects(&pack_context, rects.data, DQN_CAST(int)rects.size) != 1) { Dqn_Log_ErrorF("STB rect pack failed to pack font rects into rectangle [width=%d, height=%d, num_rects=%d]", - atlas_size, - atlas_size, + atlas_size.w, + atlas_size.h, file_list.count); return -1; } // NOTE: Load the files once more and generate the final image ================================= int final_bpp = 4; - int final_image_stride = atlas_size * final_bpp; - char *final_image = Dqn_Arena_NewArray(scratch.arena, char, atlas_size * final_image_stride, Dqn_ZeroMem_Yes); + int final_image_stride = atlas_size.w * final_bpp; + char *final_image = Dqn_Arena_NewArray(scratch.arena, char, atlas_size.h * final_image_stride, Dqn_ZeroMem_Yes); Dqn_String8 atlas_path = Dqn_String8_InitF(scratch.allocator, "%.*s.png", DQN_STRING_FMT(dir)); // NOTE: Generate the meta file ================================================================ @@ -190,6 +221,6 @@ int main(int argc, char const *argv[]) } Dqn_Log_InfoF("Generating atlas: %.*s", DQN_STRING_FMT(atlas_path)); - stbi_write_png(atlas_path.data, atlas_size, atlas_size, 4, final_image, final_image_stride); + stbi_write_png(atlas_path.data, atlas_size.w, atlas_size.h, 4, final_image, final_image_stride); return 0; } diff --git a/project.rdbg b/project.rdbg index d66791700bebcd74d355331e65f67754aef2f8ae..885e462d7bcdc5398b355f414293d07810be9313 100644 GIT binary patch delta 42 ycmey)@rq-E9y5y*0|UckFJ`&P4a^d}@kOb{nN_JN@kXYq;*&ozNll)^d>a4_91T_g delta 61 zcmaFG@ttFX9y4Rw