Pika Studio
Run and debug Pika Lua game packs in the native simulator directly from VS Code.
Features
- Game Packs tree view — browse all packs under
SD/games in the Activity Bar
- Run / Stop — launch the native simulator with one click or from the command palette
- Debug — set breakpoints in Lua files and step through code with the built-in Pika Lua debugger
- Manifest form editor — visual editor for
manifest.json (open via the gear icon in the editor title bar)
- Output console — simulator stdout/stderr streamed to the "Pika Engine" Output channel
Requirements
- Windows x64 (the bundled simulator
pika_studio.exe is a Windows native binary)
- A workspace containing a
SD/games folder, or open SD/games directly
Quick Start
- Install the extension (
.vsix) via Extensions → ... → Install from VSIX
- Open the Pika firmware repo (or the
SD/games folder) in VS Code
- Click the Pika icon in the Activity Bar
- Right-click a game pack → Run, or press the ▶ button
Commands
| Command |
Description |
Pika: Run Game… |
Pick a game pack from a quick-pick list and run it |
Pika: Stop Simulator |
Stop the running simulator process |
Pika: Refresh |
Reload the game packs list |
Pika: Open Manifest Form |
Open the visual manifest editor |
Pika: Configure Voice ASR Server |
Set the address of the Voice ASR server |
Extension Settings
| Setting |
Default |
Description |
pika.sdk.source |
"" |
Pika SDK source (local folder or git URL): assets, docs, libraries, examples |
pika.voiceServer |
"" |
External voice ASR server (host:port, mock inject path) |
pika.gameVoice.* |
"" |
Device credentials for the real /ws/v3/game_command voice path |
Debug
Add a launch.json configuration:
{
"type": "pika-lua",
"request": "launch",
"name": "Pika: Debug Game",
"gameId": "${command:pika.pickGame}"
}
Or press F5 — Pika Studio will prompt you to pick a game pack.
License
MIT
| |