3
votes
How is data regarding items in RPGs and other loot-based games stored and implemented?
We can't answer questions like "how do they do it" because, well, we don't know, and they won't tell us.
We can help you figure out a few things, though.
In software development in general, ...
2
votes
Tower Defence stat storing system
Firstly, I see no issue (in principle) with the first approach, the XML file. Easily editable, easily extendable.
Secondly, I would still recommend not using XML, and using JSON instead, since it's ...
1
vote
Accepted
`System.Xml.XmlDocument.Load(Path)` doesn't work on Android
Thanks to DMGregory. TextAsset is a great solution.
If anyone is interested, here is what the SetLanguage method looks like now:
...
1
vote
How to create a re-usable layout of text fields that can be bound to in world space?
One very easy way is to only use one text renderer (e.g. TextMeshPro) in each place that you want to display text, and format all the text you want to display into a single multi-line string.
...
1
vote
Unable to select MonoDevelop to open XML file from Unity project
MonoDevelop was phased out in version 2018.1. You now need to use something different, like Visual Studio.
1
vote
XML, how to have two variables under the same node?
It's hard to avoid "ugly and inefficient" when serializing data as XML, but space- or comma- separated strings for coordinate data is okay. Alternatively, you can use two attributes or make position a ...
1
vote
Tower Defence stat storing system
Although I think @sh code 's answer is the correct way to go, I wanted to add that Unity's new prefab variant workflow is really useful for making related objects have slightly different properties. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
xml × 100c# × 36
xna × 31
unity × 21
java × 11
android × 9
xna-content-pipeline × 9
data × 7
serialization × 7
databases × 6
xna-4.0 × 5
file × 5
component-based × 4
data-driven × 4
game-design × 3
rpg × 3
data-structure × 3
scripting × 3
savegame × 3
file-format × 3
storage × 3
npc × 3
sql × 3
configuration × 3
c++ × 2