Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Gzh0821 committed Jul 5, 2024
0 parents commit d9a6daf
Show file tree
Hide file tree
Showing 1,533 changed files with 1,082 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.vscode
63 changes: 63 additions & 0 deletions application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
System.register([], function (_export, _context) {
"use strict";

var cc, Application;

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }

return {
setters: [],
execute: function () {
_export("Application", Application = /*#__PURE__*/function () {
function Application() {
_classCallCheck(this, Application);

this.settingsPath = 'src/settings.json';
this.showFPS = false;
}

_createClass(Application, [{
key: "init",
value: function init(engine) {
cc = engine;
cc.game.onPostBaseInitDelegate.add(this.onPostInitBase.bind(this));
cc.game.onPostSubsystemInitDelegate.add(this.onPostSystemInit.bind(this));
}
}, {
key: "onPostInitBase",
value: function onPostInitBase() {// cc.settings.overrideSettings('assets', 'server', '');
// do custom logic
}
}, {
key: "onPostSystemInit",
value: function onPostSystemInit() {// do custom logic
}
}, {
key: "start",
value: function 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(function () {
return cc.game.run();
});
}
}]);

return Application;
}());
}
};
});
1 change: 1 addition & 0 deletions assets/internal/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"importBase":"import","nativeBase":"native","name":"internal","deps":[],"uuids":["0ca60d3e4","1cAq5vRJJJFbj4dJKjseTN","509DSLyINOL48RziM7hZ+h","609xlc7CpF67qUiVX2DoHQ","81Dpbk5FZEaJtZ9OjzlzLA","87HDtsc3lBnb2jeUsjmrkN","8bvbzdXNRBALbVt8liW2EH","97CwWYvLBHFJH7LoFEDczY","a3zQCfCrBCDZJ4uf2rk5u8","b51hFfA3BNfKrTwZTMcc+Y","bc1kzGLdlD9qu+ZjGNMyAy","c2chXYaDVLaL+7verGEAwE","d9MFkNu5JMyIvRI80Cf57f","ddOhRNq39B8IK4LkOgkNSW","e9qpo+WytKx6LHBz3isrJP","ef6OKj6s5Ce7Txy4qTfsd9","f0QW5oAgBLd6kmT50W5JTa","f9KAbXF2hEP6/oErzehNDw","fdoJXLgx1GAa2UhGATlj3o"],"paths":{"1":["db:/internal/effects/internal/builtin-graphics",0],"2":["db:/internal/default_materials/ui-alpha-test-material",1],"3":["db:/internal/effects/for2d/builtin-sprite",0],"4":["db:/internal/effects/internal/builtin-clear-stencil",0],"5":["db:/internal/effects/util/profiler",0],"6":["db:/internal/default_materials/default-clear-stencil",1],"7":["db:/internal/effects/util/splash-screen",0],"8":["db:/internal/effects/builtin-unlit",0],"9":["db:/internal/default_materials/default-spine-material",1],"10":["db:/internal/default_materials/missing-effect-material",1],"11":["db:/internal/effects/for2d/builtin-spine",0],"12":["db:/internal/default_materials/missing-material",1],"13":["db:/internal/default_materials/ui-sprite-gray-alpha-sep-material",1],"14":["db:/internal/default_materials/ui-base-material",1],"15":["db:/internal/default_materials/ui-sprite-gray-material",1],"16":["db:/internal/default_materials/ui-graphics-material",1],"17":["db:/internal/default_materials/ui-sprite-alpha-sep-material",1],"18":["db:/internal/default_materials/ui-sprite-material",1]},"scenes":{},"packs":{"0ca60d3e4":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18"]},"versions":{"import":[],"native":[]},"redirect":[],"debug":false,"extensionMap":{},"hasPreloadScript":true,"dependencyRelationships":{"2":["3"],"6":["4"],"9":["11"],"10":["8"],"12":["8"],"13":["3"],"14":["3"],"15":["3"],"16":["1"],"17":["3"],"18":["3"]},"types":["cc.EffectAsset","cc.Material"]}
1 change: 1 addition & 0 deletions assets/internal/import/0c/0ca60d3e4.json

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions assets/internal/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
System.register("chunks:///_virtual/internal",[],(function(){return{execute:function(){}}}));

(function(r) {
r('virtual:///prerequisite-imports/internal', 'chunks:///_virtual/internal');
})(function(mid, cid) {
System.register(mid, [cid], function (_export, _context) {
return {
setters: [function(_m) {
var _exportObj = {};

for (var _key in _m) {
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _m[_key];
}

_export(_exportObj);
}],
execute: function () { }
};
});
});
1 change: 1 addition & 0 deletions assets/main/config.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]
1 change: 1 addition & 0 deletions assets/main/import/01/0169fdab8.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/main/import/01/0184838e9.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/main/import/01/01eea88ce.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[1,["11eea88ce@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[[[{"name":"SPL15","rect":{"x":3,"y":3,"width":2048,"height":1536},"offset":{"x":0,"y":0},"originalSize":{"width":2048,"height":1536},"rotated":false,"capInsets":[0,0,0,0],"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]],[[{"name":"SPL17","rect":{"x":2057,"y":3,"width":2048,"height":1536},"offset":{"x":0,"y":0},"originalSize":{"width":2048,"height":1536},"rotated":true,"capInsets":[0,0,0,0],"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]],[[{"name":"SPL9","rect":{"x":3,"y":1545,"width":2048,"height":1536},"offset":{"x":0,"y":0},"originalSize":{"width":2048,"height":1536},"rotated":true,"capInsets":[0,0,0,0],"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]],[[{"name":"SPL14","rect":{"x":1545,"y":2057,"width":2048,"height":1536},"offset":{"x":0,"y":0},"originalSize":{"width":2048,"height":1536},"rotated":false,"capInsets":[0,0,0,0],"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]]]
Loading

0 comments on commit d9a6daf

Please sign in to comment.