Complete Cocos Creator port with level bundles, themes, and tooling.

Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-16 15:30:58 +08:00
parent cba5105908
commit d393302388
6248 changed files with 17322729 additions and 11036 deletions

View File

@@ -0,0 +1,12 @@
{
"ver": "1.1.2",
"uuid": "294c1663-4adf-4a1e-a795-53808011a38a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

View File

@@ -0,0 +1,53 @@
CCEffect %{
techniques:
- passes:
- vert: vs:vert
frag: fs:frag
depthStencilState:
depthTest: false
depthWrite: false
blendState:
targets:
- blend: true
blendSrc: src_alpha
blendDst: one_minus_src_alpha
blendDstAlpha: one_minus_src_alpha
rasterizerState:
cullMode: none
}%
CCProgram vs %{
precision highp float;
#include <cc-global>
in vec3 a_position;
in vec4 a_color;
in mediump vec2 a_uv0;
out vec4 v_color;
out mediump vec2 v_uv0;
vec4 vert () {
v_uv0 = a_uv0;
v_color = a_color;
return cc_matViewProj * vec4(a_position, 1);
}
}%
CCProgram fs %{
precision highp float;
#include <texture>
in mediump vec2 v_uv0;
in vec4 v_color;
#pragma builtin(local)
layout(set = 2, binding = 10) uniform sampler2D cc_spriteTexture;
vec4 frag () {
vec4 color = v_color;
CCTexture(cc_spriteTexture, v_uv0, color);
float gray = 0.2126*color.r + 0.7152*color.g + 0.0722*color.b;
return vec4(gray, gray, gray, color.a);
}
}%

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.25",
"uuid": "144c3297-af63-49e8-b8ef-1cfa29b3be28",
"compiledShaders": [],
"subMetas": {}
}

View File

@@ -0,0 +1,129 @@
// Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
CCEffect %{
techniques:
- passes:
- vert: vs:vert
frag: fs:frag
depthStencilState:
depthTest: false
depthWrite: false
blendState:
targets:
- blend: true
blendSrc: src_alpha
blendDst: one_minus_src_alpha
blendDstAlpha: one_minus_src_alpha
rasterizerState:
cullMode: none
properties:
alphaThreshold: { value: 0.5 }
outlineSize: {value: 0.0}
outlineColor: {value: [1,1,1,1]}
}%
CCProgram vs %{
precision highp float;
#include <cc-global>
#if USE_LOCAL
#include <cc-local>
#endif
in vec3 a_position;
in vec2 a_texCoord;
in vec4 a_color;
out vec4 v_color;
out vec2 v_uv0;
vec4 vert () {
vec4 pos = vec4(a_position, 1);
#if USE_LOCAL
pos = cc_matViewProj * cc_matWorld * pos;
#else
pos = cc_matViewProj * pos;
#endif
#if USE_TEXTURE
v_uv0 = a_texCoord;
#endif
v_color = a_color;
return pos;
}
}%
CCProgram fs %{
#if CC_SUPPORT_standard_derivatives
#extension GL_OES_standard_derivatives : enable
#endif
precision highp float;
#include <alpha-test>
in vec4 v_color;
#if USE_TEXTURE
in vec2 v_uv0;
#pragma builtin(local)
layout(set = 2, binding = 10) uniform sampler2D cc_spriteTexture;
#endif
#if USE_SDF
uniform Outline {
vec4 outlineColor;
float outlineSize;
};
#endif
vec4 frag () {
#if USE_SDF
#if USE_TEXTURE_ALPHAONLY
float dist = texture(cc_spriteTexture, v_uv0).a;
#else
float dist = texture(cc_spriteTexture, v_uv0).r;
#endif
#if USE_SDF_EXTEND
const float EDGE_VALUE = 0.45;
#else
const float EDGE_VALUE = 0.5;
#endif
#if CC_SUPPORT_standard_derivatives
float smoothing = fwidth(dist);
#else
float smoothing = 0.05;
#endif
float outEdge = EDGE_VALUE - outlineSize;
float bg = smoothstep(outEdge - smoothing, outEdge, dist);
float fg = smoothstep(EDGE_VALUE - smoothing, EDGE_VALUE, dist);
vec4 fgColor = outlineColor * (1.0 - fg) + v_color * fg;
return vec4(fgColor.rgb, fgColor.a * bg);
#else
vec4 o = vec4(1, 1, 1, 1);
#if USE_TEXTURE
#if USE_TEXTURE_ALPHAONLY
o.a *= texture(cc_spriteTexture, v_uv0).a;
#else
o *= texture(cc_spriteTexture, v_uv0);
#endif
#if CC_USE_ALPHA_ATLAS_TEXTURE
o.a *= texture2D(cc_spriteTexture, v_uv0 + vec2(0, 0.5)).r;
#endif
#endif
o *= v_color;
ALPHA_TEST(o);
return o;
#endif
}
}%

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.25",
"uuid": "f18742d7-56d2-4eb5-ae49-2d9d710b37c8",
"compiledShaders": [],
"subMetas": {}
}

View File

@@ -0,0 +1,12 @@
{
"ver": "1.1.2",
"uuid": "bbee2217-c261-49bd-a8ce-708d6bcc3500",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

View File

@@ -0,0 +1,10 @@
{
"__type__": "cc.Material",
"_name": "builtin-2d-base",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "60f7195c-ec2a-45eb-ba94-8955f60e81d0"
},
"_techniqueData": {}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "6f801092-0c37-4f30-89ef-c8d960825b36",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -0,0 +1,15 @@
{
"__type__": "cc.Material",
"_name": "builtin-2d-graphics",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "1c02ae6f-4492-4915-b8f8-7492a3b1e4cd"
},
"_techniqueIndex": 0,
"_techniqueData": {
"0": {
"defines": {}
}
}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "a153945d-2511-4c14-be7b-05d242f47d57",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -0,0 +1,10 @@
{
"__type__": "cc.Material",
"_name": "builtin-2d-gray-sprite",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "144c3297-af63-49e8-b8ef-1cfa29b3be28"
},
"_techniqueData": {}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "3a7bb79f-32fd-422e-ada2-96f518fed422",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -0,0 +1,16 @@
{
"__type__": "cc.Material",
"_name": "builtin-2d-label",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "f18742d7-56d2-4eb5-ae49-2d9d710b37c8"
},
"_techniqueData": {
"0": {
"defines": {
"USE_TEXTURE": true
}
}
}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "e02d87d4-e599-4d16-8001-e14891ac6506",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -0,0 +1,10 @@
{
"__type__": "cc.Material",
"_name": "builtin-2d-spine",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "7383da24-dfde-48e8-82a7-a6e8a56f285c"
},
"_techniqueData": {}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "7afd064b-113f-480e-b793-8817d19f63c3",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -0,0 +1,16 @@
{
"__type__": "cc.Material",
"_name": "builtin-2d-sprite",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "60f7195c-ec2a-45eb-ba94-8955f60e81d0"
},
"_techniqueData": {
"0": {
"defines": {
"USE_TEXTURE": true
}
}
}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -0,0 +1,39 @@
{
"__type__": "cc.Material",
"_name": "builtin-3d-particle",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "d1346436-ac96-4271-b863-1f4fdead95b0"
},
"_techniqueData": {
"0": {
"props": {
"mainTexture": {
"__uuid__": "600301aa-3357-4a10-b086-84f011fa32ba"
},
"mainTiling_Offset": {
"__type__": "cc.Vec4",
"x": 1,
"y": 1,
"z": 0,
"w": 0
},
"tintColor": {
"__type__": "cc.Color",
"r": 172,
"g": 165,
"b": 165,
"a": 127
}
},
"defines": {
"CC_USE_BILLBOARD": true,
"CC_USE_STRETCHED_BILLBOARD": false,
"CC_USE_HORIZONTAL_BILLBOARD": false,
"CC_USE_VERTICAL_BILLBOARD": false,
"CC_USE_MESH": false
}
}
}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "432fa09c-cf03-4cff-a186-982604408a07",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -0,0 +1,18 @@
{
"__type__": "cc.Material",
"_name": "builtin-3d-trail",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "17debcc3-0a6b-4b8a-b00b-dc58b885581e"
},
"_techniqueData": {
"0": {
"props": {
"mainTexture": {
"__uuid__": "0275e94c-56a7-410f-bd1a-fc7483f7d14a"
}
}
}
}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "466d4f9b-e5f4-4ea8-85d5-3c6e9a65658a",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -0,0 +1,10 @@
{
"__type__": "cc.Material",
"_name": "builtin-clear-stencil",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "810e96e4-e456-4468-9b59-f4e8f39732c0"
},
"_techniqueData": {}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "cf7e0bb8-a81c-44a9-ad79-d28d43991032",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -0,0 +1,21 @@
{
"__type__": "cc.Material",
"_name": "builtin-unlit",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc"
},
"_techniqueData": {
"0": {
"props": {
"diffuseTexture": {
"__uuid__": "0275e94c-56a7-410f-bd1a-fc7483f7d14a"
}
},
"defines": {
"USE_DIFFUSE_TEXTURE": true
}
}
}
}

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "2a296057-247c-4a1c-bbeb-0548b6c98650",
"dataAsSubAsset": null,
"subMetas": {}
}