28 lines
1.0 KiB
Markdown
28 lines
1.0 KiB
Markdown
# Godot GDScript Example
|
|
|
|
Demonstrates Agent Guardrails integration with Godot Engine for game development.
|
|
|
|
## Features
|
|
- XR/VR comfort zone enforcement
|
|
- Ethical UI patterns for game interfaces
|
|
- Accessibility management for game UIs
|
|
- Dark pattern prevention for engagement mechanics
|
|
|
|
## Quick Start
|
|
```
|
|
# Copy scripts into your Godot project's scripts/guardrails/ directory
|
|
```
|
|
|
|
## Files
|
|
| File | Purpose |
|
|
|------|---------|
|
|
| `comfort_zone.gd` | XR/VR comfort zone enforcement and motion safety |
|
|
| `ethical_ui.gd` | Dark pattern prevention for game UI elements |
|
|
| `accessibility_manager.gd` | Accessibility features for game interfaces |
|
|
|
|
## Related Documents
|
|
- [2026_GAME_DESIGN.md](../../../docs/game-design/2026_GAME_DESIGN.md) — Game design guardrails
|
|
- [SPATIAL_COMPUTING_UI.md](../../../docs/spatial/SPATIAL_COMPUTING_UI.md) — XR/VR/AR patterns
|
|
- [ETHICAL_ENGAGEMENT.md](../../../docs/ethical/ETHICAL_ENGAGEMENT.md) — Dark pattern prevention
|
|
- [ACCESSIBILITY_GUIDE.md](../../../docs/accessibility/ACCESSIBILITY_GUIDE.md) — WCAG 3.0+ guide
|