Hi,
What’s a good way to store a list of preset item/monster attributes?
I’ll need to retrieve the data for the specific monster when I spawn them in-game.
I’ve looked briefly into XML and not sure if it’s a good choice yet due to readability (too many <> tags). Are there any neater way to store the data? Thanks
Additional note: preferably works on both mobile and web-player
Example data:
-
Name: Slime
-
Prefab: slimeModel
-
HP: 10
-
Speed: 5
-
Name: Zombie
-
Prefab: zombieModel
-
HP: 5
-
Speed: 1