English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I wanted to know because Star Wars: Empire at War uses XML files for just about everything.

So, as for more details, I want to know if I could create a game engine in XML that can use AI, logic, and other things that should be part of a game engine. Give or take a few things.

2006-06-24 14:42:54 · 2 answers · asked by superfortress@sbcglobal.net 2 in Computers & Internet Programming & Design

2 answers

Simple answer is no.
XML is used to store data in structured fashion. While you can store your game data in XML format, and indeed it is recomended way unless you don't want to make your game data public, you have to use other language to write algorithms.

2006-06-24 15:00:13 · answer #1 · answered by Tanaeem 4 · 0 0

No, not alone. XML is just a way to save data, a database format. No code is actually run at all. Another program written in some programming langauge is needed to read the xml.

2006-06-24 14:45:45 · answer #2 · answered by Tim 6 · 0 0

fedest.com, questions and answers