Green Background Removal + TSX Generation + Bug Fixes

Removed green backgrounds from 30 tileset PNGs (16.4M pixels!)
 Created mass TSX generation script for 3877 individual objects
 Fixed TiledTestScene cursor crash bug
 Added micro_farm_8x8 JSON loading support
 Documentation: GREEN_BACKGROUND_FIX.md, MASS_TSX_GENERATION.md

Scripts:
- scripts/remove_green_background.py (batch transparency fix)
- scripts/generate_mass_tsx.py (3877 .tsx files generator)

Backups: assets/tilesets/backup_green_bg/
This commit is contained in:
2025-12-22 11:23:25 +01:00
parent 78fe6d2629
commit 0985af29e5
3144 changed files with 13072 additions and 1 deletions

View File

@@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.11.2" orientation="orthogonal" renderorder="right-down" width="8" height="8" tilewidth="48" tileheight="48" infinite="0" nextlayerid="7" nextobjectid="2">
<editorsettings>
<export target="micro_farm_8x8.json" format="json"/>
</editorsettings>
<tileset firstgid="1" name="grass_soil" tilewidth="48" tileheight="48" tilecount="441" columns="21">
<image source="../tilesets/grass_soil_autotile.png" width="1024" height="1024"/>
</tileset>
<tileset firstgid="442" source="../tilesets/individual_objects/ana_character_2x2_grid_1766098371171_obj02.tsx"/>
<layer id="1" name="Ground" width="8" height="8">
<data encoding="csv">
38,38,39,40,45,46,47,47,
@@ -21,7 +25,7 @@
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,281,281,281,281,0,0,
0,0,281,281,281,281,0,0,
442,0,281,281,281,281,0,0,
0,0,386,387,388,281,0,0,
0,0,407,408,409,281,0,0,
0,0,0,0,0,0,0,0