- Moved placeholder texture generation from preload() to create() Phaser's renderer is not initialized during preload, so generateTexture() produced blank textures (invisible tank/turret) - Copied tundra_background.png to dist/ (wasn't bundled by webpack) - Added [IR:main], [IR:Preload], [IR:MainGame] console logging - Enabled Phaser banner=true and physics debug mode - Added debug red crosshair + green text overlay to confirm rendering - main.js: try/catch around Phaser.Game initialization - window.__IR_DEBUG for log capture
7 lines
175 B
Bash
7 lines
175 B
Bash
#!/bin/sh
|
|
# Clear vitest/vite caches
|
|
rm -rf /root/iron-requiem/node_modules/.vite
|
|
rm -rf /root/iron-requiem/node_modules/.vitest
|
|
rm -rf /root/iron-requiem/.vitest
|
|
echo "done"
|