Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

arena.mjs: add debug logging for crouch button animation

Added debug logging to help diagnose why the crouch button animation
isn't responding to shift key. When the crouch button is being rendered,
it will now log: isPressed state, which buffer is being used, and the
current shift key state.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

+3
+3
system/public/aesthetic.computer/disks/arena.mjs
··· 1435 1435 if (name === "jump" || name === "crouch") { 1436 1436 // Jump/Crouch buttons have animation states 1437 1437 bufferName = isPressed ? `${name}_active` : `${name}_normal`; 1438 + if (name === "crouch") { 1439 + console.log(`🐒 crouch button: isPressed=${isPressed}, bufferName=${bufferName}, shift=${keyboardState.shift}`); 1440 + } 1438 1441 } 1439 1442 1440 1443 const buffer = buttonBuffers[bufferName];