Skip to content

feat: Add device emulator control and screenshot capture #62

@kevinswint

Description

@kevinswint

Description

Currently capture_screenshot only captures the Roblox Studio window, not what's displayed in the Device Emulator. This makes it impossible for Claude to verify mobile layouts without human intervention.

Proposed Tools

set_emulator_device

- device: string (e.g., "iPhone 14", "iPad Pro", "Samsung Galaxy")
- orientation: "portrait" | "landscape"

capture_emulator_screenshot

- Returns screenshot of just the emulator viewport

Use Case

When developing responsive UI, Claude needs to verify layouts work on different screen sizes. Currently Claude must guess at pixel positions and ask the human to manually check the emulator, creating a slow feedback loop.

Technical Notes

  • May require changes to the Luau plugin to interact with Studio's Device Emulator
  • Alternative: render a preview based on viewport dimensions without the full emulator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions