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

@@ -0,0 +1,37 @@
# Backup - Original Files with Green Background
**Created**: 2025-12-22, 10:50
**Reason**: Batch green background removal
---
## 📁 WHAT'S IN THIS FOLDER?
This folder contains **ORIGINAL VERSIONS** of all tileset PNG files **BEFORE** the green background was removed.
All files here have bright green (#00FF00) backgrounds instead of transparency.
---
## 🔄 HOW TO RESTORE
If you need to restore any original file:
1. **Copy** the file from this backup folder
2. **Paste** to `c:\novafarma\assets\tilesets\`
3. **Overwrite** the current file
---
## ⚠️ DO NOT DELETE
Keep this folder as a safety backup in case:
- Something went wrong with the conversion
- You need the original green background files
- You want to re-process with different settings
---
**Backup of**: 30 PNG files
**Total size**: ~15 MB
**Script used**: `scripts/remove_green_background.py`