Quantcast
Channel: Answers for "Some questions regarding card game"
Viewing all articles
Browse latest Browse all 4

Answer by GoCatGoGamesLLC

$
0
0
Greetings back atcha! Ask ten programmers/designers/people for the "best approach" will likely get you eleven answers. Here are mine! I like relational databases. Your "card" will likely be made up of several elements (correct me if I'm wrong, please), like a Title/Name, an image or bacground, some text, maybe even some integral variables that show current health or attack or something. All of these can be tracked many ways, but I would suggest a database that will allow you to get all of these parts and apply them to the default prefab instance of a card in Unity. Prefab is basically "Blank" and, at instantiation, gets its attributes applied via the database ID/primary key. This, by my reckoning, will give you the best way to simulate finite decks and random draws.

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images