|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "Development Tools" |
| 4 | +date: 2026-02-17 11:49 -0300 |
| 5 | +badge: docs |
| 6 | +categories: [Documentation, Customization] |
| 7 | +--- |
| 8 | + |
| 9 | +HunterPie includes development tools that help with development, debugging, and testing. These tools are hidden by default but can be enabled through feature flags. |
| 10 | + |
| 11 | +## Enabling Development Tools |
| 12 | + |
| 13 | +To access HunterPie's development features, you'll need to enable them through the feature flags system: |
| 14 | + |
| 15 | +### Step 1: Enable Development Feature Flags |
| 16 | + |
| 17 | +1. Open HunterPie Settings |
| 18 | +2. Click on "Client" settings |
| 19 | +3. Scroll all the way down to the bottom of the settings page |
| 20 | +4. Enable **"Enable development feature flags"** |
| 21 | + |
| 22 | +### Step 2: Reload Settings |
| 23 | + |
| 24 | +1. **Exit** the settings page completely |
| 25 | +2. **Re-enter** the settings page to reload all options |
| 26 | + |
| 27 | +> This step is crucial as it refreshes the settings interface to show newly available options. |
| 28 | +{: .prompt-info } |
| 29 | + |
| 30 | +### Step 3: Access Feature Flags |
| 31 | + |
| 32 | +1. In the settings page, scroll down on the sidebar |
| 33 | +2. At the very bottom, you'll now see a **"Feature Flags"** option |
| 34 | +3. Click on **"Feature Flags"** |
| 35 | + |
| 36 | +### Step 4: Enable Advanced Development Features |
| 37 | + |
| 38 | +1. In the Feature Flags section, find **"feature_enable_advanced_dev"** |
| 39 | +2. **Enable** this feature flag |
| 40 | + |
| 41 | +### Step 5: Restart HunterPie |
| 42 | + |
| 43 | +1. Restart HunterPie by pressing <kbd>Ctrl</kbd>+<kbd>R</kbd> |
| 44 | + |
| 45 | +After following these steps, you'll have access to HunterPie's full development options, including: |
| 46 | + |
| 47 | +- **Mock Widgets** - Test themes with fake data without running the game |
| 48 | +- **Overlay Manager** - Controls design mode, position and settings of the mocked widgets |
| 49 | + |
| 50 | +## Development Features |
| 51 | + |
| 52 | +Once development tools are enabled, you can access various debugging and testing features that make theme development and troubleshooting much easier. |
| 53 | + |
| 54 | +> **Important**: Some development features may impact performance and are intended for development use only. Disable them for normal gameplay. |
| 55 | +{: .prompt-warning } |
0 commit comments