Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Bought this to compare notes and I am deeply impressed with the work you put into it. I have been trying to figure out how to make a room where you can customize your own deck, but not too sure how to organize such a project. Any ideas?

(1 edit) (+1)

Hi FoxFX! Thank you for purchasing the project.

You could achieve that by making an object which stores the list of the IDs of the cards you have in a ds_list (myCards). The you can create another ds_list called myDeck and through that object you can move the cards IDs from the myCards list to the myDeck list.

Remember to always use cards IDs in the lists and not the card instance IDs or whatever.

For example, this is what the lists should look like:

myCards = ["001", "002", "003", "005", "007", "010", "024", ...]

myDeck = ["001", "005", "007", "010", ...]

(+1)

I'll try this out and see if I can present my results. Once again, thanks for this project engine. I have been following tutorials on card games through uheartbeast's older tutorials and have been slowly progressing a few things for a friend who wanted to learn how to make one card game himself.

Will be back to share.

(+1)

i'd just do a dslist for your card collection, dupe it on room, sort it, then loop through it deleting the 0th item after creating a card, or adding to the number variable of the card if you have it created already.
then just remember to have your battles also use a duped ds list, in case your game creates new copies of cards to include