case 'spiky': ctx.fillStyle = '#8B008B'; ctx.fillRect(x, y, enemy.width, enemy.height); // Draw spikes all around ctx.fillStyle = '#000'; for (let i = 0; i < 4; i++) { ctx.beginPath(); ctx.moveTo(x + i * 7 + 3, y); ctx.lineTo(x + i * 7 + 6, y - 5); ctx.lineTo(x + i * 7 + 9, y); ctx.fill(); // Bottom spikes ctx.beginPath(); ctx.moveTo(x + i * 7 + 3, y + enemy.height); ctx.lineTo(x + i * 7 + 6, y + enemy.height + 5); ctx.lineTo(x + i * 7 + 9, y + enemy.height); ctx.fill(); } ctx.fillStyle = '#FF0000'; ctx.fillRect(x + 8, y + 8, 3, 3); ctx.fillRect(x + 18, y + 8, 3, 3); break; Super Mario Adventure
Score: 0
Lives: 3
Coins: 0
Power: Small
World: 1-1
Time: 400
Boss Health
Loading Mario...
🎮 Arrow Keys/WASD: Move | Space: Jump/Fire | X: Run | P: Pause | R: Restart
💰 Collect coins and power-ups | 👾 Defeat enemies and bosses!