Since the launch of the celadon engine in mid -December 15th, it has received the support and recognition of many developers’ friends. During the use process, we also encountered some problems. Everyone shares, I hope to make progress with everyone.
一.
4: How can the celadon engine get started quickly?
Answer:
1, need a certain JavaScriptBasic, if there iswebfront -end development experience is better.
2, understand the “component -oriented” programming idea.
3, you can get the official user manual first, then pressGetStart(HelloWorldproject、StartUpproject, etc.) Follow it.
4, look moreofficial Demo(most functional points are involved), do it.
2.
Q: How to support the celadon engine at the same timeWebGLCanvas
in Android, selectWebGLrendering orCanvasrendering? What kind of pits are there?
Answer:
The engine will automatically determine whether the current browser supportsWebGLAccelerate,If you support it, choose webglrendering,Do not support the default useCanvas,Of course, you can also force the rendering method to specify the game.
3.
如何: How to test the game running on the mobile phone through remote logs?
Answer:
The
engine provides the following remote debugging function:
1, willtrace The function of sending to the remote log server can make the code in the codetrace Send to the designated server for remote displaytrace, used to track and debug games.
2, serverconsoleInteractive functions with the client script environment, you can query and update the client script environment online.
refer to the following article “Remote Console Decent” section
http://docs.zuoyouxi.com/manual/Debug/index.html
4.
如何: How to communicate with the server(http、websocket)
Answer:
Officially providedserverCommunicate plug -in, the plug -in supporthttp andwebsocket communication function.
For specific documents, please refer to the official user manualhttp://docs.zuoyouxi.com/manual/Plugin/ServerCommunicate.html
5.
如何: How to configure the code automatic prompt?
Answer:
Add the core package of the celadon engine to the core package QC-Core-Debug.js in the webstorm, and you can automatically prompt the code.
Other third -party editors that support automatic prompts can also be added to this package.
6.
发: How to open the gameApplication Cache Function?
Answer:
Project->Setting Lieutenant GeneralApplication Cache option hook, clickApply Effective. After the release of the game will be thereStartGame.html 6 6 6 6 6 6qici.appcache, andStartGame.html will increasemanifest=”qici.appcache”。
Note:
1, the server does not.appcache fileMIME Type, you need to add its type totext/cache-manifest
2, the server is wrong.appcache file cache
For more questions and answers, please refer to:http://wenda.zuoyouxi.com/
Related links:
open source free HTML5 game engine -Qici Engine 1.0 official version is released!