"COCOS2D-JS Official Documents" 13, Ccsaxparser.js

Source: Internet
Author: User

Cc.saxparser
  • Will CC. SAXParser refactoring as a singleton object: Cc.saxparser

  • Removed thetmxParsepreloadPlistunloadPlistgetNamegetExtgetListand other methods.

  • The Uniform entry function specification for parser is, and the content of the argument is the parse textual content that needs to be parsed.

Cc.plistparser

added cc.plistparser . cc.plistparser inherits cc.saxparser , used to parse plist text content.

This transformation is to make parser's duties more pure, just parse, that is, the processing of the string content, without the need to control the loading of resources. Resource load unification is moved to cc.loader managed.

Cctmxxmlparser.js

Regarding parser this point, Tilemap also needs to transform. No modifications have been made yet.

Reprint Please specify: http://www.cocos2dx.net/post/204

Cocos2d-js Official documents 13, Ccsaxparser.js

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.