
Godot Genre Card Game
Solid foundation for CCG and deckbuilder mechanics in Godot, covering the stuff that trips people up: resource-based card definitions, LIFO effect stacks for proper trigger resolution, and hand arc layouts using Curve2D instead of fighting with Control positioning. The anti-patterns section is actually useful, especially the warnings about z-index management during drag-and-drop and using signal-driven updates instead of _process() spam for card stats. Includes tweening patterns for card movement, deck shuffling with discard pile auto-reshuffle, and the command pattern for decoupling card effects from UI. Leans opinionated on architecture but that's the point. Good starting blueprint if you're past the prototype stage and need your card game to feel responsive instead of janky.
- skills.sh installs
- 241
- GitHub stars
- 464
- last updated
- Aug 21, 2026
Install
$ npx -y skills add thedivergentai/gd-agentic-skills --skill godot-genre-card-game --agent claude-codeInstalls into .claude/skills of the current project.
Files
NEVER Do (Expert Anti-Patterns)
Logic & Architecture
- NEVER hardcode card logic inside UI scripts; strictly encapsulate gameplay effects in
Callableobjects or Command resources pushed to a LIFO stack. - NEVER perform board-state calculations (Power/Toughness) in
_process(); strictly use Signal-driven triggers or a centralizedEffectStackresolver. - NEVER forget LIFO Stack Resolution; strictly use
Array.push_back()andArray.pop_back()to resolve reactions from top-to-bottom.
UX & Animation
- NEVER skip Z-Index management during drag-and-drop; strictly raise the card to the front on click to prevent it sliding under other cards.
- NEVER allow instant card "teleportation" between piles; strictly use
create_tween()/tween_propertychains (0.2s+) for pile moves. - NEVER use
global_positionfor cards in hand; strictly position them using aCurve2Dlayout withsample_baked()for smooth arcs.
Sponsors
Details
- Repository
- github.com/thedivergentai/gd-agentic-skills
- Categories
- Frontend Development, AI & Agent Building, Design & UI/UX, Game Development
- First seen
- Jun 3, 2026
More from thedivergentai/gd-agentic-skills
All 51- Godot Platform Desktop234
- Godot Project Templates232
- Godot Adapt Desktop To Mobile220
- Godot Genre Action Rpg218
- Godot Mcp Scene Builder134
- Godot Mcp Setup126
- Godot Master2.7K
- Godot Shaders Basics488
- Godot 2d Animation457
- Godot Particles370
- Godot Ui Theming363
- Godot Save Load Systems350
- Godot 2d Physics347
- Godot Gdscript Mastery338
- Godot 3d World Building332
- Godot Procedural Generation330
- Godot Testing Patterns329
- Godot Composition326
- Godot Audio Systems322
- Godot Characterbody 2d313
- Godot Camera Systems310
- Godot Input Handling305
- Godot Signal Architecture301
- Godot State Machine Advanced291