mirror of
https://github.com/tiennm99/nntv.git
synced 2026-10-14 08:18:33 +00:00
[Init]
This commit is contained in:
1 parent
810e66f06d
commit
8a703f6022
18 files changed
+380
No files matched your search
@@ -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;
|
||||
}());
|
||||
}
|
||||
};
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
{"importBase":"import","nativeBase":"native","name":"internal","deps":[],"uuids":["0846c28f0","1cAq5vRJJJFbj4dJKjseTN","509DSLyINOL48RziM7hZ+h","609xlc7CpF67qUiVX2DoHQ","81Dpbk5FZEaJtZ9OjzlzLA","87HDtsc3lBnb2jeUsjmrkN","8bvbzdXNRBALbVt8liW2EH","93Yf2QulJPhKqTboeP1XbK","97CwWYvLBHFJH7LoFEDczY","a3zQCfCrBCDZJ4uf2rk5u8","b51hFfA3BNfKrTwZTMcc+Y","bc1kzGLdlD9qu+ZjGNMyAy","c2chXYaDVLaL+7verGEAwE","d9MFkNu5JMyIvRI80Cf57f","ddOhRNq39B8IK4LkOgkNSW","e9qpo+WytKx6LHBz3isrJP","ef6OKj6s5Ce7Txy4qTfsd9","f0QW5oAgBLd6kmT50W5JTa","f9KAbXF2hEP6/oErzehNDw","fdoJXLgx1GAa2UhGATlj3o","ffm+GQIKROSLaMduPHz/CF"],"paths":{"1":["db:/internal/effects/builtin-graphics",0],"2":["db:/internal/default_materials/ui-alpha-test-material",1],"3":["db:/internal/effects/builtin-sprite",0],"4":["db:/internal/effects/builtin-clear-stencil",0],"5":["db:/internal/effects/util/profiler",0],"6":["db:/internal/default_materials/default-clear-stencil",1],"7":["db:/internal/effects/pipeline/planar-shadow",0],"8":["db:/internal/effects/util/splash-screen",0],"9":["db:/internal/effects/builtin-unlit",0],"10":["db:/internal/default_materials/default-spine-material",1],"11":["db:/internal/default_materials/missing-effect-material",1],"12":["db:/internal/effects/builtin-spine",0],"13":["db:/internal/default_materials/missing-material",1],"14":["db:/internal/default_materials/ui-sprite-gray-alpha-sep-material",1],"15":["db:/internal/default_materials/ui-base-material",1],"16":["db:/internal/default_materials/ui-sprite-gray-material",1],"17":["db:/internal/default_materials/ui-graphics-material",1],"18":["db:/internal/default_materials/ui-sprite-alpha-sep-material",1],"19":["db:/internal/default_materials/ui-sprite-material",1],"20":["db:/internal/effects/builtin-debug-renderer",0]},"scenes":{},"packs":{"0846c28f0":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20"]},"versions":{"import":[],"native":[]},"redirect":[],"debug":false,"extensionMap":{},"types":["cc.EffectAsset","cc.Material"]}
|
||||
@@ -0,0 +1 @@
|
||||
[1,["609xlc7CpF67qUiVX2DoHQ","a3zQCfCrBCDZJ4uf2rk5u8","81Dpbk5FZEaJtZ9OjzlzLA","c2chXYaDVLaL+7verGEAwE","1cAq5vRJJJFbj4dJKjseTN"],["_effectAsset"],[["cc.EffectAsset",["_name","shaders","techniques","combinations"],-1],["cc.Material",["_name","_props","_states","_defines"],-1],["cc.Material",["_name","_states","_defines","_props"],0,12]],[[1,0,1,2,3,5],[0,0,1,2,4],[0,0,3,1,2,5],[2,0,1,2,3,4]],[[[[1,"builtin-graphics",[{"hash":3387382926,"name":"builtin-graphics|vs:vert|fs:frag","blocks":[],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[],"attributes":[{"name":"a_position","format":32,"location":0,"defines":[]},{"name":"a_color","format":44,"location":1,"defines":[]},{"name":"a_dist","format":11,"location":2,"defines":[]}],"fragColors":[{"name":"cc_FragColor","typename":"vec4","type":16,"count":1,"stageFlags":16,"location":0,"defines":[]}],"glsl3":{"vert":"\nprecision highp float;\nlayout(std140) uniform CCGlobal {\n highp vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_nativeSize;\n mediump vec4 cc_debug_view_mode;\n mediump vec4 cc_debug_view_composite_pack_1;\n mediump vec4 cc_debug_view_composite_pack_2;\n mediump vec4 cc_debug_view_composite_pack_3;\n};\nlayout(std140) uniform CCCamera {\n highp mat4 cc_matView;\n highp mat4 cc_matViewInv;\n highp mat4 cc_matProj;\n highp mat4 cc_matProjInv;\n highp mat4 cc_matViewProj;\n highp mat4 cc_matViewProjInv;\n highp vec4 cc_cameraPos;\n mediump vec4 cc_surfaceTransform;\n mediump vec4 cc_screenScale;\n mediump vec4 cc_exposure;\n mediump vec4 cc_mainLitDir;\n mediump vec4 cc_mainLitColor;\n mediump vec4 cc_ambientSky;\n mediump vec4 cc_ambientGround;\n mediump vec4 cc_fogColor;\n mediump vec4 cc_fogBase;\n mediump vec4 cc_fogAdd;\n mediump vec4 cc_nearFar;\n mediump vec4 cc_viewPort;\n};\nlayout(std140) uniform CCLocal {\n highp mat4 cc_matWorld;\n highp mat4 cc_matWorldIT;\n highp vec4 cc_lightingMapUVParam;\n highp vec4 cc_localShadowBias;\n};\nin vec3 a_position;\nin vec4 a_color;\nout vec4 v_color;\nin float a_dist;\nout float v_dist;\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n pos = cc_matViewProj * cc_matWorld * pos;\n v_color = a_color;\n v_dist = a_dist;\n return pos;\n}\nvoid main() { gl_Position = vert(); }","frag":"\nprecision highp float;\nin vec4 v_color;\nin float v_dist;\nvec4 frag () {\n vec4 o = v_color;\n float aa = fwidth(v_dist);\n float alpha = 1. - smoothstep(-aa, 0., abs(v_dist) - 1.0);\n o.rgb *= o.a;\n o *= alpha;\n return o;\n}\nlayout(location = 0) out vec4 cc_FragColor;\nvoid main() { cc_FragColor = frag(); }"},"glsl1":{"vert":"\nprecision highp float;\nuniform highp mat4 cc_matViewProj;\nuniform highp mat4 cc_matWorld;\nattribute vec3 a_position;\nattribute vec4 a_color;\nvarying vec4 v_color;\nattribute float a_dist;\nvarying float v_dist;\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n pos = cc_matViewProj * cc_matWorld * pos;\n v_color = a_color;\n v_dist = a_dist;\n return pos;\n}\nvoid main() { gl_Position = vert(); }","frag":"\n#ifdef GL_OES_standard_derivatives\n#extension GL_OES_standard_derivatives: enable\n#endif\nprecision highp float;\nvarying vec4 v_color;\nvarying float v_dist;\nvec4 frag () {\n vec4 o = v_color;\n #ifdef GL_OES_standard_derivatives\n float aa = fwidth(v_dist);\n #else\n float aa = 0.05;\n #endif\n float alpha = 1. - smoothstep(-aa, 0., abs(v_dist) - 1.0);\n o.rgb *= o.a;\n o *= alpha;\n return o;\n}\nvoid main() { gl_FragColor = frag(); }"},"builtins":{"globals":{"blocks":[{"name":"CCGlobal","defines":[]},{"name":"CCCamera","defines":[]}],"samplerTextures":[],"buffers":[],"images":[]},"locals":{"blocks":[{"name":"CCLocal","defines":[]}],"samplerTextures":[],"buffers":[],"images":[]},"statistics":{"CC_EFFECT_USED_VERTEX_UNIFORM_VECTORS":54,"CC_EFFECT_USED_FRAGMENT_UNIFORM_VECTORS":0}},"defines":[]}],[{"passes":[{"program":"builtin-graphics|vs:vert|fs:frag","blendState":{"targets":[{"blend":true,"blendSrc":1,"blendDst":4,"blendSrcAlpha":1,"blendDstAlpha":4}]},"rasterizerState":{"cullMode":0},"depthStencilState":{"depthTest":false,"depthWrite":false}}]}]]],0,0,[],[],[]],[[[0,"ui-alpha-test-material",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_ALPHA_TEST":true,"USE_TEXTURE":true,"IS_GRAY":false,"CC_USE_EMBEDDED_ALPHA":false}]]],0,0,[0],[0],[0]],[[[2,"builtin-sprite",[{}],[{"hash":2489457887,"name":"builtin-sprite|sprite-vs:vert|sprite-fs:frag","blocks":[{"name":"ALPHA_TEST_DATA","stageFlags":16,"binding":0,"members":[{"name":"alphaThreshold","type":13,"count":1}],"defines":["USE_ALPHA_TEST"]}],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[],"attributes":[{"name":"a_position","format":32,"location":0,"defines":[]},{"name":"a_texCoord","format":21,"location":1,"defines":[]},{"name":"a_color","format":44,"location":2,"defines":[]}],"fragColors":[{"name":"cc_FragCLine truncated
|
||||
@@ -0,0 +1,20 @@
|
||||
System.register("chunks:///_virtual/internal",[],(function(){"use strict";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 () { }
|
||||
};
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
{"importBase":"import","nativeBase":"native","name":"main","deps":[],"uuids":["0a5581a1e","44m3FLs79P3JMW9xJc2LOC","fdjsU2o1RKF5x0TziDw3jI","24xBnqY6hOoanQf8RpSJu8","24xBnqY6hOoanQf8RpSJu8@6c48a","24xBnqY6hOoanQf8RpSJu8@f9941","868l1cneVFT6X57hZgPmcB"],"paths":{"2":["db:/internal/default_renderpipeline/builtin-forward",0]},"scenes":{"db://assets/scene.scene":1},"packs":{"0a5581a1e":["3","4","5","1","6","2"]},"versions":{"import":[],"native":[]},"redirect":[],"debug":false,"extensionMap":{},"types":["cc.RenderPipeline"]}
|
||||
@@ -0,0 +1 @@
|
||||
[1,["24xBnqY6hOoanQf8RpSJu8@f9941","868l1cneVFT6X57hZgPmcB","24xBnqY6hOoanQf8RpSJu8@6c48a"],["node","_file","_spriteFrame","_textureSource","_cameraComponent","scene","_parent","spriteFrame"],[["cc.Node",["_name","_layer","_id","_components","_lpos","_children","_parent"],0,9,5,2,1],["cc.UITransform",["node","_contentSize"],3,1,5],["RenderQueueDesc",["stages","isTransparent","sortMode"],0],"cc.ImageAsset","cc.Texture2D","cc.SpriteFrame",["cc.SceneAsset",["_name"],2],["cc.Node",["_name","_parent","_components","_lpos"],2,1,2,5],["cc.Canvas",["node","_cameraComponent"],3,1,1],["cc.Widget",["_alignFlags","_top","_bottom","node"],0,1],["cc.ParticleSystem2D",["_name","_dstBlendFactor","emissionRate","life","lifeVar","angle","angleVar","startSize","startSizeVar","endSize","startSpin","endSpin","endSpinVar","speed","speedVar","tangentialAccel","tangentialAccelVar","radialAccel","radialAccelVar","startRadius","_totalParticles","node","posVar","gravity","_startColor","_startColorVar","_endColor","_endColorVar","_file","_spriteFrame"],-18,1,5,5,5,5,5,5,6,6],["ae2d8iSk19Mu4qQwL5kOtqc",["node"],3,1],["3e0d2uf/TxIpKJeFhE5QIxr",["node"],3,1],["6eb33CO51xA4LUUt2PhhO/z",["node"],3,1],["ad47d0CVWhJJbEdVhc/5bKj",["node"],3,1],["cc.Scene",["_name","_children","_globals"],2,2,4],["cc.SceneGlobals",["ambient","shadows","_skybox","fog","octree"],3,4,4,4,4,4],["cc.AmbientInfo",["_skyColorHDR","_groundAlbedoHDR"],3,5,5],["cc.ShadowsInfo",["_shadowColor","_size"],3,5,5],["cc.SkyboxInfo",[],3],["cc.FogInfo",[],3],["cc.OctreeInfo",[],3],["cc.Camera",["_projection","_priority","_orthoHeight","_near","_far","_visibility","node","_color"],-3,1,5],["cc.ParticleAsset",["_name","_native"],1],["ForwardPipeline",["_flows"],3,9],["ShadowFlow",["_name","_stages"],2,9],["ShadowStage",["_name"],2],["ForwardFlow",["_name","_priority","_stages"],1,9],["ForwardStage",["_name","renderQueues"],2,9]],[[0,0,1,6,3,4,3],[1,0,1],[10,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,22],[6,0,2],[0,0,1,2,5,3,4,4],[7,0,1,2,3,2],[1,0,1,1],[8,0,1,1],[9,0,1,2,3,4],[11,0,1],[12,0,1],[13,0,1],[14,0,1],[15,0,1,2,2],[16,0,1,2,3,4,1],[17,0,1,1],[18,0,1,1],[19,1],[20,1],[21,1],[22,0,1,2,3,4,5,6,7,7],[23,0,1,3],[24,0,1],[25,0,1,2],[26,0,2],[27,0,1,2,3],[28,0,1,2],[2,0,2],[2,1,2,0,4]],[[[{"fmt":"0","w":0,"h":0},-1],[3],0,[],[],[]],[[{"base":"2,2,2,2,0,0","mipmaps":["24xBnqY6hOoanQf8RpSJu8"]}],[4],0,[],[],[]],[[{"name":"atom","rect":{"x":0,"y":0,"width":31,"height":31},"offset":{"x":0,"y":0},"originalSize":{"width":31,"height":31},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-15.5,-15.5,0,15.5,-15.5,0,-15.5,15.5,0,15.5,15.5,0],"indexes":[0,1,2,2,1,3],"uv":[0,31,31,31,0,0,31,0],"nuv":[0,0,1,0,0,1,1,1],"minPos":{"x":-15.5,"y":-15.5,"z":0},"maxPos":{"x":15.5,"y":15.5,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[5],0,[0],[3],[2]],[[[3,"scene"],[4,"Canvas",33554432,"beI88Z2HpFELqR4T5EMHpg",[-5,-6,-7,-8,-9],[[6,-1,[5,960,640]],[7,-3,-2],[8,45,5.684341886080802e-14,5.684341886080802e-14,-4]],[1,480,320.00000000000006,0]],[0,"Heart",33554432,1,[[1,-10],[2,"Node<ParticleSystem2D>",1,999.999985098839,0.20000000298023224,0.5,360,360,3.369999885559082,50,30.31999969482422,-47.369998931884766,-47.369998931884766,-142.11000061035156,0,190.7899932861328,-92.11000061035156,65.79000091552734,-671.0499877929688,65.79000091552734,100,200,-11,[0,7,7],[0,0.25,0.8600000143051147],[4,2740373706],[4,3333292005],[4,3591610797],[4,3170498923],0,1],[9,-12]],[1,0,0,-1]],[0,"T",33554432,1,[[1,-13],[2,"Node<ParticleSystem2D>",1,999.999985098839,0.20000000298023224,0.5,360,360,3.369999885559082,50,30.31999969482422,-47.369998931884766,-47.369998931884766,-142.11000061035156,0,190.7899932861328,-92.11000061035156,65.79000091552734,-671.0499877929688,65.79000091552734,100,200,-14,[0,7,7],[0,0.25,0.8600000143051147],[4,2740373706],[4,3333292005],[4,3591610797],[4,3170498923],2,3],[10,-15]],[1,0,0,-1]],[0,"V",33554432,1,[[1,-16],[2,"Node<ParticleSystem2D>",1,999.999985098839,0.20000000298023224,0.5,360,360,3.369999885559082,50,30.31999969482422,-47.369998931884766,-47.369998931884766,-142.11000061035156,0,190.7899932861328,-92.11000061035156,65.79000091552734,-671.0499877929688,65.79000091552734,100,200,-17,[0,7,7],[0,0.25,0.8600000143051147],[4,2740373706],[4,3333292005],[4,3591610797],[4,3170498923],4,5],[11,-18]],[1,0,0,-1]],[0,"Split",33554432,1,[[1,-19],[2,"Node<ParticleSystem2D>",1,999.999985098839,0.20000000298023224,0.5,360,360,3.369999885559082,50,30.31999969482422,-47.369998931884766,-47.369998931884766,-142.11000061035156,0,190.7899932861328,-92.11000061035156,65.79000091552734,-671.0499877929688,65.79000091552734,100,200,-20,[0,7,7],[0,0.25,0.8600000143051147],[4,2740373706],[4,3333292005],[4,3591610797],[4,3170498923],6,7],[12,-21]],[1,0,0,-1]],[13,"scene-2d",[1],[14,[15,[2,0,0,0,0.520833125],[2,0,0,0,0]],[16,[4,4283190348],[0,512,512]],[17],[18],[19]]],[5,"Camera",1,[-22],[1,0,0,1000]],[20,0,107374182Line truncated
|
||||
@@ -0,0 +1,30 @@
|
||||
System.register("chunks:///_virtual/BasePartical.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var e,c,r,n,a;return{setters:[function(t){e=t.inheritsLoose},function(t){c=t.cclegacy,r=t._decorator,n=t.Vec3,a=t.Component}],execute:function(){var i;c._RF.push({},"a78fatwjGhKPoEZcmW+t1Vb","BasePartical",void 0);var o=r.ccclass;r.property,t("BasePartical",o("BasePartical")(i=function(t){function c(){for(var e,c=arguments.length,r=new Array(c),n=0;n<c;n++)r[n]=arguments[n];return(e=t.call.apply(t,[this].concat(r))||this).time=0,e}e(c,t);var r=c.prototype;return r.start=function(){},r.calcPosAt=function(t){return new n(0,0,0)},r.update=function(t){this.time+=t,this.node.position=this.calcPosAt(this.time)},c}(a))||i);c._RF.pop()}}}));
|
||||
|
||||
System.register("chunks:///_virtual/Heart.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePartical.ts"],(function(t){"use strict";var e,o,c,r,n;return{setters:[function(t){e=t.inheritsLoose},function(t){o=t.cclegacy,c=t._decorator,r=t.Vec3},function(t){n=t.BasePartical}],execute:function(){var s;o._RF.push({},"ae2d8iSk19Mu4qQwL5kOtqc","Heart",void 0);var a=c.ccclass;c.property,t("Heart",a("Heart")(s=function(t){function o(){for(var e,o=arguments.length,c=new Array(o),r=0;r<o;r++)c[r]=arguments[r];return(e=t.call.apply(t,[this].concat(c))||this).size=12,e.speed=12,e}e(o,t);var c=o.prototype;return c.start=function(){console.log("Không biết lập trình web, chỉ biết lập trình game"),console.log("Không thể yêu ai khác, bởi đã trót yêu em"),console.log("T <3 V"),console.log("Source: https://github.com/tiennm99/hurt/")},c.calcPosAt=function(t){var e=t*this.speed,o=16*Math.pow(Math.sin(e),3),c=13*Math.cos(e)-5*Math.cos(2*e)-2*Math.cos(3*e)-Math.cos(4*e);return new r(o*this.size,c*this.size,0)},o}(n))||s);o._RF.pop()}}}));
|
||||
|
||||
System.register("chunks:///_virtual/main",["./BasePartical.ts","./Heart.ts","./Split.ts","./T.ts","./V.ts"],(function(){"use strict";return{setters:[null,null,null,null,null],execute:function(){}}}));
|
||||
|
||||
System.register("chunks:///_virtual/Split.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePartical.ts"],(function(t){"use strict";var e,i,r,s,c;return{setters:[function(t){e=t.inheritsLoose},function(t){i=t.cclegacy,r=t._decorator,s=t.Vec3},function(t){c=t.BasePartical}],execute:function(){var n;i._RF.push({},"ad47d0CVWhJJbEdVhc/5bKj","Split",void 0);var a=r.ccclass;r.property,t("Split",a("Split")(n=function(t){function i(){for(var e,i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return(e=t.call.apply(t,[this].concat(r))||this).size=70,e.speed=6,e.deltaX=0,e.deltaY=-30,e}return e(i,t),i.prototype.calcPosAt=function(t){var e,i,r=t*this.speed%5;return r<1?(e=-r/2,i=2-r):r<2?(e=-.5+(r-=1),i=1):r<3?(e=.5-(r-=2),i=1-2*r):r<4?(e=-.5+(r-=3),i=-1):(e=(1-(r-=4))/2,i=-1-r),new s(e*this.size+this.deltaX,i*this.size+this.deltaY,0)},i}(c))||n);i._RF.pop()}}}));
|
||||
|
||||
System.register("chunks:///_virtual/T.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePartical.ts"],(function(t){"use strict";var i,e,r,s,a;return{setters:[function(t){i=t.inheritsLoose},function(t){e=t.cclegacy,r=t._decorator,s=t.Vec3},function(t){a=t.BasePartical}],execute:function(){var n;e._RF.push({},"3e0d2uf/TxIpKJeFhE5QIxr","T",void 0);var c=r.ccclass;r.property,t("T",c("T")(n=function(t){function e(){for(var i,e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];return(i=t.call.apply(t,[this].concat(r))||this).size=100,i.speed=12,i.horizontalWeight=1,i.verticalWeight=1,i.verticalOrigin=1,i.deltaX=-100,i.deltaY=-10,i}return i(e,t),e.prototype.calcPosAt=function(t){var i,e,r=t*this.speed%(this.horizontalWeight+this.verticalWeight);return r<this.horizontalWeight?(i=r-this.horizontalWeight/2,e=this.verticalOrigin):(i=0,e=this.verticalOrigin-(r-this.horizontalWeight)),new s(i*this.size+this.deltaX,e*this.size+this.deltaY,0)},e}(a))||n);e._RF.pop()}}}));
|
||||
|
||||
System.register("chunks:///_virtual/V.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePartical.ts"],(function(t){"use strict";var e,a,r,s,n;return{setters:[function(t){e=t.inheritsLoose},function(t){a=t.cclegacy,r=t._decorator,s=t.Vec3},function(t){n=t.BasePartical}],execute:function(){var c;a._RF.push({},"6eb33CO51xA4LUUt2PhhO/z","V",void 0);var i=r.ccclass;r.property,t("V",i("V")(c=function(t){function a(){for(var e,a=arguments.length,r=new Array(a),s=0;s<a;s++)r[s]=arguments[s];return(e=t.call.apply(t,[this].concat(r))||this).size=60,e.speed=12,e.alphaInDegree=60,e.alpha=e.alphaInDegree/2*Math.PI/180,e.deltaX=100,e.deltaY=-10,e}return e(a,t),a.prototype.calcPosAt=function(t){var e=t*this.speed%2,a=Math.abs(e-1),r=a/Math.tan(this.alpha);return e<1&&(a*=-1),new s(a*this.size+this.deltaX,r*this.size+this.deltaY,0)},a}(n))||c);a._RF.pop()}}}));
|
||||
|
||||
(function(r) {
|
||||
r('virtual:///prerequisite-imports/main', 'chunks:///_virtual/main');
|
||||
})(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 () { }
|
||||
};
|
||||
});
|
||||
});
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>angle</key>
|
||||
<integer>360</integer>
|
||||
<key>angleVariance</key>
|
||||
<integer>360</integer>
|
||||
<key>blendFuncDestination</key>
|
||||
<integer>1</integer>
|
||||
<key>blendFuncSource</key>
|
||||
<integer>2</integer>
|
||||
<key>duration</key>
|
||||
<integer>-1</integer>
|
||||
<key>emitterType</key>
|
||||
<integer>0</integer>
|
||||
<key>finishColorAlpha</key>
|
||||
<real>0.8399999737739563</real>
|
||||
<key>finishColorBlue</key>
|
||||
<real>0.0771484375</real>
|
||||
<key>finishColorGreen</key>
|
||||
<real>0.6349284052848816</real>
|
||||
<key>finishColorRed</key>
|
||||
<real>0.6808268427848816</real>
|
||||
<key>finishColorVarianceAlpha</key>
|
||||
<real>0.7400000095367432</real>
|
||||
<key>finishColorVarianceBlue</key>
|
||||
<real>0.9800000190734863</real>
|
||||
<key>finishColorVarianceGreen</key>
|
||||
<real>0.9800000190734863</real>
|
||||
<key>finishColorVarianceRed</key>
|
||||
<real>0.41999998688697815</real>
|
||||
<key>finishParticleSize</key>
|
||||
<real>30.31999969482422</real>
|
||||
<key>finishParticleSizeVariance</key>
|
||||
<integer>0</integer>
|
||||
<key>gravityx</key>
|
||||
<real>0.25</real>
|
||||
<key>gravityy</key>
|
||||
<real>0.8600000143051147</real>
|
||||
<key>maxParticles</key>
|
||||
<integer>200</integer>
|
||||
<key>maxRadius</key>
|
||||
<integer>100</integer>
|
||||
<key>maxRadiusVariance</key>
|
||||
<integer>0</integer>
|
||||
<key>minRadius</key>
|
||||
<integer>0</integer>
|
||||
<key>particleLifespan</key>
|
||||
<real>0.20000000298023224</real>
|
||||
<key>particleLifespanVariance</key>
|
||||
<real>0.5</real>
|
||||
<key>radialAccelVariance</key>
|
||||
<real>65.79000091552734</real>
|
||||
<key>radialAcceleration</key>
|
||||
<real>-671.0499877929688</real>
|
||||
<key>rotatePerSecond</key>
|
||||
<integer>0</integer>
|
||||
<key>rotatePerSecondVariance</key>
|
||||
<integer>0</integer>
|
||||
<key>rotationEnd</key>
|
||||
<real>-47.369998931884766</real>
|
||||
<key>rotationEndVariance</key>
|
||||
<real>-142.11000061035156</real>
|
||||
<key>rotationStart</key>
|
||||
<real>-47.369998931884766</real>
|
||||
<key>rotationStartVariance</key>
|
||||
<integer>0</integer>
|
||||
<key>sourcePositionVariancex</key>
|
||||
<integer>7</integer>
|
||||
<key>sourcePositionVariancey</key>
|
||||
<integer>7</integer>
|
||||
<key>sourcePositionx</key>
|
||||
<real>373.7277526855469</real>
|
||||
<key>sourcePositiony</key>
|
||||
<real>478.40472412109375</real>
|
||||
<key>speed</key>
|
||||
<integer>0</integer>
|
||||
<key>speedVariance</key>
|
||||
<real>190.7899932861328</real>
|
||||
<key>startColorAlpha</key>
|
||||
<real>0.6399999856948853</real>
|
||||
<key>startColorBlue</key>
|
||||
<real>0.3375650942325592</real>
|
||||
<key>startColorGreen</key>
|
||||
<real>0.7879231572151184</real>
|
||||
<key>startColorRed</key>
|
||||
<real>0.794921875</real>
|
||||
<key>startColorVarianceAlpha</key>
|
||||
<real>0.7799999713897705</real>
|
||||
<key>startColorVarianceBlue</key>
|
||||
<real>0.6800000071525574</real>
|
||||
<key>startColorVarianceGreen</key>
|
||||
<integer>1</integer>
|
||||
<key>startColorVarianceRed</key>
|
||||
<real>0.8999999761581421</real>
|
||||
<key>startParticleSize</key>
|
||||
<real>3.369999885559082</real>
|
||||
<key>startParticleSizeVariance</key>
|
||||
<integer>50</integer>
|
||||
<key>tangentialAccelVariance</key>
|
||||
<real>65.79000091552734</real>
|
||||
<key>tangentialAcceleration</key>
|
||||
<real>-92.11000061035156</real>
|
||||
<key>spriteFrameUuid</key>
|
||||
<string>24c419ea-63a8-4ea1-a9d0-7fc469489bbc@f9941</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,3 @@
|
||||
System.register([],(function(t,e){"use strict";return{execute:function(){function i(t){var e,i;return e=(t>65535)<<4,e|=i=((t>>>=e)>255)<<3,e|=i=((t>>>=i)>15)<<2,(e|=i=((t>>>=i)>3)<<1)|(t>>>=i)>>1}function n(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24}function r(t){var e=32;return(t&=-t)&&e--,65535&t&&(e-=16),16711935&t&&(e-=8),252645135&t&&(e-=4),858993459&t&&(e-=2),1431655765&t&&(e-=1),e}function s(t){return--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,1+(t|=t>>>16)}t({AntiAliasing:void 0,BitMask:ce,CCClass:ui,CacheMode:void 0,DebugMode:void 0,ECollider2DType:void 0,EJoint2DType:void 0,EPhysics2DDrawFlags:void 0,ERaycast2DType:void 0,ERigidBody2DType:void 0,Enum:_e,Eventify:Pa,ExtrapolationMode:void 0,HorizontalTextAlignment:void 0,InstanceMaterialType:void 0,KeyCode:void 0,NodeEventType:void 0,NodeSpace:void 0,Overflow:void 0,Physics2DManifoldType:void 0,PhysicsGroup:void 0,PipelineEventType:void 0,QuatInterpolationMode:void 0,RealInterpolationMode:void 0,SystemEventType:void 0,TangentWeightMode:void 0,TransformBit:void 0,VerticalTextAlignment:void 0,WorldNode3DToLocalNodeUI:uB,WorldNode3DToWorldNodeUI:lB,__checkObsoleteInNamespace__:function(t){return ct||(ct="undefined"==typeof Proxy?{}:new Proxy(t,{get:function(t,e,i){return dt(e),Reflect.get(t,e,i)}})),ct},__checkObsolete__:function(t){for(var e,i=v(t);!(e=i()).done;)dt(e.value)},absMax:Oi,absMaxComponent:Mi,approx:gi,assert:V,assertID:Z,bezier:Kf,bezierByTime:fd,buildShadowPass:uL,buildShadowPasses:cL,ccenum:pe,clamp:yi,clamp01:vi,color:Gi,computeRatioByType:QQ,createDefaultPipeline:fN,debug:k,deprecateModuleExportedName:ft,deserialize:e_,earcut:DY,enumerableProps:Fi,equals:mi,error:L,errorID:q,find:Jx,fragmentText:KV,getBaselineOffset:function(){return 0},getCameraUniqueID:dL,getEnglishWordPartAtFirst:YV,getEnglishWordPartAtLast:qV,getError:Q,getLoadOpOfClearFlag:pL,getPathFromRoot:function(t,e){for(var i=t,n="";null!==i&&i!==e;)n=i.name+"/"+n,i=i.parent;return n.slice(0,-1)},getRenderArea:hL,getSerializationMetadata:function(t){return t[vu]},getWorldTransformUntilRoot:function(t,e,i){for(hn.identity(i);t!==e;)hn.fromRTS(V1,t.rotation,t.position,t.scale),hn.multiply(i,V1,i),t=t.parent;return i},instantiate:y_,inverseLerp:Pi,isDisplayStats:$,isEnglishWordPartAtFirst:function(t){return zV.test(t)},isEnglishWordPartAtLast:function(t){return UV.test(t)},isUnicodeCJK:HV,isUnicodeSpace:WV,isValid:Ea,lerp:Ai,log:F,logID:W,markAsWarning:void 0,mat4:cn,murmurhash2_32_gc:Hs,nextPow2:Ii,pingPong:Di,pseudoRandom:wi,pseudoRandomRange:xi,pseudoRandomRangeInt:Ri,quat:an,randomRange:Ei,randomRangeInt:Ci,rect:An,removeProperty:void 0,repeat:Bi,replaceProperty:void 0,safeMeasureText:XV,sampleAnimationCurve:ZQ,setDefaultLogTimes:function(t){t>0&&(ht=t)},setDisplayStats:tt,size:yn,toDegree:bi,toRadian:Si,tween:L_t,tweenUtil:V_t,v2:pn,v3:Ki,v4:Li,validPunctualLightsCulling:gL,warn:N,warnID:j});var a=new Array(256);!function(t){for(var e=0;e<256;++e){var i=e,n=e,r=7;for(i>>>=1;i;i>>>=1)n<<=1,n|=1&i,--r;t[e]=n<<r&255}}(a);var o=Object.freeze({__proto__:null,INT_BITS:32,INT_MAX:2147483647,INT_MIN:-2147483648,sign:function(t){return(t>0)-(t<0)},abs:function(t){var e=t>>31;return(t^e)-e},min:function(t,e){return e^(t^e)&-(t<e)},max:function(t,e){return t^(t^e)&-(t<e)},isPow2:function(t){return!(t&t-1||!t)},log2:i,log10:function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},popCount:n,countTrailingZeros:r,nextPow2:s,prevPow2:function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},parity:function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1},reverse:function(t){return a[255&t]<<24|a[t>>>8&255]<<16|a[t>>>16&255]<<8|a[t>>>24&255]},interleave2:function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},deinterleave2:function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},interleave3:function(t,e,i){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<2},deinterleave3:function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},nextCombination:function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>r(t)+1}});function h(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t,e,i){return e&&h(t.prototype,e),i&&h(t,i),t}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++)Line truncated
|
||||
/** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */
|
||||
var w9={};(function(){function t(t){throw t}var e=void 0,i=!0,n=this;function r(t,i){var r,s=t.split("."),a=n;!(s[0]in a)&&a.execScript&&a.execScript("var "+s[0]);for(;s.length&&(r=s.shift());)s.length||i===e?a=a[r]?a[r]:a[r]={}:a[r]=i}var s="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array;function a(t){if("string"==typeof t){var e,i,n=t.split("");for(e=0,i=n.length;e<i;e++)n[e]=(255&n[e].charCodeAt(0))>>>0;t=n}for(var r,s=1,a=0,o=t.length,h=0;0<o;){o-=r=1024<o?1024:o;do{a+=s+=t[h++]}while(--r);s%=65521,a%=65521}return(a<<16|s)>>>0}function o(e,i){this.index="number"==typeof i?i:0,this.i=0,this.buffer=e instanceof(s?Uint8Array:Array)?e:new(s?Uint8Array:Array)(32768),2*this.buffer.length<=this.index&&t(Error("invalid index")),this.buffer.length<=this.index&&this.f()}o.prototype.f=function(){var t,e=this.buffer,i=e.length,n=new(s?Uint8Array:Array)(i<<1);if(s)n.set(e);else for(t=0;t<i;++t)n[t]=e[t];return this.buffer=n},o.prototype.d=function(t,e,i){var n,r=this.buffer,s=this.index,a=this.i,o=r[s];if(i&&1<e&&(t=8<e?(f[255&t]<<24|f[t>>>8&255]<<16|f[t>>>16&255]<<8|f[t>>>24&255])>>32-e:f[t]>>8-e),8>e+a)o=o<<e|t,a+=e;else for(n=0;n<e;++n)o=o<<1|t>>e-n-1&1,8==++a&&(a=0,r[s++]=f[o],o=0,s===r.length&&(r=this.f()));r[s]=o,this.buffer=r,this.i=a,this.index=s},o.prototype.finish=function(){var t,e=this.buffer,i=this.index;return 0<this.i&&(e[i]<<=8-this.i,e[i]=f[e[i]],i++),s?t=e.subarray(0,i):(e.length=i,t=e),t};var h,u=new(s?Uint8Array:Array)(256);for(h=0;256>h;++h){for(var l=_=h,c=7,_=_>>>1;_;_>>>=1)l<<=1,l|=1&_,--c;u[h]=(l<<c&255)>>>0}var f=u;function d(t){this.buffer=new(s?Uint16Array:Array)(2*t),this.length=0}function p(t){var e,i,n,r,a,o,h,u,l,c=t.length,_=0,f=Number.POSITIVE_INFINITY;for(u=0;u<c;++u)t[u]>_&&(_=t[u]),t[u]<f&&(f=t[u]);for(e=1<<_,i=new(s?Uint32Array:Array)(e),n=1,r=0,a=2;n<=_;){for(u=0;u<c;++u)if(t[u]===n){for(o=0,h=r,l=0;l<n;++l)o=o<<1|1&h,h>>=1;for(l=o;l<e;l+=a)i[l]=n<<16|u;++r}++n,r<<=1,a<<=1}return[i,_,f]}function m(t,e){this.h=y,this.w=0,this.input=t,this.b=0,e&&(e.lazy&&(this.w=e.lazy),"number"==typeof e.compressionType&&(this.h=e.compressionType),e.outputBuffer&&(this.a=s&&e.outputBuffer instanceof Array?new Uint8Array(e.outputBuffer):e.outputBuffer),"number"==typeof e.outputIndex&&(this.b=e.outputIndex)),this.a||(this.a=new(s?Uint8Array:Array)(32768))}d.prototype.getParent=function(t){return 2*((t-2)/4|0)},d.prototype.push=function(t,e){var i,n,r,s=this.buffer;for(i=this.length,s[this.length++]=e,s[this.length++]=t;0<i&&(n=this.getParent(i),s[i]>s[n]);)r=s[i],s[i]=s[n],s[n]=r,r=s[i+1],s[i+1]=s[n+1],s[n+1]=r,i=n;return this.length},d.prototype.pop=function(){var t,e,i,n,r,s=this.buffer;for(e=s[0],t=s[1],this.length-=2,s[0]=s[this.length],s[1]=s[this.length+1],r=0;!((n=2*r+2)>=this.length)&&(n+2<this.length&&s[n+2]>s[n]&&(n+=2),s[n]>s[r]);)i=s[r],s[r]=s[n],s[n]=i,i=s[r+1],s[r+1]=s[n+1],s[n+1]=i,r=n;return{index:t,value:e,length:this.length}};var g,y=2,v={NONE:0,r:1,j:y,N:3},A=[];for(g=0;288>g;g++)switch(i){case 143>=g:A.push([g+48,8]);break;case 255>=g:A.push([g-144+400,9]);break;case 279>=g:A.push([g-256+0,7]);break;case 287>=g:A.push([g-280+192,8]);break;default:t("invalid literal: "+g)}function S(t,e){this.length=t,this.G=e}function b(){var e=T;switch(i){case 3===e:return[257,e-3,0];case 4===e:return[258,e-4,0];case 5===e:return[259,e-5,0];case 6===e:return[260,e-6,0];case 7===e:return[261,e-7,0];case 8===e:return[262,e-8,0];case 9===e:return[263,e-9,0];case 10===e:return[264,e-10,0];case 12>=e:return[265,e-11,1];case 14>=e:return[266,e-13,1];case 16>=e:return[267,e-15,1];case 18>=e:return[268,e-17,1];case 22>=e:return[269,e-19,2];case 26>=e:return[270,e-23,2];case 30>=e:return[271,e-27,2];case 34>=e:return[272,e-31,2];case 42>=e:return[273,e-35,3];case 50>=e:return[274,e-43,3];case 58>=e:return[275,e-51,3];case 66>=e:return[276,e-59,3];case 82>=e:return[277,e-67,4];case 98>=e:return[278,e-83,4];case 114>=e:return[279,e-99,4];case 130>=e:return[280,e-115,4];case 162>=e:return[281,e-131,5];case 194>=e:return[282,e-163,5];case 226>=e:return[283,e-195,5];case 257>=e:return[284,e-227,5];case 258===e:return[285,e-258,0];default:t("invalid length: "+e)}}m.prototype.n=function(){var n,r,a,h,u=this.input;switch(this.h){case 0:for(a=0,h=u.length;a<h;){var l,c,_,f=r=s?u.subarray(a,a+65535):u.slice(a,a+65535),d=(a+=r.length)===h,p=e,m=e,g=this.a,v=this.b;if(s){for(g=new Uint8Array(this.a.buffer);g.length<=v+f.length+5;)g=new Uint8Array(g.length<<1);g.set(this.a)}if(l=d?1:0,g[v++]=0|l,_=65536+~(c=f.length)&65535,g[v++]=255&c,g[v++]=c>>>8&255,g[v++]=255&_,g[v++]=_>>>8&255,s)g.set(f,v),v+=f.length,g=g.subarray(0,v);else{for(p=0,m=f.length;p<m;++p)g[v++]=f[p];g.length=v}this.b=v,this.a=g}break;case 1:var S=new o(new Uint8Array(this.a.buffer),this.b);S.d(1,1,i),S.d(1,2,i);var b,T,E,C=x(this,u);for(b=0,T=C.length;b<T;b++)if(E=C[b],o.prototype.d.apply(S,A[E]),256<E)S.d(C[++b],C[++b],i),S.d(C[++b],5),S.d(C[++b],C[++b],i);else if(256===E)break;this.a=S.finish(),Line truncated
|
||||
@@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<title>Cocos Creator | Hurt</title>
|
||||
|
||||
<!--http://www.html5rocks.com/en/mobile/mobifying/-->
|
||||
<meta name="viewport"
|
||||
content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"/>
|
||||
|
||||
<!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
|
||||
<!-- force webkit on 360 -->
|
||||
<meta name="renderer" content="webkit"/>
|
||||
<meta name="force-rendering" content="webkit"/>
|
||||
<!-- force edge on IE -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<meta name="msapplication-tap-highlight" content="no">
|
||||
|
||||
<!-- force full screen on some browser -->
|
||||
<meta name="full-screen" content="yes"/>
|
||||
<meta name="x5-fullscreen" content="true"/>
|
||||
<meta name="360-fullscreen" content="true"/>
|
||||
|
||||
<!--fix fireball/issues/3568 -->
|
||||
<!--<meta name="browsermode" content="application">-->
|
||||
<meta name="x5-page-mode" content="app">
|
||||
|
||||
<!--<link rel="apple-touch-icon" href=".png" />-->
|
||||
<!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="style.css"/>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="GameDiv" cc_exact_fit_screen="true">
|
||||
<div id="Cocos3dGameContainer">
|
||||
<canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="99"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Polyfills bundle. -->
|
||||
<script src="src/polyfills.bundle.js" charset="utf-8"> </script>
|
||||
|
||||
<!-- SystemJS support. -->
|
||||
<script src="src/system.bundle.js" charset="utf-8"> </script>
|
||||
|
||||
<!-- Import map -->
|
||||
<script src="src/import-map.json" type="systemjs-importmap" charset="utf-8"> </script>
|
||||
|
||||
<script>
|
||||
System.import('./index.js').catch(function(err) { console.error(err); })
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,30 @@
|
||||
System.register(["./application.js"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var Application, canvas, $p, bcr, application;
|
||||
|
||||
function topLevelImport(url) {
|
||||
return System["import"](url);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_applicationJs) {
|
||||
Application = _applicationJs.Application;
|
||||
}],
|
||||
execute: function () {
|
||||
canvas = document.getElementById('GameCanvas');
|
||||
$p = canvas.parentElement;
|
||||
bcr = $p.getBoundingClientRect();
|
||||
canvas.width = bcr.width;
|
||||
canvas.height = bcr.height;
|
||||
application = new Application();
|
||||
topLevelImport('cc').then(function (engine) {
|
||||
return application.init(engine);
|
||||
}).then(function () {
|
||||
return application.start();
|
||||
})["catch"](function (err) {
|
||||
console.error(err);
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
System.register([], function(_export, _context) { return { execute: function () {
|
||||
System.register("chunks:///_virtual/rollupPluginModLoBabelHelpers.js",[],(function(t){"use strict";return{execute:function(){function e(o,r){return(e=t("setPrototypeOf",Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t}))(o,r)}t({inheritsLoose:function(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,e(t,o)},setPrototypeOf:e})}}}));
|
||||
|
||||
} }; });
|
||||
@@ -0,0 +1 @@
|
||||
{"imports":{"cc":"./../cocos-js/cc.js"}}
|
||||
@@ -0,0 +1 @@
|
||||
!function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var n,r,e=(function(n){!function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=0)}([function(t,n,r){r(1),r(62),r(63),r(64),r(65),r(66),r(67),r(68),r(69),r(70),r(71),r(72),r(73),r(74),r(75),r(76),r(81),r(84),r(87),r(89),r(90),r(91),r(92),r(94),r(95),r(97),r(106),r(107),r(108),r(116),r(117),r(119),r(120),r(121),r(123),r(124),r(125),r(126),r(128),r(129),r(130),r(131),r(138),r(140),r(141),r(142),r(143),r(144),r(145),r(152),r(154),r(155),r(156),r(158),r(159),r(161),r(162),r(164),r(165),r(166),r(167),r(168),r(169),r(170),r(171),r(172),r(173),r(174),r(177),r(178),r(180),r(182),r(183),r(184),r(185),r(186),r(188),r(190),r(193),r(195),r(197),r(198),r(200),r(201),r(202),r(203),r(204),r(205),r(206),r(208),r(209),r(210),r(211),r(212),r(213),r(214),r(215),r(216),r(218),r(219),r(229),r(230),r(231),r(232),r(234),r(235),r(236),r(237),r(238),r(239),r(240),r(241),r(242),r(243),r(244),r(245),r(249),r(251),r(252),r(253),r(254),r(255),r(256),r(258),r(261),r(262),r(263),r(264),r(268),r(269),r(272),r(273),r(274),r(275),r(276),r(277),r(278),r(279),r(281),r(282),r(283),r(286),r(287),r(288),r(289),r(290),r(291),r(292),r(293),r(294),r(295),r(296),r(297),r(298),r(305),r(306),r(307),r(308),r(309),r(310),r(311),r(312),r(313),r(314),r(315),r(316),r(317),r(318),r(319),r(320),r(321),r(322),r(323),r(324),r(325),r(326),r(327),r(328),r(329),r(330),r(331),r(332),r(333),r(334),r(335),r(336),r(337),r(338),t.exports=r(340)},function(t,n,r){var e=r(2),o=r(3),i=r(34),u=r(29),a=r(5),c=r(45),f=r(46),s=r(6),l=r(15),p=r(47),h=r(14),v=r(20),d=r(48),g=r(9),y=r(13),x=r(8),b=r(49),m=r(51),S=r(36),E=r(53),w=r(43),A=r(4),O=r(19),T=r(7),M=r(18),I=r(21),j=r(28),R=r(27),_=r(31),P=r(30),N=r(54),F=r(55),k=r(56),C=r(57),U=r(25),D=r(58).forEach,L=R("hidden"),z=N("toPrimitive"),W=U.set,B=U.getterFor("Symbol"),Y=Object.prototype,V=o.Symbol,$=i("JSON","stringify"),G=A.f,X=O.f,q=E.f,K=T.f,J=j("symbols"),Q=j("op-symbols"),H=j("string-to-symbol-registry"),Z=j("symbol-to-string-registry"),tt=j("wks"),nt=o.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,et=a&&s((function(){return 7!=b(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=G(Y,n);e&&delete Y[n],X(t,n,r),e&&t!==Y&&X(Y,n,e)}:X,ot=function(t,n){var r=J[t]=b(V.prototype);return W(r,{type:"Symbol",tag:t,description:n}),a||(r.description=n),r},it=f?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof V},ut=function(t,n,r){t===Y&&ut(Q,n,r),v(t);var e=y(n,!0);return v(r),l(J,e)?(r.enumerable?(l(t,L)&&t[L][e]&&(t[L][e]=!1),r=b(r,{enumerable:x(0,!1)})):(l(t,L)||X(t,L,x(1,{})),t[L][e]=!0),et(t,e,r)):X(t,e,r)},at=function(t,n){v(t);var r=g(n),e=m(r).concat(lt(r));return D(e,(function(n){a&&!ct.call(r,n)||ut(t,n,r[n])})),t},ct=function(t){var n=y(t,!0),r=K.call(this,n);return!(this===Y&&l(J,n)&&!l(Q,n))&&(!(r||!l(this,n)||!l(J,n)||l(this,L)&&this[L][n])||r)},ft=function(t,n){var r=g(t),e=y(n,!0);if(r!==Y||!l(J,e)||l(Q,e)){var o=G(r,e);return!o||!l(J,e)||l(r,L)&&r[L][e]||(o.enumerable=!0),o}},st=function(t){var n=q(g(t)),r=[];return D(n,(function(t){l(J,t)||l(_,t)||r.push(t)})),r},lt=function(t){var n=t===Y,r=q(n?Q:g(t)),e=[];return D(r,(function(t){!l(J,t)||n&&!l(Y,t)||e.push(J[t])})),e};c||(I((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,n=P(t),r=function(t){this===Y&&r.call(Q,t),l(this,L)&&l(this[L],n)&&(this[L][n]=!1),et(this,n,x(1,t))};return a&&rt&&et(Y,n,{configurable:!0,set:r}),ot(n,t)}).prototype,"toString",(function(){return B(this).tag})),I(V,"withoutSetter",(function(t){return ot(P(t),t)})),T.f=ct,O.f=ut,A.f=ft,S.f=E.f=st,w.f=lt,F.f=function(t){return ot(N(t),t)},a&&(X(V.prototype,"description",{configurable:!0,get:function(){return B(this).description}}),u||I(Y,"propertyIsEnumerable",ct,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),D(m(tt),(functioLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"CocosEngine":"3.6.2","engine":{"debug":false,"platform":"web-mobile","customLayers":[],"macros":{},"builtinAssets":["60f7195c-ec2a-45eb-ba94-8955f60e81d0","1c02ae6f-4492-4915-b8f8-7492a3b1e4cd","810e96e4-e456-4468-9b59-f4e8f39732c0","efe8e2a3-eace-427b-b4f1-cb8a937ec77d","e9aa9a3e-5b2b-4ac7-a2c7-073de2b2b24f","8bbdbcdd-5cd4-4100-b6d5-b7c9625b6107","50f4348b-c883-4e2f-8f11-ce233b859fa1","fda095cb-831d-4601-ad94-846013963de8","f92806d7-1768-443f-afe8-12bcde84d0f0","dd3a144d-ab7f-41f0-82b8-2e43a090d496","f0416e68-0200-4b77-a926-4f9d16e494da","ff9be190-20a4-4e48-b68c-76e3c7cff085","970b0598-bcb0-4714-91fb-2e81440dccd8","bcd64cc6-2dd9-43f6-abbe-66318d332032","d930590d-bb92-4cc8-8bd1-23cd027f9edf","a3cd009f-0ab0-420d-9278-b9fdab939bbc","9361fd90-ba52-4f84-aa93-6e878fd576ca","871c3b6c-7379-419d-bda3-794b239ab90d","c27215d8-6835-4b68-bfbb-bdeac6100c04","b5d6115f-0370-4d7c-aad3-c194cc71cf98"]},"animation":{"customJointTextureLayouts":[]},"assets":{"server":"https://hurt.pages.dev/","remoteBundles":[],"subpackages":[],"preloadBundles":[{"bundle":"main"}],"bundleVers":{},"preloadAssets":[],"projectBundles":["internal","main"]},"plugins":{"jsList":[]},"scripting":{"scriptPackages":["../src/chunks/bundle.js"]},"launch":{"launchScene":"db://assets/scene.scene"},"screen":{"exactFitScreen":true,"designResolution":{"width":960,"height":640,"policy":4},"orientation":"auto"},"physics":{"physicsEngine":"","gravity":{"x":0,"y":-10,"z":0},"allowSleep":true,"sleepThreshold":0.1,"autoSimulation":true,"fixedTimeStep":0.0166667,"maxSubSteps":1,"defaultMaterial":{"friction":0.5,"rollingFriction":0.1,"spinningFriction":0.1,"restitution":0.1}},"rendering":{"renderPipeline":""},"splashScreen":{"displayRatio":0.4,"totalTime":3000,"effect":"","clearColor":{"x":0.88,"y":0.88,"z":0.88,"w":1},"displayWatermark":true,"base64src":"data:image/png;base64,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 truncated
|
||||
@@ -0,0 +1 @@
|
||||
!function(){"use strict";function e(e,t){return(t||"")+" (SystemJS https://git.io/JvFET#"+e+")"}var t,n="undefined"!=typeof Symbol,r="undefined"!=typeof self,i="undefined"!=typeof document,o=r?self:global;if(i){var s=document.querySelector("base[href]");s&&(t=s.href)}if(!t&&"undefined"!=typeof location){var u=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==u&&(t=t.slice(0,u+1))}var c=/\\/g;function a(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(c,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var n,r=t.slice(0,t.indexOf(":")+1);if(n="/"===t[r.length+1]?"file:"!==r?(n=t.slice(r.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(r.length+("/"===t[r.length])),"/"===e[0])return t.slice(0,t.length-n.length-1)+e;for(var i=n.slice(0,n.lastIndexOf("/")+1)+e,o=[],s=-1,u=0;u<i.length;u++)-1!==s?"/"===i[u]&&(o.push(i.slice(s,u+1)),s=-1):"."===i[u]?"."!==i[u+1]||"/"!==i[u+2]&&u+2!==i.length?"/"===i[u+1]||u+1===i.length?u+=1:s=u:(o.pop(),u+=2):s=u;return-1!==s&&o.push(i.slice(s)),t.slice(0,t.length-n.length)+o.join("")}}function f(e,t){return a(e,t)||(-1!==e.indexOf(":")?e:a("./"+e,t))}function l(e,t,n,r,i){for(var o in e){var s=a(o,n)||o,u=e[o];if("string"==typeof u){var c=d(r,a(u,n)||u,i);c?t[s]=c:p("W1",o,u)}}}function h(e,t){if(t[e])return e;var n=e.length;do{var r=e.slice(0,n+1);if(r in t)return r}while(-1!==(n=e.lastIndexOf("/",n-1)))}function v(e,t){var n=h(e,t);if(n){var r=t[n];if(null===r)return;if(!(e.length>n.length&&"/"!==r[r.length-1]))return r+e.slice(n.length);p("W2",n,r)}}function p(t,n,r,i){console.warn(e(t,[r,n].join(", ")))}function d(e,t,n){for(var r=e.scopes,i=n&&h(n,r);i;){var o=v(t,r[i]);if(o)return o;i=h(i.slice(0,i.lastIndexOf("/")),r)}return v(t,e.imports)||-1!==t.indexOf(":")&&t}var m=n&&Symbol.toStringTag,g=n?Symbol():"@";function y(){this[g]={}}var S,w=y.prototype;function b(t,n,r){var i=t[g][n];if(i)return i;var o=[],s=Object.create(null);m&&Object.defineProperty(s,m,{value:"Module"});var u=Promise.resolve().then((function(){return t.instantiate(n,r)})).then((function(r){if(!r)throw Error(e(2,n));var u=r[1]((function(e,t){i.h=!0;var n=!1;if("string"==typeof e)e in s&&s[e]===t||(s[e]=t,n=!0);else{for(var r in e){t=e[r];r in s&&s[r]===t||(s[r]=t,n=!0)}e.__esModule&&(s.__esModule=e.__esModule)}if(n)for(var u=0;u<o.length;u++){var c=o[u];c&&c(s)}return t}),2===r[1].length?{import:function(e){return t.import(e,n)},meta:t.createContext(n)}:void 0);return i.e=u.execute||function(){},[r[0],u.setters||[]]}),(function(e){throw i.e=null,i.er=e,e})),c=u.then((function(e){return Promise.all(e[0].map((function(r,i){var o=e[1][i];return Promise.resolve(t.resolve(r,n)).then((function(e){var r=b(t,e,n);return Promise.resolve(r.I).then((function(){return o&&(r.i.push(o),!r.h&&r.I||o(r.n)),r}))}))}))).then((function(e){i.d=e}))}));return i=t[g][n]={id:n,i:o,n:s,I:u,L:c,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function E(e,t,n,r){if(!r[t.id])return r[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=n),Promise.all(t.d.map((function(t){return E(e,t,n,r)})))})).catch((function(e){if(t.er)throw e;throw t.e=null,e}))}w.import=function(e,t){var n=this;return Promise.resolve(n.prepareImport()).then((function(){return n.resolve(e,t)})).then((function(e){var t=b(n,e);return t.C||function(e,t){return t.C=E(e,t,t,{}).then((function(){return j(e,t,{})})).then((function(){return t.n}))}(n,t)}))},w.createContext=function(e){var t=this;return{url:e,resolve:function(n,r){return Promise.resolve(t.resolve(n,r||e))}}},w.register=function(e,t){S=[e,t]},w.getRegister=function(){var e=S;return S=void 0,e};var O=Object.freeze(Object.create(null)),x=Promise.prototype.finally||function(e){if("function"!=typeof e)return this.then(e,e);const t=this.constructor||Promise;return this.then((n=>t.resolve(e()).then((()=>n))),(n=>t.resolve(e()).then((()=>{throw n}))))};function j(e,t,n){if(n[t.id])return t.E;if(n[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}const r=t.e;var i;if(t.e=null,t.d.forEach((function(r){try{var o=j(e,r,n);o&&(i=i||[]).push(o)}catch(e){throw t.er=e,e}})),i)return t.E=x.call(Promise.all(i).then(s),(function(){t.E=null}));var o=s();if(o)return t.E=x.call(o,(function(){t.E=null}));function s(){try{var e=r.call(O);if(e)return e=e.then((function(){t.C=t.n}),(function(e){throw t.er=e,e}));t.C=t.n,t.L=t.I=void 0}catch(e){throw t.er=e,e}}}o.System=new y;var P,R,M=Promise.resolve(),C={imports:{},scopes:{},depcache:{},integrity:{}},L=i;function I(){[].forEach.call(document.querySelectorAll("script"),(function(n){if(!n.sp)if("systemjs-module"===n.type){if(n.sp=!0,!n.src)return;System.import("import:"===n.src.slice(0,7)?n.src.slice(7):f(n.src,t)).catch((function(e){if(e.message.indexOf("https://git.io/JvFET#3")>-1){var t=document.createEvent("Event");t.initEvent("error",!1,!1),n.dispatchEvent(t)}return Promise.reject(e)Line truncated
|
||||
@@ -0,0 +1,54 @@
|
||||
html {
|
||||
-ms-touch-action: none;
|
||||
}
|
||||
|
||||
body, canvas, div {
|
||||
display: block;
|
||||
outline: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
/* Remove spin of input type number */
|
||||
input::-webkit-outer-spin-button,
|
||||
input::-webkit-inner-spin-button {
|
||||
/* display: none; <- Crashes Chrome on hover */
|
||||
-webkit-appearance: none;
|
||||
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
|
||||
}
|
||||
|
||||
body {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
|
||||
cursor: default;
|
||||
color: #888;
|
||||
background-color: #333;
|
||||
|
||||
text-align: center;
|
||||
font-family: Helvetica, Verdana, Arial, sans-serif;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
canvas {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
#GameDiv, #Cocos3dGameContainer, #GameCanvas {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
Reference in new issue
Block a user