Implementing a simple XML based Scripting Language for an XNA Game

前端 未结 5 1102
闹比i
闹比i 2021-01-07 08:38

I\'m working with a team on a RPG engine in C# and XNA. We\'re planning on targeting Windows and Windows Phone 7, but are running into issues with AI interactions and contro

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-07 09:19

    You could use an existing XML parser, there are a lot of different ways of doing it (SAX, StAX) and parsers available for many languages.

    Then you could use XPath to reference nodes in your document.

提交回复
热议问题