about summary refs log tree commit diff stats
path: root/html/rogue/js/player.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/rogue/js/player.js')
-rw-r--r--html/rogue/js/player.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/rogue/js/player.js b/html/rogue/js/player.js
index 9a25715..803a6b7 100644
--- a/html/rogue/js/player.js
+++ b/html/rogue/js/player.js
@@ -4,7 +4,7 @@ const player = {
     target: null,                 // Target hex to move to
     path: [],                     // Array of hex coordinates to follow
     movementProgress: 0,          // Progress of current movement (0 to 1)
-    moveSpeed: 0.1,              // Movement speed (0 to 1 per frame)
+    moveSpeed: Config.player.MOVE_SPEED,              // Movement speed (0 to 1 per frame)
     
     // Initialize player
     init() {
@@ -135,7 +135,7 @@ const player = {
 
         ctx.fillStyle = Config.colors.PLAYER;
         ctx.beginPath();
-        ctx.arc(screenX, screenY, HEX_SIZE/3, 0, Math.PI * 2);
+        ctx.arc(screenX, screenY, HEX_SIZE * Config.player.SIZE_RATIO, 0, Math.PI * 2);
         ctx.fill();
         
         // Optionally, draw the remaining path