RedditPP Mascot

RedditPP

r/godot • … • u/OptimisticLucio

Need a second opinion about storing data in a card game

Heya!

So, I'm planning to make a card game with multiple characters. I want to keep the card data as reasonably easy to create and modify as can be, both to be able to iterate quickly and maybe to add mod support to the game.

What I was wondering about centrally was **how should the card data be stored?** Like, when someone downloads the game (or creates new characters), what file format should the cards be read from?

My plan was to store the card effects as short lua scripts in the card data itself, so I was debating between JSON and Godot Resources. The latter would let me have a lot more control over the type of data being passed, but the former seems *significantly* easier to work with if you're not a programmer.

Do you have any opinions either way? Do you think either option works? Does it really not matter until I have thousands of files to be read on gameload?

Thanks!

— 0