game_parallax
Create and configure ParallaxBackground nodes and layers in Godot, including motion scale, offsets, and mirroring, to build scrolling backgrounds.
Instructions
Create/configure ParallaxBackground and layers
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "game_parallax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Node name | |
| action | Yes | Action: create_background, add_layer, configure | |
| nodePath | No | Node path (for configure) | |
| mirroring | No | Mirroring {x,y} (ParallaxLayer) | |
| parentPath | No | Parent node path | |
| motionScale | No | Motion scale {x,y} (ParallaxLayer) | |
| motionOffset | No | Motion offset {x,y} (ParallaxLayer) | |
| scrollOffset | No | Scroll offset {x,y} (ParallaxBackground configure) | |
| scrollBaseOffset | No | Scroll base offset {x,y} (ParallaxBackground configure) |