Single Table vs Multiple Tables
TheAlchemyst
Member Posts: 16
Hey yall,
I'm making a RNG table and was wondering if there would be any reason NOT to only use a single table?
So let's say I have a Hero's Name, Attack, and Speed randomly generated. Is there any reason not to have all 3 on the same table, and simply generate 3 random numbers to pull from it? Would there be any reason not to have like 50 different columns for all the different variables and still keep them all on the same table?
Best Answer
-
tatiang Posts: 11,949
No, no and no. Carry on!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
I would add that if you have so much data on one table, have a copy table with all of it and keep it as the "reset" table so that when you wish to reset the game to start over the stats go back to the original stats. It would kind of suck that you have the maximum 999 points everywhere and restart the game from scene one with the maximum stats cruising over the enemies without getting hurt.