File manager - Edit - /home/custbahd/public_html/cage/angrybirds/main.js
Back
var cocos2dApp = cc.Application.extend({ config: document.querySelector('#cocos2d-html5')['c'], ctor: function (scene) { this._super(); this.startScene = scene; cc.COCOS2D_DEBUG = this.config['COCOS2D_DEBUG']; cc.setup(this.config['tag']); cc.Loader.getInstance() .onloading = function () { cc.LoaderScene.getInstance() .draw(); }; cc.Loader.getInstance() .onload = function () { cc.AppController.shareAppController() .didFinishLaunchingWithOptions(); }; cc.Loader.getInstance() .preload(g_ressources); }, applicationDidFinishLaunching: function () { var director = cc.Director.getInstance(); director.setDisplayStats(this.config['showFPS']); director.setAnimationInterval(1.0 / this.config['frameRate']); director.runWithScene(new this.startScene()); return true; } }); var myApp = new cocos2dApp(GameScene);
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Generation time: 1.5 |
proxy
|
phpinfo
|
Settings