No slash command · from Summer Engine
Guides setup of keyboard/mouse and touch input for browser Godot games using a shared action system, with browser-specific rules for audio, pointer lock, and focus.
Ships in Summer Engine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A browser game is played with a keyboard and mouse on a computer, and with fingers on a phone. Build one set of input actions and drive it from both.
Bind every control as an input action (summer_input_map_bind): move_left, move_right, move_up, move_down, jump, action, pause. Game code only reads actions (Input.get_axis("move_left", "move_right"), Input.is_action_just_pressed("jump")), never raw keys, so touch controls can press the same actions.
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED from the title screen's "Click to play" handler, never in _ready().Add a TouchControls CanvasLayer (layer 10) and show it only when DisplayServer.is_touchscreen_available() is true:
action property set to the input action name (for example jump). It presses the same action as the keyboard. Make them large (at least 96 px), semi-transparent, and placed in the bottom corners, away from the HUD.move_left, move_right). For free movement, a virtual stick: a Control in the bottom-left that reads InputEventScreenTouch and InputEventScreenDrag within its area and calls Input.action_press("move_right", strength) and Input.action_release(...) from the drag direction (dead zone about 0.2).Run the game and check the keyboard controls and the title screen's first click. Set input_devices/pointing/emulate_touch_from_mouse on temporarily to try the touch buttons with the mouse, then turn it off again.
No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.
| In this skill | Command |
|---|---|
summer_add_node | summer engine add-node |
summer_batch | summer engine batch |
summer_get_diagnostics | summer engine get-diagnostics |
summer_input_map_bind | summer engine input-map-bind |
summer_play | summer engine play |
summer_save_scene | summer engine save-scene |
summer_screenshot | summer engine screenshot |
summer_set_prop | summer engine set-prop |
summer_stop | summer engine stop |
summer_write_file | summer engine write-file |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
godot, input-handling, touch-controls, browser-games, cross-platform
npx claudepluginhub summerengine/summer --plugin summer123 skills in this plugin
/3d-lightingLight a 3D scene: sun, omni and spot lights, WorldEnvironment, sky, shadows and ambient./adaptive-musicWire music stems to game state: combat, explore, boss and tension crossfades on a shared bus./agent-playtestingPlaytest by driving the live game: deterministic launch, frame-stamped probes, scripted or recorded input./ambient-bedGenerate a long looping location ambience (forest, dungeon, city, cave) on the Ambient bus.Other plugins' skills for the same job