13 reputation
2
bio website
location
age
visits member for 2 years, 1 month
seen Jun 4 at 5:42

Feb
17
awarded  Scholar
Feb
17
comment Integer vs String for “type” data in data-driven games
Thank you! I never thought of using strings then hashing to save file. Thanks for the inputs all of you guys! :)
Feb
17
accepted Integer vs String for “type” data in data-driven games
Feb
16
comment Integer vs String for “type” data in data-driven games
Thanks! I'm quite conflicted by this however. What if say I have a skill "name" that's displayed in the game, and an ID to identify the skill with. Wouldn't it be repetitive to use say name:"Increase Agility" id:"increaseAgility"? Or are those two different matters?
Feb
16
awarded  Student
Feb
16
comment Integer vs String for “type” data in data-driven games
Thanks for the input! What if, say, I have a table of skills, each row is a different skill and each skill has a different implementation on the client-side code. Does that match my previous example or it's an entirely different case altogether? If it's still the same case, then would it make sense to use "string" identifiers instead of int to make it more readable for fellow developers?
Feb
16
asked Integer vs String for “type” data in data-driven games