Celadon Engine Quiz Highlights (i)

Source: Internet
Author: User

Celadon engine since the official release in mid-December 15, has been a lot of developer support and recognition of small partners, everyone in the use of the process, also encountered some problems, we will collect these issues to collate some of the more typical to share with you, I hope we can progress together.

One.

Q: How does the Celadon engine get started quickly?

For:

1 , need to have a certain J Avascript basis, if any Web Front-end development experience is better.
2, understand the "component-oriented" programming idea.
3, you can roughly go through the official user manual, and then follow getstart(HelloWorld project,StartUp engineering, etc.) followed.
4, look at the official Demo(most of the functional points are involved), do.

Two.

Q: How does the Celadon engine support both WebGL and Canvas ?

Under android , are you using WebGL rendering or Canvas rendering? What kind of pits are there?

For:

The engine automatically determines if the current browser supports WebGL acceleration, supports it with WebGL rendering , does not support the default use of Canvas, Of course, you can also force the specified game to use which rendering method.

Three.

Q: How do I debug a game running on my phone through remote logging?

For:

The following remote debugging features are available in the engine:
1 . The ability to send trace to a remote log server allows trace from the code to be sent to the specified server for remote display of trace To track the debug game running state.
2. Theserver console interacts with the client-side scripting environment to query and update the client-side scripting environment online.

Refer to the "Remote Console Debugging" section of the following article
Http://docs.zuoyouxi.com/manual/Debug/index.html

Four.

Q: How to communicate with the server (http,websocket)

For:

The servercommunicate plugin is officially available, which supports both http and websocket communication functions.
Please refer to the official user manual for specific documentation http://docs.zuoyouxi.com/manual/Plugin/ServerCommunicate.html

Five.

Q: How do I configure automatic code hinting?

For:

Adding the core package qc-core-debug.js of the Celadon engine in Webstorm, you can have the code automatically prompt.
Other third-party editors that support automatic prompting can also join this package.

Six.

Q: How does the release game enable the application Cache feature?

For:

Inproject->settingwillApplication Cacheoption Tick, pointApplyeffective. Then the release game will bestartgame.htmlgenerated under sibling directoryQici.appcache, andstartgame.htmlwill increasemanifest= "Qici.appcache".
Attention:
1, if the server does not. AppCacheof the fileMIMEtype, you need to increase its type totext/cache-manifest
2, the server is not. AppCachefiles are cached

For more questions and answers, see: http://wenda.zuoyouxi.com/

RELATED links:

Open source free HTML5 game engine--Celadon engine (Qici engines) 1.0 official release!

Celadon Engine Quiz Highlights (i)

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.