Provides comprehensive guidance for Cocos2d-x v4 game engine including scene graph, nodes, sprites, actions, animations, physics, rendering, shaders, and platform deployment. Use when the user asks about Cocos2d-x, needs to create games, implement game features, set up development environments, or deploy games to multiple platforms.
View on GitHubpartme-ai/full-stack-skills
development-skills-utils
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/partme-ai/full-stack-skills/blob/main/skills/cocos2d-x/SKILL.md -a claude-code --skill cocos2d-xInstallation paths:
.claude/skills/cocos2d-x/## When to use this skill Use this skill whenever the user wants to: - Create Cocos2d-x v4 games or applications - Learn Cocos2d-x v4 core concepts (Node, Sprite, Scene, Action) - Set up Cocos2d-x v4 development environment - Work with sprites, textures, animations, and labels - Implement scene management and node lifecycle - Handle input events (touch, mouse, keyboard) - Use physics engine (Box2D) and collision detection - Implement rendering pipeline, shaders, and particle systems - Build and deploy games for multiple platforms (Windows, macOS, Linux, Android, iOS) - Use CMake build system and command-line tools - Migrate from older Cocos2d-x versions - Extend engine with custom rendering and script bindings ## How to use this skill To work with Cocos2d-x v4: 1. **Identify the topic** from the user's request: - Engine overview/了解引擎 → `examples/getting-started/about-engine.md` - Quick start/快速上手 → `examples/getting-started/quick-start.md` - Installation/安装配置 → `examples/getting-started/installation.md` - Node and Scene/节点和场景 → `examples/core/node-scene.md` - Sprite/精灵 → `examples/core/sprite.md` - Texture/纹理 → `examples/core/texture.md` - Animation/动画 → `examples/core/animation.md` - Action/动作 → `examples/core/action.md` - Label/标签 → `examples/core/label.md` - Scene management/场景管理 → `examples/core/scene.md` - Input handling/输入处理 → `examples/core/input.md` - Event system/事件系统 → `examples/core/event.md` - Physics/物理引擎 → `examples/advanced/physics.md` - Rendering/渲染 → `examples/advanced/rendering.md` - Shaders/着色器 → `examples/advanced/shader.md` - Particle system/粒子系统 → `examples/advanced/particle.md` - Build system/构建系统 → `examples/tools/build-system.md` - Platform deployment/平台部署 → `examples/tools/deployment.md` 2. **Load the appropriate example file** from the `examples/` directory: - `examples/getting-started/about-engine.md` - Engine overview and features - `examples/getting-started/quick-start.md`