Live runtime editor for Stride Game Engine. Edit transforms, test changes, and manipulate entities during gameplay without stopping to switch back to Game Studio.
HS Dev Editor solves the time-consuming cycle of switching between Stride Studio and game testing. Instead of constantly stopping your game to make small adjustments in the editor, you can manipulate objects live, test immediately, and then transfer the final values back to your project.
- Dev Console: Entity spawning, complex operations, custom commands (Not Included)
- Dev Camera: Scene navigation, positioning, camera setup
- Dev Editor: Transform editing, fine-tuning, testing
- Scene Browser: Entity management, selection, hierarchy
- Property Inspector: Precise values, clipboard operations
Optimal Workflow: Build โ Test Live โ Refine โ Copy Final Values โ Apply in Studio
- Download HS Stride Packer
- Download this library's
.stridepackagefile from Releases - Import using HS Stride Packer - everything installs automatically!
- Code is open source - you can still copy files manually if preferred
- See legacy installation instructions
- HS Stride Packer handles all dependencies and setup automatically
- Stride Engine 4.2.0.2381 or newer
- HS Stride Packer (for easy installation)
To avoid conflicting inputs, integrate these bools into your input systems:
// Get references to the dev tools
var devEditorManager = Entity.Scene.FindAllComponents_HS<DevEditorManager>().FirstOrDefault();
var devCamera = Entity.Scene.FindAllComponents_HS<DevCamera>().FirstOrDefault();
// Check before processing your input
if (!devEditorManager?.DevEditorActive && !devCamera?.DevCameraActive)
{
// Safe to process your game input
HandlePlayerInput();
HandleGameplayInput();
}
// Specific keys to avoid when dev tools are active:
// F10, F11 - Tool toggles
// Arrow Keys, R, S - When DevEditorActive is true
// Ctrl+Z, Ctrl+Y - When DevEditorActive is true
// WASD, Mouse, E, Q - When DevCameraActive is true-
Start Development Session
- Run your game with HS Dev Editor installed
- Press
F11to activate the editor interface - Press
F10to enable free-fly camera (optional)
-
Entity Selection
- Click entities in the Scene Browser, or
- Use existing game selection methods
- Selected entity is highlighted in the browser
-
Live Manipulation
- Use arrow keys for quick adjustments
- Use inspector input fields for precise values
- Changes are applied immediately with visual feedback
-
Value Transfer
- Use copy buttons to get final transform values
- Or press
Ctrl+Pto export all modified entities to Desktop - Paste into Stride Studio Editor
- Apply changes to your project files
Camera Positioning:
1. Fly dev camera to desired position/angle
2. Select your game camera entity
3. Press Ctrl+Shift+F to align camera with view (normal)
OR Ctrl+Shift+R for reversed orientation (Blender models)
4. Copy rotation values from inspector
5. Apply to your camera scripts or components
Blender Model Alignment:
Blender models often export with reversed forward direction.
Use Ctrl+Shift+R instead of Ctrl+Shift+F to apply 180ยฐ Y-axis rotation
automatically when aligning with camera view.
Level Design Iteration:
1. Build rough layout in Stride Studio
2. Test with HS Dev Editor
3. Adjust object positions with arrow keys
4. Copy final coordinates
5. Update original prefabs/scenes
devEditorManager.ConfigureHistorySize(100); // Increase history size
devEditorManager.ClearHistory(); // Reset historyAdjust step values in code:
POSITION_STEP = 0.1f- Position incrementROTATION_STEP = 1.0f- Rotation incrementSCALE_STEP = 0.1f- Scale increment
- Changes are NOT automatically saved
- This is live testing only - changes exist in memory
- Use copy functionality to transfer values to your project
- Always backup your project before extensive testing
- Dev Editor inputs are disabled when UI is inactive
- Camera controls only work when dev camera is enabled
- Other input systems should check
DevEditorActiveandDevCameraActiveproperties
- Minimal runtime overhead when inactive
- UI updates only when entities are selected
- History system automatically manages memory usage
Free-flying camera system with professional game development controls.
Controls:
WASD- Movement (relative to camera orientation)Right Mouse + Drag- Look aroundE/Q- Move up/downShift- Fast movement modifierCtrl- Slow/precise movement modifierMouse Wheel- Adjust movement speed dynamicallyF- Focus on selected entityCtrl+Shift+F- Align selected entity with camera view (normal orientation)Ctrl+Shift+R- Align selected entity with camera view (reversed for Blender models)
Features:
- State persistence (remembers position when toggled)
- Camera-relative movement when active (when moving an object with arrows)
- Speed adjustment from 1.0 to 50.0 units
- Smooth interpolation for professional feel
Real-time transform editing with immediate visual feedback.
Keyboard Controls:
Arrow Keys- Move selected entityR + Arrow Keys- Rotate selected entityS + Arrow Keys- Scale selected entityCtrl + Arrow Keys- Vertical movement (Y-axis)Shift- Fast adjustment modifier (2.3x speed)Alt- Precision modifier (0.05x speed)
Movement Modes:
- World Space: Standard XYZ movement when dev camera is off
- Camera Relative: Movement relative to camera view when dev camera is active
Precise numeric control and value management.
Transform Editing:
- Direct input fields for Position, Rotation (Euler), Scale
- Increment/decrement buttons with configurable step values
- Real-time updates during keyboard manipulation
- Individual axis control with immediate feedback
Copy to Clipboard:
- Individual axis values (X, Y, Z)
- Complete transform vectors
- Formatted code snippets for easy pasting
Component Inspector:
- Lists all components attached to selected entity
- Scrollable interface for entities with many components
Hierarchical entity management and selection.
Features:
- Tree view showing parent-child relationships
- Visual indentation for nested entities
- Filter/search functionality
- Click-to-select interface
- Refresh button for dynamic scenes
- Highlighting of currently selected entity
Professional undo/redo with intelligent batching.
Controls:
Ctrl+Z- Undo last actionCtrl+Y- Redo last undone actionCtrl+Shift+Z- Alternative redoCtrl+P- Export modified entities to file (saves to Desktop)
Features:
- Action batching (groups rapid keystrokes into single undo unit)
- Configurable history size (default: 50 actions)
- Descriptive action names for clear history
- Automatic cleanup of old history
- Export functionality captures all modified entities from session
public class CustomCommand : IEditorCommand
{
public void Execute() { /* Your logic */ }
public void Undo() { /* Reverse logic */ }
public string Description => "Custom Action";
public Entity TargetEntity { get; }
}public class CustomPanel : HSSyncScript
{
private DevEditorManager _editorManager;
public override void OnStart()
{
_editorManager = Entity.Scene.FindAllComponents_HS<DevEditorManager>().FirstOrDefault();
_editorManager.OnEntitySelected += OnEntitySelected;
}
}When used with Happenstance Dev Console, additional functionality becomes available:
Enhanced Workflows:
- Save/load scene states to JSON
- Batch operations on multiple entities
- Custom command creation for repetitive tasks
- Entity spawning and management
- Advanced debugging tools
Recommended Usage:
- Dev Console: Entity creation, spawning, advanced operations
- Dev Editor: Transform manipulation, fine-tuning, testing
- Combined: Powerful development environment
Expectations: This tool was primarily built to make my own development easier and shared to help other developers. Don't expect much, if any, formal support. I'll fix bugs and add features as I encounter them while working on games, but don't expect regular updates when I'm not actively developing.
Focus areas for community contributions:
- Multi-selection support
- Visual gizmos and handles
- VFX highlighting for selected objects
By submitting a pull request, you agree to license your contribution under the MIT License.
HS Live Dev Editor for Stride
Copyright ยฉ 2025 Happenstance Games LLC
