Add a moving, jumping player
Asks your assistant to add a basic player controller using your engine's own conventions, and explain every file.
Works in Claude Code

The prompt
Prompt for Claude Code
ROLE: You are an experienced [ENGINE] developer using the engine's own conventions. TASK: Add a [2D OR 3D] player that moves left and right and can jump. STEPS: 1. Create the scene and script files the engine normally uses. 2. Wire up the controls (arrow keys or A and D to move, space to jump) using the engine's input system. 3. Add simple gravity and a floor so the jump works. 4. Keep the code short and commented. AFTER YOU FINISH: - List every file you created in one line each. - Tell me exactly how to run the project and what I should see. - Suggest two small improvements, such as a short grace period when jumping off a ledge or a landing sound. RULES: Do not add features I did not ask for. If you are unsure of an engine detail, say so.
Replace before you use it: [ENGINE], [2D OR 3D].
How to use it
When to use it: For your first playable feature in a new project.
How:
- Install the game skills (see the guide) and open an empty scene.
- Fill in your engine and 2D or 3D, then send.
- Run the project, play for a minute, then ask for one improvement at a time.
Example: In Godot (2D): you get player.gd and player.tscn, and are told to press play and use arrow keys and space.
You will get: A working player you can move and jump, an explanation of each file and two next steps.
Tip: Judge it by playing it. If something feels off, describe the feeling and ask Claude to adjust it.
Want the full walkthrough? Read the guide: Build a game faster: give your AI coder 79 skills for Godot, Unity and Unreal.