build-game-camera-controls

v2026.09.24

Implement or tune Three.js game cameras. Use for isometric framing, follow behavior, orbit/zoom limits, occlusion, lock-on, camera shake, touch camera controls, and camera regression tests.

GitHub
安装命令
npx skhub add mengto/build-game-camera-controls
Markdown
SKILL.md

Build Game Camera Controls

Keep gameplay readable before making the camera cinematic. Define one authoritative target, camera bounds, zoom range, collision/occlusion policy, and reduced-motion behavior.

Implement

  • Smooth position and look-at targets independently; never bind the camera directly to jittery render state.
  • Preserve player, immediate threat, objective, and interaction cues in frame at the intended distance.
  • Clamp orbit, pitch, and zoom; prevent walls or props from hiding the player without making geometry invisible globally.
  • Treat lock-on, scripted moments, and shake as temporary modifiers layered over the base camera.
  • On touch, separate camera gesture zones from movement/action controls and provide reset framing.

Verify

Test corners, tall props, tunnels, multiple enemies, lock-on switching, pause, reduced motion, portrait, and landscape. Confirm no camera behavior breaks targeting, UI, or performance.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

agent-skills/game-development/build-game-camera-controls

默认分支

main

最新提交

a965851

Tree SHA

51ae735