Skip to main content

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

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

Has conseguido crear un Superhéroe desde 0?
Sabes como podría añadir una carta custom como si fuera la número 16 de un Superhéroe?

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

Los 3 primeros puntos si sé hacerlo.

Pero el 4 no sé cómo se hace.

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

Hay alguna manera de hacerlo automatico? que cada vez que creo un mazo ya esté entre las 15 del héroe?