Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(4 edits)

Custom Player Cards

You can add one or more unlockable custom cards for your player. 


Cards folder

At the top level of the player folder, create a folder called cards.

Card sub-folders

Each card will live in its own sub-folder in the cards folder. The name does not matter.

Card image

Unzip the csp.jar file and copy the card image you want from the images/cards folder into your card sub-folder to use as a starting point. Then use your favorite image editing tool to mix in a picture of your player. 

card.properties file

Add a card.properties file to your card folder, with the following property values:

suit   The suit of the card. Allowed values are hearts diamonds spades or clubs . This line is mandatory

value  The value of the card. Allowed values are two three four five six seven eight nine ten jack queen king or ace. This line is mandatory

lock  The condition that unlocks this card. Works like the locks property in the player.properties file.