Pc Games

davila7/claude-code-templates/cli-tool/components/skills/creative-design/game-development/pc-games

作者 davila78da17d671b6f无许可证32K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

PC and console game development principles. Engine selection, platform features, optimization strategies.

AI 生成的概览

关于 PC 与主机游戏开发的参考指南:引擎选择、平台特性、控制器与性能优化。

功能
提供 PC 与主机游戏开发的参考原则,涵盖 Unity、Godot 与 Unreal 之间的引擎选择、Steam 集成与主机认证等平台特性、控制器输入抽象与触觉反馈、性能分析与常见瓶颈,以及各引擎的具体实践。文档还列出了应避免的反模式。它仅为说明性文档,不产出文件或代码。
适用场景
适用于规划或咨询 PC 或主机游戏项目时,例如选择引擎、准备平台认证,或审查优化与控制器支持相关做法。
运行要求
无需任何工具、软件包、运行时、凭据或网络访问;仅为说明性内容,不附带脚本。

PC/Console Game Development

Engine selection and platform-specific principles.


1. Engine Selection

Decision Tree

What are you building?│├── 2D Game│   ├── Open source important? → Godot│   └── Large team/assets? → Unity│├── 3D Game│   ├── AAA visual quality? → Unreal│   ├── Cross-platform priority? → Unity│   └── Indie/open source? → Godot 4│└── Specific Needs    ├── DOTS performance? → Unity    ├── Nanite/Lumen? → Unreal    └── Lightweight? → Godot

Comparison

FactorUnity 6Godot 4Unreal 5
2DGoodExcellentLimited
3DGoodGoodExcellent
LearningMediumEasyHard
CostRevenue shareFree5% after $1M
TeamAnySolo-MediumMedium-Large

2. Platform Features

Steam Integration

FeaturePurpose
AchievementsPlayer goals
Cloud SavesCross-device progress
LeaderboardsCompetition
WorkshopUser mods
Rich PresenceShow in-game status

Console Requirements

PlatformCertification
PlayStationTRC compliance
XboxXR compliance
NintendoLotcheck

3. Controller Support

Input Abstraction

Map ACTIONS, not buttons:- "confirm" → A (Xbox), Cross (PS), B (Nintendo)- "cancel" → B (Xbox), Circle (PS), A (Nintendo)

Haptic Feedback

IntensityUse
LightUI feedback
MediumImpacts
HeavyMajor events

4. Performance Optimization

Profiling First

EngineTool
UnityProfiler Window
GodotDebugger → Profiler
UnrealUnreal Insights

Common Bottlenecks

BottleneckSolution
Draw callsBatching, atlases
GC spikesObject pooling
PhysicsSimpler colliders
ShadersLOD shaders

5. Engine-Specific Principles

Unity 6

  • DOTS for performance-critical systems
  • Burst compiler for hot paths
  • Addressables for asset streaming

Godot 4

  • GDScript for rapid iteration
  • C# for complex logic
  • Signals for decoupling

Unreal 5

  • Blueprint for designers
  • C++ for performance
  • Nanite for high-poly environments
  • Lumen for dynamic lighting

6. Anti-Patterns

❌ Don't✅ Do
Choose engine by hypeChoose by project needs
Ignore platform guidelinesStudy certification requirements
Hardcode input buttonsAbstract to actions
Skip profilingProfile early and often

Remember: Engine is a tool. Master the principles, then adapt to any engine.

来源与署名

来源:davila7/claude-code-templates位于cli-tool/components/skills/creative-design/game-development/pc-games提交8da17d6

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架