diff options
Diffstat (limited to 'html/rogue/js/config.js')
-rw-r--r-- | html/rogue/js/config.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/html/rogue/js/config.js b/html/rogue/js/config.js index 90c1f49..3bb9d6a 100644 --- a/html/rogue/js/config.js +++ b/html/rogue/js/config.js @@ -34,5 +34,37 @@ const Config = { FOLLOW_SPEED: 0.1, // Camera smoothing factor DEADZONE_X: 200, // Horizontal deadzone in pixels DEADZONE_Y: 150 // Vertical deadzone in pixels + }, + + ui: { + inventory: { + PADDING: 20, + WIDTH: 300, + HEIGHT: 400, + TITLE_FONT: '20px Arial', + ITEM_FONT: '16px Arial', + ITEM_SPACING: 30, + TITLE_OFFSET: 20, + ITEMS_START_OFFSET: 60, + BACKGROUND_COLOR: 'rgba(0, 0, 0, 0.7)', + WINDOW_COLOR: '#ffffff', + TEXT_COLOR: '#000000' + } + }, + + items: { + SPAWN_COUNT: 10, + types: { + COIN: { + name: 'Coin', + color: '#FFD700', + size: 0.2 + }, + GEM: { + name: 'Gem', + color: '#50C878', + size: 0.25 + } + } } }; \ No newline at end of file |