Noxious Productions
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Game Development Team
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 XML Parser

Go down 
AuthorMessage
Philipp

Philipp


Posts : 23
Join date : 2010-04-11

XML Parser Empty
PostSubject: XML Parser   XML Parser I_icon_minitimeThu Apr 15, 2010 7:53 pm

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
Back to top Go down
 
XML Parser
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Noxious Productions :: Project Swordsmen :: Progress-
Jump to: