Deckbuilder Kit - Roguelike Card Battler Template for Godot 4
A roguelike deckbuilder you can play today and make your own, for Godot 4. A whole run, start to finish: a branching map, battles against enemies that show what they'll do next, rest sites, shops, treasure, card and relic rewards, and a boss at the top. Thirty cards, nine enemies and fourteen relics in pixel art, with the frames, icons, fonts and sounds that go with them, and a card shader that tilts, glows and burns away. Every card, enemy and relic is a resource you edit in the inspector. Godot 4.3 to 4.7, every renderer.
Try it first: click Run asset pack above and play a run in your browser.
var run := DeckRun.create() # a seed, a map, a starting deck and relic
run.enter(run.choices()[0]) # the first room
var view := DeckBattleView.new()
view.battle = run.battle()
add_child(view)
var won: bool = await view.finished
What's inside
The game:
- Battles: draw, hand, discard and vanish piles, 3 energy a turn, block that fades, and cards played by dragging them up or onto an enemy along an aiming arrow. Enemies show their intent (attack and for how much, defend, buff, debuff) before they act.
- 30 cards across attacks, skills and powers, common to rare, each with an upgrade; 3 status cards enemies put in your deck. A card's text is written from what it does, its numbers turning green or red as the statuses on both sides change them.
- 9 enemies (6 normal, 2 elites, the Ember Drake as boss) in 12 encounters, each with its own moves, in order or by chance.
- 14 relics that fire at the start of a battle, at the end of a turn, every few cards, when an enemy dies, when you rest.
- 10 statuses: might, poise, exposed, sapped, brittle, poison, regen, thorns, bulwark and fury, each with its icon and tooltip.
- The map: 12 floors of branching paths that never cross, with fights, elites, rest sites, shops and treasure, and the boss at the top. The same seed makes the same run.
- Between battles: gold and a choice of three cards after each fight (a relic after an elite), rest to heal or upgrade a card, a shop that sells cards and relics and removes a card.
The art, pixel art drawn at 1x for a 640 x 360 screen, every one its own PNG:
- 33 card illustrations; card frames for each type and rarity, a card back and a cost orb
- A hero and 9 enemies, a battle backdrop and a paper map
- Icons for the 5 intents, 10 statuses, 14 relics, 6 rooms, piles, energy, block, gold and HP; nine-patch buttons and panels
- Two pixel fonts, Hearth for titles and Mote for small print
- 23 sounds: hits, blocks, draws, shuffles, buffs, poison, gold, relics, victory and defeat
The card shader: tilt toward the mouse in perspective, flip, glow, shine, dissolve, greyed when unplayable, a shadow that lifts as the card rises, and foil, holo, prism and gold finishes.
The code:
DeckBattle: one battle's rules, from the piles to the enemies' turns. It never waits: a view follows its signals at its own pace, and anything else can too.DeckRun: the run around the battles: deck, HP, gold, relics, the map, rewards, shops and rests.DeckCard,DeckEnemy,DeckEncounter,DeckRelic: one.treseach incontent/. Drop a new one in its folder and it's in the game.- Views for all of it: the fanned hand, the battle, the map, rewards, rooms, piles, the run bar and tooltips.
- Demo: the whole run, title to boss.
Compatibility
- Godot 4.3 to 4.7, tested on both ends.
- Forward+, Mobile and Compatibility renderers: desktop, mobile and web.
- Pure GDScript and one
.gdshader. No plugins to enable, no C#, no GDExtension. - The PNGs and WAVs work in any engine.
Install
Copy addons/deckbuilder_kit/ into your project. Open addons/deckbuilder_kit/demo/run.tscn to
play.
License
Use in unlimited commercial and non-commercial games. No attribution required. Don't resell or redistribute the art, sounds, fonts, shader or scripts themselves as an asset.
Made with AI assistance (code, text, graphics, sound): the art and sounds are made by code we wrote, tested in Godot 4.3 and 4.7 on every renderer.
Related Packs
| Published | 12 hours ago |
| Status | Released |
| Category | Assets |
| Author | heyheythere |
| Genre | Card Game, Strategy |
| Made with | Godot |
| Tags | 2D, Deck Building, Godot, Pixel Art, Roguelike, Royalty Free, Project template, Turn-based |
| AI Disclosure | AI Assisted, Code, Graphics, Sounds, Text |
Purchase
In order to download this asset pack you must purchase it at or above the minimum price of $8.99 USD. You will get access to the following files:





Leave a comment
Log in with itch.io to leave a comment.