# SparkLabs Editor

SparkLabs AI-Native Game Engine Visual Editor — a web-based game development environment that fuses AI Agent intelligence with real-time 3D scene editing.

## Standalone Usage

### Prerequisites

- Node.js >= 18
- npm >= 9

### Install Dependencies

```bash
cd frontend/web
npm install
```

### Development Server

```bash
npm run dev
```

### Production Build

```bash
npm run build
npm run preview
```

## Editor Features

| Feature | Description |
|---------|-------------|
| AI Prompt Bar | Natural language game creation with Ctrl+K shortcut |
| 3D Viewport | THREE.js scene with Scene/Game/Wireframe modes |
| Scene Outliner | Hierarchical entity tree with visibility/lock toggles |
| Property Editor | Transform, Neural, Rendering, Physics sections |
| Node Graph | Visual programming for game logic |
| Asset Library | Browse and manage game assets |
| Console | Real-time log output with AI integration |
| AI Config | Neural parameter tuning for generation |
| 30+ Mode Panels | Game Studio, Story Editor, NPC Designer, Workflow Editor, etc. |

## Keyboard Shortcuts

| Shortcut | Action |
|----------|--------|
| Ctrl+1 | Move Tool |
| Ctrl+2 | Rotate Tool |
| Ctrl+3 | Scale Tool |
| Ctrl+P | Toggle Play/Stop |
| Ctrl+E | Script Editor |
| Ctrl+, | Settings |
| Ctrl+D | Dashboard |
| Ctrl+K | Focus AI Prompt |
