⚔ Medieval RPG

Misiones completadas: 0/4
Objetivo: Habla con todos los NPC y completa las misiones.
Controles: ⬅⬆➡⬇
Busca un NPC amarillo para comenzar.
// ===================================== // DIBUJO DE FONDO TIPO PERGAMINO / MAPA MEDIEVAL // ===================================== function drawMedievalBackground() { // Color base de pergamino envejecido ctx.fillStyle = "#2d4a22"; // Tono verde pradera profunda ctx.fillRect(0, 0, canvas.width, canvas.height); // Rejilla de mapa o líneas suaves de textura (opcional) ctx.strokeStyle = "rgba(0, 0, 0, 0.05)"; ctx.lineWidth = 1; for (let x = 0; x < canvas.width; x += tile * 2) { ctx.beginPath(); ctx.moveTo(x, 0); ctx.lineTo(x, canvas.height); ctx.stroke(); } for (let y = 0; y < canvas.height; y += tile * 2) { ctx.beginPath(); ctx.moveTo(0, y); ctx.lineTo(canvas.width, y); ctx.stroke(); } }