@@ -0,0 +1,43 @@
+System.register([], function (_export, _context) {
+ "use strict";
+
+ var Application, cc;
+ _export("Application", void 0);
+ return {
+ setters: [],
+ execute: function () {
+ _export("Application", Application = class Application {
+ constructor() {
+ this.settingsPath = 'src/settings.json';
+ this.showFPS = false;
+ }
+ init(engine) {
+ cc = engine;
+ cc.game.onPostBaseInitDelegate.add(this.onPostInitBase.bind(this));
+ cc.game.onPostSubsystemInitDelegate.add(this.onPostSystemInit.bind(this));
+ onPostInitBase() {
+ // cc.settings.overrideSettings('assets', 'server', '');
+ // do custom logic
+ onPostSystemInit() {
+ start() {
+ return cc.game.init({
+ debugMode: false ? cc.DebugMode.INFO : cc.DebugMode.ERROR,
+ settingsPath: this.settingsPath,
+ overrideSettings: {
+ // assets: {
+ // preloadBundles: [{ bundle: 'main', version: 'xxx' }],
+ // }
+ profiling: {
+ showFPS: this.showFPS
+ }).then(() => cc.game.run());
+ });
+ };
+});
@@ -0,0 +1 @@
+[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]
+[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":82,"h":984},-1],[0],0,[],[],[]]
+[1,0,0,[["cc.JsonAsset",["_name","json"],1]],[[0,0,1,3]],[[0,"Language",{"role_level_up":{"zh":"升级","en":"Upgrade"},"role_attack":{"zh":"攻击","en":"Attack"}}]],0,0,[],[],[]]
+[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":125,"h":660},-1],[0],0,[],[],[]]
+[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":501,"h":661},-1],[0],0,[],[],[]]