1080p layout fixes: responsive location sizing, dynamic entity limits, compass cleanup

This commit is contained in:
Joan
2026-02-10 17:43:09 +01:00
parent bba5d1d9dd
commit a725ae5836
32 changed files with 861 additions and 441 deletions

View File

@@ -54,8 +54,15 @@ for category in items locations npcs interactables characters placeholder static
rm "$tmp"
else
# Standard conversion for other categories
# If locations or interactables, crop to 16:9
tmp="/tmp/${base}_clean.png"
if [[ "$category" == "locations" || "$category" == "interactables" ]]; then
convert "$img" -resize "16:9" "$tmp"
else
convert "$img" "$tmp"
fi
echo " ➜ Converting: $filename"
cwebp "$img" -q 85 -o "$out_file" >/dev/null
cwebp "$tmp" -q 85 -o "$out_file" >/dev/null
fi
done
done