{"enrichment":{"faq":[{"a":"game-development covers the core game loop architecture that drives all games. A typical loop consists of three phases: input handling (capturing player actions), update logic (advancing game state), and rendering (drawing to screen). The loop runs continuously at a fixed timestep, often 60 times per second. Understanding whether to use fixed or variable timesteps is crucial\u2014fixed timesteps ensure deterministic physics and networking consistency, while variable timesteps adapt to frame rate fluctuations. game-development teaches you to structure these phases efficiently and handle timing correctly across different platforms.","q":"How to build a game loop?"},{"a":"game-development emphasizes several foundational patterns. The Entity Component System (ECS) architecture decouples data from behavior, improving performance and flexibility. Game loop patterns handle input, update, and render phases systematically. Object pooling reduces garbage collection overhead by reusing objects. Spatial hashing accelerates collision detection through broad-phase filtering. These patterns scale from simple 2D games to complex multiplayer systems. The skill teaches you when and why to apply each pattern, helping you avoid common pitfalls and build maintainable, performant games.","q":"What game development patterns and best practices should I know?"},{"a":"game-development explains that Entity Component System (ECS) architecture organizes game objects as entities composed of reusable components rather than deep inheritance hierarchies. Each component holds data (position, velocity, sprite), and systems operate on entities with specific component combinations. This approach improves cache locality, simplifies code reuse, and makes it easier to add features without modifying existing classes. ECS scales well for games with thousands of entities and enables data-driven design. The skill shows how to implement ECS patterns and when they provide the most benefit over traditional object-oriented approaches.","q":"What's the difference between ECS architecture for games?"},{"a":"game-development covers both sprite animation and collision detection as core 2D mechanics. Sprite animation cycles through image frames at controlled intervals to create movement illusions. Collision detection uses algorithms like AABB (axis-aligned bounding box) for simple cases or circle/polygon checks for precision. Broad-phase techniques like spatial hashing quickly eliminate non-colliding pairs before expensive narrow-phase checks. The skill teaches you to implement these systems efficiently, handle collision responses, and optimize performance using appropriate data structures and algorithms for your game's scale.","q":"How do sprite animation and collision detection work in 2D games?"},{"a":"game-development teaches two primary AI architectures. Finite State Machines (FSM) organize NPC behavior into discrete states (patrol, chase, attack) with defined transitions. Behavior trees provide hierarchical, composable AI through selector and sequence nodes, offering more flexibility than FSMs for complex behaviors. Both approaches support pathfinding algorithms like A* for navigation. The skill shows how to implement each pattern, when to choose one over the other, and how to combine them with pathfinding for intelligent enemy movement and decision-making in your games.","q":"What game AI approaches like FSM and behavior trees are covered?"},{"a":"game-development addresses multiplayer challenges including lag compensation and client-side prediction. Client-side prediction lets players see immediate feedback while the server validates actions, reducing perceived latency. Lag compensation adjusts server-side hit detection to account for network delays. Delta compression minimizes bandwidth by sending only state changes rather than full snapshots. The skill teaches you to implement these techniques to create responsive multiplayer experiences despite network latency. You'll learn trade-offs between bandwidth, latency, and consistency across different game types and network conditions.","q":"How does lag compensation and multiplayer networking work?"}],"shadow_tags":["game-loop","entity-systems","collision-physics","ai-behavior","network-sync","rendering-perf","memory-pooling","state-machines","pathfinding-nav","lag-mitigation"],"summary_rewrite":"This skill covers foundational game development patterns and architectures for building games across platforms. You'll explore game loop design, entity component systems, 2D mechanics like sprite animation and collision detection, and AI approaches including finite state machines and pathfinding."},"files":[{"bytes":13681,"path":"domain-applications/game-development/SKILL.md","sha256":"bdc70284d4e49cfe28249c8da8fbd0636d67a06f8d57e56526c587ca232f7aea","url":"https://skillfed.io/files/miles990/claude-software-skills/game-development/90470eab/SKILL.md"}],"id":"miles990/claude-software-skills/game-development","links":{"html":"https://skillfed.io/miles990/claude-software-skills/game-development","md":"https://skillfed.io/miles990/claude-software-skills/game-development.md","repo":"https://github.com/miles990/claude-software-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":5,"language":"TypeScript","last_updated":"2026-01-20","license":"MIT","name":"game-development","publisher":"miles990","stars":19},"relations":{"categories":["game-development","systems-design","performance-optimization"],"similar":[{"id":"notque/vexjoy-agent/phaser-gamedev"},{"id":"Intelligent-Internet/ii-agent/building-mobile-game"},{"id":"chongdashu/phaserjs-tinyswords/phaser-gamedev"},{"id":"vudovn/ag-kit/game-development"},{"id":"itzzritik/OrderWorder/game-development"},{"id":"Bbeierle12/Skill-MCP-Claude/building-router"},{"id":"PlayableIntelligence/game-creator/phaser"},{"id":"dadbodgeoff/drift/game-loop"},{"id":"freshtechbro/claudedesignskills/playcanvas-engine"},{"id":"PlayableIntelligence/game-creator/game-assets"}]},"slug":{"owner":"miles990","repo":"claude-software-skills","skill":"game-development"},"version":"90470eab"}
