← Back to list

player-movement-camera
by unfrgivn
⭐ 0🍴 0📅 Jan 19, 2026
SKILL.md
name: player-movement-camera description: Implement 3D exploration movement + fixed 3/4 camera + 8-direction facing compatibility: opencode
Skill: Player Movement + Camera (Exploration, 3D)
Objective
Implement exploration movement for a 2.5D JRPG:
- 3D world, sprite characters
- fixed 3/4 overhead camera (no rotation)
- free analog movement with 8-direction facing selection
Steps
- Create
game/scenes/actors/Player.tscnSuggested node tree:
CharacterBody3D(root)AnimatedSprite3D(visual)CollisionShape3DArea3D(InteractionDetector)
- Implement
game/scripts/exploration/player.gd
- Read analog input (
movevector) and convert to world-space. - Use
move_and_slide(). - Derive facing direction (8-way) from the movement vector.
- Drive the
AnimatedSprite3Danimation based on facing + locomotion.
- Camera
- Add a fixed
Camera3D(orthographic recommended) that follows the player. - Keep camera stable (no per-frame jitter).
Calibration guidance (initial):
- Use the
spec.mdreference resolution (1920×1080) as the composition target. - Target: humanoid ~160 px tall at 1080p.
- Start with an orthographic camera and tune
Camera3D.sizeuntil the target is met.
- Test scene
- Create
game/scenes/tests/TestRoom_Movement.tscnwith walls + obstacles.
Verification
- Player cannot pass through walls.
- Diagonals are not faster than cardinals.
- Facing changes correctly across 8 directions.
- Camera is stable and framing consistent.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon