Hello!
So I finished a XML parser class in this moment. I decided to start the game engine like this because it is an independent piece of code (independent of the design and graphics which we don't have right now) and also it is quiet important to have a parser like that right from the beginning.
Maybe you ask yourself what XML is. It is a computer language. A simple one, though.
It's just like HTTP. So the XML parser is the thing that loads and reads XML documents and also safes things to it.
This will make everything a lot easier. Everybody on the team can design items, mobs, quests and so on by themselves and we don't even have to rebuild the ".exe" for that. That's great!
This is how it could look like for an item:
- Code:
-
<?xml version="1.0" encoding='UTF-8'?>
<Item>
<Name>Sword</Name>
<Material weight="5">Iron</Material>
<AttackPower delay="15">250</AttackPower>
</Item>
Best regards,
Philipp, the noxious programmer