COCOS2D-JS Development Record: Loading loading interface customization

Source: Internet
Author: User

Loading interface is a cc.scene specific please see:

http://blog.csdn.net/jonahzheng/article/details/38348255

If you just want to change the picture (Cocos logo) can be modified (frameworks/cocos2d-html5/base64images.js)

Cc._loaderimage

The value of the variable, the value of Base64 encoded picture data, in CSS3 with this string can be directly used as the background, the image to Base64 encoding conversion can be done through this site (http://tool.css-js.com/base64.html), the effect is as follows:

Just talk about the other two variables in this file:

  • Cc._loadingimage, is a GIF graph, is a dynamic diagram of the wait
  • Cc._fpsimage, is probably the use of WebGL display FPS with the digital map, the picture is repeated numbers, if you do not use WEBGL purely with canvas, you can put this word Fu Qing empty, so the file is also a lot smaller

COCOS2D-JS Development Record: Loading loading interface customization

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.