diff options
Diffstat (limited to 'html/plains/game.js')
-rw-r--r-- | html/plains/game.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/plains/game.js b/html/plains/game.js index deaebad..2b4f342 100644 --- a/html/plains/game.js +++ b/html/plains/game.js @@ -115,7 +115,7 @@ const CONFIG = { grid: { size: 100, color: 'rgba(221, 221, 221, 0.5)', - worldSize: 100, + worldSize: 20, voidColor: '#e6f3ff' }, camera: { @@ -154,7 +154,7 @@ const CONFIG = { lookRadius: 0.4 // How far to look around (in radians) }, equipment: { - swordUnlockCount: 3, // Number of rescues needed to unlock sword + swordUnlockCount: 5, // Number of rescues needed to unlock sword unlockAnimation: { duration: 1500, // Duration of unlock animation in ms glowColor: 'rgba(255, 215, 0, 0.6)', // Golden glow @@ -202,7 +202,7 @@ const CONFIG = { groundColor: '#f2f2f2' }, villagers: { - total: 1000, // Total number of villagers to spawn + total: 25, // Total number of villagers to spawn colors: [ '#4B0082', // Indigo '#483D8B', // DarkSlateBlue @@ -213,7 +213,7 @@ const CONFIG = { ], shapes: ['square', 'triangle', 'pentagon', 'hexagon'], size: 30, // Same as player size - rescueMessage: 'Congratulations! All villagers have been rescued!', + rescueMessage: 'Congratulations! You rescued all the villagers!', messageDisplayTime: 5000 // How long to show the completion message (ms) }, wilderness: { @@ -1116,7 +1116,7 @@ const renderPlayerHUD = (ctx) => { const circleSpacing = 40; const startX = 30; const startY = 30; - const totalCircles = 4; + const totalCircles = 5; const hpPerCircle = state.player.maxHp / totalCircles; // Track if we need to create explosion particles |