XML for WIndows8 Apps

  • Well this is my most recent findings on developing windows8 html5 game using scirra.

    THe normal XML plugin tries to create new ActivexObject which is not supported by windows8 apphost.

    I happened to edit the generated javascript file to use winjs libraries.

    Edited Code and commented out for loop where activex object is created

    and added the below code

    var xml = new Windows.Data.Xml.Dom.XmlDocument();

    xml.loadXml(xml_string);

    Also comment out the line below

    this.xmlDoc.setProperty("SelectionLanguage","XPath");

    Please include a update in your next release for fixing this bug for exporting to Windows8.

    My changes are not 100% perfect since its changed directly in game script.

  • Note : Sorry for the addendum.

    I used TMXImporter ,Ajax, and function plugins to load the levels.tmx files in my game and load them to a string constant.

    THis worked locally while testing, but didnt render my objects in windows8.

    Hence I made the changes and published it to windows market.

    Request you to kindly release a new plugin for windows8 XML.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for the report & indicating the fix - this should work in the next build.

  • shreedharcva thank you! that helped me fix my Win8 game that also uses the TMX importer.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)