Search found 3 matches

by UnicronLucas
Tue Jan 31, 2023 3:19 am
Forum: General
Topic: Best way to store data as tables
Replies: 8
Views: 2939

Re: Best way to store data as tables

Funny that we have this topic again today. And sorry I tried to search it, but I wasn't sure what to search for now I think I might go for your second approach, as I am thinking of different card types having different parts so I think I would need subtables, a table for each card type. your way do...
by UnicronLucas
Tue Jan 31, 2023 3:12 am
Forum: General
Topic: Best way to store data as tables
Replies: 8
Views: 2939

Re: Best way to store data as tables

I meant like I create a class that has cards, and then I use like

Code: Select all

 card1 = Card:new(alot of stuff here that say what the card can do) 
this just felt very, not smart to me, and like there should be a better way to do it
by UnicronLucas
Mon Jan 30, 2023 11:12 pm
Forum: General
Topic: Best way to store data as tables
Replies: 8
Views: 2939

Best way to store data as tables

I may be completely overthinking this, but I am curious about the best way to store large data. I am trying to make my first game, and it will be a card game, similar to Magic: the gathering. But I am not sure how to store the data, right now I am writing a big old lua file that will have like a par...