no message

This commit is contained in:
gem
2025-02-17 15:56:00 +08:00
parent 0466c439dc
commit 2bf1721fd4
65 changed files with 10939 additions and 1 deletions

View File

@@ -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() {
// do custom logic
}
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());
}
});
}
};
});

View File

@@ -0,0 +1,4 @@
System.register([], function(_export, _context) { return { execute: function () {
System.register("chunks:///_virtual/rollupPluginModLoBabelHelpers.js",[],(function(e){return{execute:function(){e({applyDecoratedDescriptor:function(e,i,r,n,l){var t={};Object.keys(n).forEach((function(e){t[e]=n[e]})),t.enumerable=!!t.enumerable,t.configurable=!!t.configurable,("value"in t||t.initializer)&&(t.writable=!0);t=r.slice().reverse().reduce((function(r,n){return n(e,i,r)||r}),t),l&&void 0!==t.initializer&&(t.value=t.initializer?t.initializer.call(l):void 0,t.initializer=void 0);void 0===t.initializer&&(Object.defineProperty(e,i,t),t=null);return t},initializerDefineProperty:function(e,i,r,n){if(!r)return;Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}})}}}));
} }; });

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
System.register([],(function(t){"use strict";return{execute:function(){t("default",(function(){}))}}}));

View File

@@ -0,0 +1 @@
System.register([],(function(e){"use strict";return{execute:function(){e("default","")}}}));

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"imports":{"cc":"./cocos-js/cc.js"}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long