No AI-generated images. Code written with AI assistance.
Make your cards feel good to hold. 9 card face shaders, a drop-in PDCard script and 16 2D particle effects for deckbuilders, roguelike card games and TCG prototypes in Godot 4.
CARD FINISHES (canvas_item shaders)
- Foil - metallic sheen that follows the mouse
- Holographic - rainbow hologram with glitter
- Polychrome - shifting rainbow colors
- Negative - inverted card with a soft pulse
- Shine Sweep - a light band for rare and gold cards
- Frozen and Cursed - status looks
- Glow Outline - hover, selectable, playable
- Burn Dissolve - discard with a glowing ember edge
Use them on TextureRect, Sprite2D or NinePatchRect with your own card art, any size.
PDCARD SCRIPT
- Attach it to a card TextureRect and pick a finish in the Inspector
- Hover: the card scales up, the sheen tilts toward the mouse, a glow outline appears
- card.play(effect), card.discard(), card.draw_from(deck) - one line each, returns a Tween
2D EFFECTS (GPUParticles2D)
- Play Fire, Play Water, Play Nature, Play Arcane, Rare Reveal, Shield Block, Heal, Victory Burst, Buff Up, Debuff Down, Discard Ash, Draw Trail, Energy Gain, Hit Flash, Hover Sparkle, Poison
DEMO SCENE
- A hand of 5 cards: switch finishes, play, discard, draw and try every effect
- The demo cards are drawn by code - replace them with your art
- Tested in Godot 4.7 - Compatibility (web), Forward+ and Mobile
- AGENTS.md + catalog.json included for AI coding assistants
License: use in personal and commercial games. Do not resell or redistribute the files as-is.
