Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

DGW101

5
Posts
1
Topics
1
Following
A member registered Jul 10, 2024

Creator of

Recent community posts

Go into the folder where the decks are saved (starter decks or any ones you've made/imported), open the deck's JSON file for the deck you want to use. Where you see the list of cards (I'm not in front of my PC but I think it's player cards) where the decks player cards are, in quotations, write down the card ID of your custom card

Yes I have. Adding a single can be done fairly easily. If you download the the .py files I linked, read through the cards and you can get an idea of how the coding architecture works.  1) create a .py script (and place it in a cards folder per the other posts instructions) to map out the card behavior.  2)  go to the custom_card.json file to tell the game engine where to look for the .py script, a picture for the card, card type, name, etc.

(if you're just adding a custom card to an existing hero deck) 3) add all of the information from step 2 to the cards.json instead

4) add the card ID to the deck file of whichever hero/deck you want to add it to

Check this community post https://itch.io/t/5925900/how-to-add-custom-cards

There's a cards .JSON file in the game folder, if I remember it goes game root/data/cards.json


I used Microsoft visual studio, and from there you find the card you want to modify and can start tweaking values.


There was also a thread posted previously where the developer shared some .py scripts for a bunch cards it you want to make custom ones

Hi! First off, thank you for making this, it’s an incredibly impressive implementation.

I’ve been experimenting with the card/deck data files and I’m trying to understand what level of custom hero design is realistically supported.

From my local testing, it looks like static values in cards.json are read at runtime. I was able to change things like ATK, THW, DEF, HP, hand size, and card cost, and those changes appeared to work correctly in-game.

What I’m especially interested in, though, is whether there’s any supported way to create custom mechanics by reusing existing backend functionality.

For example, Gambit already has a counter-based identity mechanic. In theory, I’d love to build a custom hero that uses similar existing pieces, but with different outputs — something like:

  • spend/remove a counter
  • take 1 damage
  • increase damage from an attack/event
  • or trigger a different existing effect

So I’m not necessarily trying to build an entirely new rules engine. I’m wondering whether existing effect components can be reused or recombined for custom card IDs.

A few specific questions:

  1. Are custom cards in cards_custom.json intended to be display/manual-play only, or can they hook into automated backend effects?
  2. Are official card abilities, like Gambit’s charge counters, hardcoded to specific card_ids, or are they built from reusable effect descriptors somewhere?
  3. Is there any supported way to define a custom automated effect for a new custom card ID?
  4. If not, is it possible to map a custom card ID to an existing mechanic/effect shell?
  5. Are mechanics like counters, self-damage, damage boosts, status cards, and resource generation exposed in any way for custom content?

No worries if this kind of modding isn’t currently supported. I’m mainly trying to understand whether custom mechanics are possible using the existing system, or whether the safest approach is still to reskin existing card IDs and adjust static card values.

Thanks again for all the work you’ve put into this!