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:
@@ -202,6 +202,9 @@ class TiledTestScene extends Phaser.Scene {
|
||||
}
|
||||
|
||||
update(time, delta) {
|
||||
// Safety check - only run if cursors are initialized
|
||||
if (!this.cursors) return;
|
||||
|
||||
// Camera movement with arrow keys
|
||||
const speed = 10 / this.cameras.main.zoom; // Adjust speed based on zoom
|
||||
|
||||
|
||||
Reference in New Issue
Block a user