diff --git a/assets/resources/effects.meta b/assets/resources/effects.meta new file mode 100644 index 0000000..89ebc4a --- /dev/null +++ b/assets/resources/effects.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "b58a5597-a8f4-4b9e-b863-a25ae3b0e452", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/effects/billiards.effect b/assets/resources/effects/billiards.effect new file mode 100644 index 0000000..37ae96e --- /dev/null +++ b/assets/resources/effects/billiards.effect @@ -0,0 +1,127 @@ +// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd. +CCEffect %{ + techniques: + - passes: + - vert: sprite-vs:vert + frag: sprite-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: + b_matrix: { value:[ + 1, 0, 0, 0, + 0, 1, 0, 0, + 0, 0, 1, 0, + 0, 0, 0, 0]} + light_pos: {value: [0.5, -0.5, 1, 1]} +}% + +CCProgram sprite-vs %{ + precision highp float; + #include + #if USE_LOCAL + #include + #endif + #if SAMPLE_FROM_RT + #include + #endif + in vec3 a_position; + in vec2 a_texCoord; + in vec4 a_color; + + out vec4 color; + out vec2 uv0; + + + vec4 vert () { + vec4 pos = vec4(a_position, 1); + + #if USE_LOCAL + pos = cc_matWorld * pos; + #endif + + #if USE_PIXEL_ALIGNMENT + pos = cc_matView * pos; + pos.xyz = floor(pos.xyz); + pos = cc_matProj * pos; + #else + pos = cc_matViewProj * pos; + #endif + + uv0 = a_texCoord; + #if SAMPLE_FROM_RT + CC_HANDLE_RT_SAMPLE_FLIP(uv0); + #endif + color = a_color; + + return pos; + } +}% + +CCProgram sprite-fs %{ + precision highp float; + #include + in vec4 color; + in vec2 uv0; + + uniform Constant { + mat4x4 b_matrix; + vec4 light_pos; + }; + #pragma builtin(local) + layout(set = 2, binding = 12) uniform sampler2D cc_spriteTexture; + + + vec4 frag () { + vec2 uv = fract(uv0 * 4.0); + vec2 id = floor(uv0 * 4.0); + + vec2 xy = uv * 2.0 - 1.0; + + float z = sqrt(1.0 - length(xy)); + + vec3 _p3d = vec3(xy, z); + + vec4 p = b_matrix * vec4(_p3d, 1.0); + vec3 p3d = p.xyz; + + vec4 background = vec4(0.0, 0.0, 0.0, 0.0); + vec4 ballColor = color; + #if USE_BELT + // 上下两个白圈的中心店 + vec3 white1 = vec3(0.0, 1.0, 0.0); + vec3 white2 = vec3(0.0, -1.0, 0.0); + float whiteLen = 0.7; + + vec3 dw1 = white1 - p3d; + vec3 dw2 = white2 - p3d; + float dw = min(dot(dw1, dw1), dot(dw2, dw2)); + ballColor = mix(ballColor, vec4(1.0, 1.0, 1.0, 1.0), smoothstep(0.0, -0.1, dw - whiteLen)); + #endif + vec2 _xy = p3d.xy * 0.8 + 0.5; + vec2 _uv = _xy * 0.25 + id * 0.25; + vec4 numColor = CCSampleWithAlphaSeparated(cc_spriteTexture, _uv); + + vec4 o = mix(ballColor, numColor, smoothstep(0., -0.1, length(_xy - 0.5) - 0.48) * step(0.0, p3d.z)); + o = mix(background, o, smoothstep(0.0, -0.1, length(xy) - 1.0)); + + #if USE_LIGHT + vec3 lightDir = normalize(light_pos.xyz - _p3d.xyz); + float d = dot(normalize(_p3d.xyz), lightDir); + d = clamp(d, 0.0, 1.0); + d = sqrt(d); + float nol = 0.5 + 0.5 * d; + o *= vec4(nol, nol, nol, 1.0); + #endif + + return o; + } +}% diff --git a/assets/resources/effects/billiards.effect.meta b/assets/resources/effects/billiards.effect.meta new file mode 100644 index 0000000..8de58ab --- /dev/null +++ b/assets/resources/effects/billiards.effect.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.7.1", + "importer": "effect", + "imported": true, + "uuid": "852de7ce-1d24-4b8b-bfb1-b3e424877097", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/effects/puzzle.effect b/assets/resources/effects/puzzle.effect index d2c2e26..99bef85 100644 --- a/assets/resources/effects/puzzle.effect +++ b/assets/resources/effects/puzzle.effect @@ -98,8 +98,13 @@ CCProgram sprite-fs %{ vec2 uv_center = (id + 0.5) / vec2(columns, rows); float exp = sizeExpand + 1.0; - vec2 uv = (uv0 - uv_center) * vec2(columns, rows) * exp; o *= CCSampleWithAlphaSeparated(cc_spriteTexture, (uv0 - uv_center) * exp + uv_center); + + vec2 uv = (uv0 - uv_center) * vec2(columns, rows) * exp; + float dy = sin(uv0.y * 95.0) * 0.05; + uv.x += dy; + // float dx = sin(uv0.x * 95.0) * 0.05; + // uv.y += dx; float d = sdBox(uv, vec2(0.5, 0.5)); float rad = radius; diff --git a/assets/resources/materials/billiards.mtl b/assets/resources/materials/billiards.mtl new file mode 100644 index 0000000..ea4cbde --- /dev/null +++ b/assets/resources/materials/billiards.mtl @@ -0,0 +1,31 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "_effectAsset": { + "__uuid__": "852de7ce-1d24-4b8b-bfb1-b3e424877097", + "__expectedType__": "cc.EffectAsset" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_LIGHT": true + } + ], + "_states": [ + { + "rasterizerState": {}, + "depthStencilState": {}, + "blendState": { + "targets": [ + {} + ] + } + } + ], + "_props": [ + {} + ] +} \ No newline at end of file diff --git a/assets/resources/materials/billiards.mtl.meta b/assets/resources/materials/billiards.mtl.meta new file mode 100644 index 0000000..f7a225d --- /dev/null +++ b/assets/resources/materials/billiards.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.21", + "importer": "material", + "imported": true, + "uuid": "a47bb98e-bb21-4eef-806b-ad5bb85c6303", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/materials/billiards2.mtl b/assets/resources/materials/billiards2.mtl new file mode 100644 index 0000000..4b3cbb9 --- /dev/null +++ b/assets/resources/materials/billiards2.mtl @@ -0,0 +1,32 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "_effectAsset": { + "__uuid__": "852de7ce-1d24-4b8b-bfb1-b3e424877097", + "__expectedType__": "cc.EffectAsset" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_BELT": true, + "USE_LIGHT": true + } + ], + "_states": [ + { + "rasterizerState": {}, + "depthStencilState": {}, + "blendState": { + "targets": [ + {} + ] + } + } + ], + "_props": [ + {} + ] +} \ No newline at end of file diff --git a/assets/resources/materials/billiards2.mtl.meta b/assets/resources/materials/billiards2.mtl.meta new file mode 100644 index 0000000..170086e --- /dev/null +++ b/assets/resources/materials/billiards2.mtl.meta @@ -0,0 +1 @@ +{"ver":"1.0.21","importer":"material","imported":true,"uuid":"86aa73f6-caab-43af-9193-770d0798dfda","files":[".json"],"subMetas":{},"userData":{}} diff --git a/assets/resources/scenes/billiards.scene b/assets/resources/scenes/billiards.scene new file mode 100644 index 0000000..e0e06f8 --- /dev/null +++ b/assets/resources/scenes/billiards.scene @@ -0,0 +1,2964 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "billiards", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "billiards", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 5 + }, + { + "__id__": 7 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "autoReleaseAssets": false, + "_globals": { + "__id__": 81 + }, + "_id": "0a03a549-a583-4d37-b489-ab254ae5bf4c" + }, + { + "__type__": "cc.Node", + "_name": "Main Light", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.06397656665577071, + "y": -0.44608233363525845, + "z": -0.8239028751062036, + "w": -0.3436591377065261 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -117.894, + "y": -194.909, + "z": 38.562 + }, + "_id": "c0y6F5f+pAvI805TdmxIjx" + }, + { + "__type__": "cc.DirectionalLight", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 250, + "b": 240, + "a": 255 + }, + "_useColorTemperature": false, + "_colorTemperature": 6550, + "_staticSettings": { + "__id__": 4 + }, + "_visibility": -325058561, + "_illuminanceHDR": 65000, + "_illuminance": 65000, + "_illuminanceLDR": 1.6927083333333335, + "_shadowEnabled": false, + "_shadowPcf": 0, + "_shadowBias": 0.00001, + "_shadowNormalBias": 0, + "_shadowSaturation": 1, + "_shadowDistance": 50, + "_shadowInvisibleOcclusionRange": 200, + "_csmLevel": 4, + "_csmLayerLambda": 0.75, + "_csmOptimizationMode": 2, + "_csmAdvancedOptions": false, + "_csmLayersTransition": false, + "_csmTransitionRange": 0.05, + "_shadowFixedArea": false, + "_shadowNear": 0.1, + "_shadowFar": 10, + "_shadowOrthoSize": 5, + "_id": "597uMYCbhEtJQc0ffJlcgA" + }, + { + "__type__": "cc.StaticLightSettings", + "_baked": false, + "_editorOnly": false, + "_castShadow": false + }, + { + "__type__": "cc.Node", + "_name": "Main Camera", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -10, + "y": 10, + "z": 10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.27781593346944056, + "y": -0.36497167621709875, + "z": -0.11507512748638377, + "w": 0.8811195706053617 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -35, + "y": -45, + "z": 0 + }, + "_id": "c9DMICJLFO5IeO07EPon7U" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_projection": 1, + "_priority": 0, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 10, + "_near": 1, + "_far": 1000, + "_color": { + "__type__": "cc.Color", + "r": 51, + "g": 51, + "b": 51, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 14, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 1822425087, + "_targetTexture": null, + "_postProcess": null, + "_usePostProcess": false, + "_cameraType": -1, + "_trackingType": 0, + "_id": "7dWQTpwS5LrIHnc1zAPUtf" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_active": true, + "_components": [ + { + "__id__": 78 + }, + { + "__id__": 79 + }, + { + "__id__": 80 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 640, + "y": 360, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "d9XSh8SYFIUqLr7yrlw6Vm" + }, + { + "__type__": "cc.Node", + "_name": "Camera", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 1000 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "30U1Jht11GCbUw1BFwc1b5" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": null, + "_projection": 0, + "_priority": 1073741824, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 360, + "_near": 1, + "_far": 2000, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 6, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 41943040, + "_targetTexture": null, + "_postProcess": null, + "_usePostProcess": false, + "_cameraType": -1, + "_trackingType": 0, + "_id": "afTLqavcVNqIYBs2CK/+yr" + }, + { + "__type__": "cc.Node", + "_name": "Layout", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 7 + }, + "_children": [ + { + "__id__": 11 + }, + { + "__id__": 15 + }, + { + "__id__": 19 + }, + { + "__id__": 23 + }, + { + "__id__": 27 + }, + { + "__id__": 31 + }, + { + "__id__": 35 + }, + { + "__id__": 39 + }, + { + "__id__": 43 + }, + { + "__id__": 47 + }, + { + "__id__": 51 + }, + { + "__id__": 55 + }, + { + "__id__": 59 + }, + { + "__id__": 63 + }, + { + "__id__": 67 + }, + { + "__id__": 71 + } + ], + "_active": true, + "_components": [ + { + "__id__": 75 + }, + { + "__id__": 76 + }, + { + "__id__": 77 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "1bEYWoW4hE16F2AXjOMdQ1" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 13 + }, + { + "__id__": 14 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -75.05, + "y": 25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "b23thueSBMbquegWiYElY8" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "7cpCkGyxpI1ZH+MCcrzHB9" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "a47bb98e-bb21-4eef-806b-ad5bb85c6303", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@bb1a3", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "9eheDOV+hC8II66UJdXL0M" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "6c94csH99HCbecwhh5gKoY" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-001", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 16 + }, + { + "__id__": 17 + }, + { + "__id__": 18 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -25.049999999999997, + "y": 25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "8csD/w2YZCCZIoS2rOhMLD" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "97YMAYPjBBq5VcLShrgJ6z" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "a47bb98e-bb21-4eef-806b-ad5bb85c6303", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 214, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@93043", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "64UmSXeAZHOrqbJ8YiBLE1" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "85qXrv8DJBS7ZeIFbffUBX" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-002", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 20 + }, + { + "__id__": 21 + }, + { + "__id__": 22 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 24.950000000000003, + "y": 25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "37i9wdHzJPoKbswujzq6iq" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "4dwXB7cmBJu7cFpRP7zn+M" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "a47bb98e-bb21-4eef-806b-ad5bb85c6303", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 122, + "b": 219, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@a6b9d", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "9dxgVEW29JOpDeuGGCCG3d" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "735GJ2hyVBQrHeD6oJJwhY" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-003", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 24 + }, + { + "__id__": 25 + }, + { + "__id__": 26 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 74.95, + "y": 25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "05+YkOitBOhJS9bvpSr+H8" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d5GD52Uc5Ey5XsVrr//LT7" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "a47bb98e-bb21-4eef-806b-ad5bb85c6303", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@ecffe", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "afsS6c7N1Jp6jKyv9n6OPh" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "401MWG7VZO8ayji+h+y/TB" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-004", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 29 + }, + { + "__id__": 30 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -75.05, + "y": -25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "5cWY7sRE5CR6PBkTtGqEkN" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "cejlgDMqlDv7flin9ULRpj" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "a47bb98e-bb21-4eef-806b-ad5bb85c6303", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 72, + "g": 0, + "b": 180, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@74ef1", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "deK8tbZeNDIIwDLprSrkzL" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "cbaUtlQ3BAgpXfm0ZR5sjm" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-005", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 32 + }, + { + "__id__": 33 + }, + { + "__id__": 34 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -25.049999999999997, + "y": -25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "0czS88VDRIN5qHiIbsCoGC" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 31 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "88yTZIWV5JzKB4uAjLOgo9" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 31 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "a47bb98e-bb21-4eef-806b-ad5bb85c6303", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 223, + "g": 126, + "b": 61, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@7d214", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "44XfYtEVRJMIpZIDZO1rYJ" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 31 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "a9LT5z06dABLhXwXiI2SjJ" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-006", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 36 + }, + { + "__id__": 37 + }, + { + "__id__": 38 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 24.950000000000003, + "y": -25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "2c3O7KSLlB3JQYuQbNiofy" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f1zi2B84pKsoymFeOAd88j" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "a47bb98e-bb21-4eef-806b-ad5bb85c6303", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 44, + "g": 136, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@fea17", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "5fQ2nXAmlDE5UiB6zvvyrn" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "2dmAbAJChJ5rVeHbdMhbrd" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-007", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 40 + }, + { + "__id__": 41 + }, + { + "__id__": 42 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 74.95, + "y": -25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f2gpJ/hFhJU579hqGrGEPa" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 39 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "3eyvG89pRIXbDwKAsPtGoS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 39 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "a47bb98e-bb21-4eef-806b-ad5bb85c6303", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 138, + "g": 18, + "b": 18, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@d7755", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "bbh2Ot2u1HY5IJcgCQDekb" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 39 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "c4bMkk0yhNSLaLQRoD9a2p" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-008", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 44 + }, + { + "__id__": 45 + }, + { + "__id__": 46 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -75.05, + "y": -75, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "cf0wvjxANGC7EMIHqogNgO" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "6eKrL0NkFEjI4Cb25oUqLO" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "86aa73f6-caab-43af-9193-770d0798dfda", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@fe069", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "1cfi6EBZ9L953OwbeCS/NJ" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "df+oGNV3lHwKPlhOO0UE7p" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-009", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 48 + }, + { + "__id__": 49 + }, + { + "__id__": 50 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -25.049999999999997, + "y": -75, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "43y+NcocFOCoe0fXeTOmeO" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 47 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "8eSIfmZzRHD72e6AM+j/Gh" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 47 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "86aa73f6-caab-43af-9193-770d0798dfda", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 214, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@0f466", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "6fcph8DNBNLIW2T1zzZ0LD" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 47 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "1e3Cw1fhJDGrS0hx2z1kwW" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-010", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 52 + }, + { + "__id__": 53 + }, + { + "__id__": 54 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 24.950000000000003, + "y": -75, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f6ZrwPTUxCzZ3CvGHfrzIY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d0xwZysqpJtJoi1/ZMARK/" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "86aa73f6-caab-43af-9193-770d0798dfda", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 122, + "b": 219, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@d6710", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "37QqThQ2FFLaskwuqzygT5" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "74loU+N1RLWJzgP2CeToOv" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-011", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 56 + }, + { + "__id__": 57 + }, + { + "__id__": 58 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 74.95, + "y": -75, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "b9JHvxLhJLTZdKD2apeIB0" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 55 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e0DGv20uRBZqiVawrEXp5+" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 55 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "86aa73f6-caab-43af-9193-770d0798dfda", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@6422a", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "db1bbmMMVGxLnx9ALMMbpy" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 55 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "80rGPdgS1OtrC4ngSAg2Pq" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-012", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 60 + }, + { + "__id__": 61 + }, + { + "__id__": 62 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -75.05, + "y": -125, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "69m/gxUFhKja2uvUAcuHLc" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "81jNqjVwNBWINOCzWgAqIk" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "86aa73f6-caab-43af-9193-770d0798dfda", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 72, + "g": 0, + "b": 180, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@cdab0", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "62l2JWAHtETZzIbgzkSs3o" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "80hYD/DlFKqKaqJ4IWeWGS" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-013", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 64 + }, + { + "__id__": 65 + }, + { + "__id__": 66 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -25.049999999999997, + "y": -125, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "9fxJPa5DFJ5YJrjX6DauZF" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "fadnx+N19MAIrfiFwr7F0h" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "86aa73f6-caab-43af-9193-770d0798dfda", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 223, + "g": 126, + "b": 61, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@c10f9", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "62gA+urpxBJ6RCqJsgZCKo" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "00kZaM1cxEJbjHRUzhrpgP" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-014", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 68 + }, + { + "__id__": 69 + }, + { + "__id__": 70 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 24.950000000000003, + "y": -125, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "b8+k6BFSlEXJisWVCMXoq1" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "541b74enVNJZzw/GKNMsNf" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "86aa73f6-caab-43af-9193-770d0798dfda", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 44, + "g": 136, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@a8656", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "2cKayeu/tD1JtwIbSIRsti" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "9734JVLzJNkJWyH2/tz/Yz" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash-015", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 72 + }, + { + "__id__": 73 + }, + { + "__id__": 74 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 74.95, + "y": -125, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "6aYDFyrfpFWas4dyDgH3bl" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "dbamUKLIRBy7/3LSzY/nxv" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": { + "__uuid__": "86aa73f6-caab-43af-9193-770d0798dfda", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 138, + "g": 18, + "b": 18, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6bb9b7d4-7e62-4501-a638-ba268f838f00@979f3", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "ffHHjOr2lPX78dsTWGNLIA" + }, + { + "__type__": "ca0bfawpq5Mupn61RLQ35jg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": null, + "scrollAxis": { + "__type__": "cc.Vec3", + "x": 1, + "y": 0, + "z": 0 + }, + "scrollSpeed": 1, + "_id": "94ey1H1d9F7IHg9tzBDQlB" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 200.1, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "45oBEzHw1OPoyBTW0TQnVJ" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 0, + "_layoutType": 3, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "8b6dfxO11K6Zo4/uwbMpdD" + }, + { + "__type__": "f6003vcxLFM17K/J8rCDOCg", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": null, + "_id": "66VbQbq2FBBYOM7X4HtL8o" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1280, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "878cMBUpRKN7NXd6VDFRhU" + }, + { + "__type__": "cc.Canvas", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "_cameraComponent": { + "__id__": 9 + }, + "_alignCanvasWithScreen": true, + "_id": "d4xvBmxthBp449i8QxCbi2" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "67jP/x7UJLZ5lWN9ExLrrB" + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 82 + }, + "shadows": { + "__id__": 83 + }, + "_skybox": { + "__id__": 84 + }, + "fog": { + "__id__": 85 + }, + "octree": { + "__id__": 86 + }, + "skin": { + "__id__": 87 + }, + "lightProbeInfo": { + "__id__": 88 + }, + "postSettings": { + "__id__": 89 + }, + "bakedWithStationaryMainLight": false, + "bakedWithHighpLightmap": false + }, + { + "__type__": "cc.AmbientInfo", + "_skyColorHDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.5, + "z": 0.8, + "w": 0.520833125 + }, + "_skyColor": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.5, + "z": 0.8, + "w": 0.520833125 + }, + "_skyIllumHDR": 20000, + "_skyIllum": 20000, + "_groundAlbedoHDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.2, + "z": 0.2, + "w": 1 + }, + "_groundAlbedo": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.2, + "z": 0.2, + "w": 1 + }, + "_skyColorLDR": { + "__type__": "cc.Vec4", + "x": 0.452588, + "y": 0.607642, + "z": 0.755699, + "w": 0 + }, + "_skyIllumLDR": 0.8, + "_groundAlbedoLDR": { + "__type__": "cc.Vec4", + "x": 0.618555, + "y": 0.577848, + "z": 0.544564, + "w": 0 + } + }, + { + "__type__": "cc.ShadowsInfo", + "_enabled": false, + "_type": 0, + "_normal": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 0 + }, + "_distance": 0, + "_planeBias": 1, + "_shadowColor": { + "__type__": "cc.Color", + "r": 76, + "g": 76, + "b": 76, + "a": 255 + }, + "_maxReceived": 4, + "_size": { + "__type__": "cc.Vec2", + "x": 1024, + "y": 1024 + } + }, + { + "__type__": "cc.SkyboxInfo", + "_envLightingType": 0, + "_envmapHDR": { + "__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0", + "__expectedType__": "cc.TextureCube" + }, + "_envmap": { + "__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0", + "__expectedType__": "cc.TextureCube" + }, + "_envmapLDR": { + "__uuid__": "6f01cf7f-81bf-4a7e-bd5d-0afc19696480@b47c0", + "__expectedType__": "cc.TextureCube" + }, + "_diffuseMapHDR": null, + "_diffuseMapLDR": null, + "_enabled": true, + "_useHDR": true, + "_editableMaterial": null, + "_reflectionHDR": null, + "_reflectionLDR": null, + "_rotationAngle": 0 + }, + { + "__type__": "cc.FogInfo", + "_type": 0, + "_fogColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "_enabled": false, + "_fogDensity": 0.3, + "_fogStart": 0.5, + "_fogEnd": 300, + "_fogAtten": 5, + "_fogTop": 1.5, + "_fogRange": 1.2, + "_accurate": false + }, + { + "__type__": "cc.OctreeInfo", + "_enabled": false, + "_minPos": { + "__type__": "cc.Vec3", + "x": -1024, + "y": -1024, + "z": -1024 + }, + "_maxPos": { + "__type__": "cc.Vec3", + "x": 1024, + "y": 1024, + "z": 1024 + }, + "_depth": 8 + }, + { + "__type__": "cc.SkinInfo", + "_enabled": true, + "_blurRadius": 0.01, + "_sssIntensity": 3 + }, + { + "__type__": "cc.LightProbeInfo", + "_giScale": 1, + "_giSamples": 1024, + "_bounces": 2, + "_reduceRinging": 0, + "_showProbe": true, + "_showWireframe": true, + "_showConvex": false, + "_data": null, + "_lightProbeSphereVolume": 1 + }, + { + "__type__": "cc.PostSettingsInfo", + "_toneMappingType": 0 + } +] \ No newline at end of file diff --git a/assets/resources/scenes/billiards.scene.meta b/assets/resources/scenes/billiards.scene.meta new file mode 100644 index 0000000..5ea99ed --- /dev/null +++ b/assets/resources/scenes/billiards.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.50", + "importer": "scene", + "imported": true, + "uuid": "0a03a549-a583-4d37-b489-ab254ae5bf4c", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/ui/atlas/tiles.plist b/assets/resources/ui/atlas/tiles.plist new file mode 100644 index 0000000..edb0670 --- /dev/null +++ b/assets/resources/ui/atlas/tiles.plist @@ -0,0 +1,230 @@ + + + + + frames + + 00.png + + frame + {{0,0},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 01.png + + frame + {{32,0},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 02.png + + frame + {{64,0},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 03.png + + frame + {{96,0},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 04.png + + frame + {{0,32},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 05.png + + frame + {{32,32},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 06.png + + frame + {{64,32},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 07.png + + frame + {{96,32},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 08.png + + frame + {{0,64},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 09.png + + frame + {{32,64},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 10.png + + frame + {{64,64},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 11.png + + frame + {{96,64},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 12.png + + frame + {{0,96},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 13.png + + frame + {{32,96},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 14.png + + frame + {{64,96},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + 15.png + + frame + {{96,96},{32,32}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{32,32}} + sourceSize + {32,32} + + + metadata + + format + 2 + realTextureFileName + tiles.png + size + {128,128} + smartupdate + $TexturePacker:SmartUpdate:b691f5749b8d03f36e7b74ed51f8f4f2:c54e714565c7ccc13e4871cd09591cae:e7ba09821896df177254bf002289be44$ + textureFileName + tiles.png + + + diff --git a/assets/resources/ui/atlas/tiles.plist.meta b/assets/resources/ui/atlas/tiles.plist.meta new file mode 100644 index 0000000..fb12690 --- /dev/null +++ b/assets/resources/ui/atlas/tiles.plist.meta @@ -0,0 +1,753 @@ +{ + "ver": "1.0.8", + "importer": "sprite-atlas", + "imported": true, + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00", + "files": [ + ".json" + ], + "subMetas": { + "93043": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@93043", + "displayName": "", + "id": "93043", + "name": "01", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 32, + "trimY": 0, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "bb1a3": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@bb1a3", + "displayName": "", + "id": "bb1a3", + "name": "00", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "a6b9d": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@a6b9d", + "displayName": "", + "id": "a6b9d", + "name": "02", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 64, + "trimY": 0, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "ecffe": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@ecffe", + "displayName": "", + "id": "ecffe", + "name": "03", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 96, + "trimY": 0, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "74ef1": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@74ef1", + "displayName": "", + "id": "74ef1", + "name": "04", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 32, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "7d214": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@7d214", + "displayName": "", + "id": "7d214", + "name": "05", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 32, + "trimY": 32, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "fea17": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@fea17", + "displayName": "", + "id": "fea17", + "name": "06", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 64, + "trimY": 32, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "d7755": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@d7755", + "displayName": "", + "id": "d7755", + "name": "07", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 96, + "trimY": 32, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "fe069": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@fe069", + "displayName": "", + "id": "fe069", + "name": "08", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 64, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "0f466": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@0f466", + "displayName": "", + "id": "0f466", + "name": "09", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 32, + "trimY": 64, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "d6710": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@d6710", + "displayName": "", + "id": "d6710", + "name": "10", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 64, + "trimY": 64, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "6422a": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@6422a", + "displayName": "", + "id": "6422a", + "name": "11", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 96, + "trimY": 64, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "cdab0": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@cdab0", + "displayName": "", + "id": "cdab0", + "name": "12", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 96, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "c10f9": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@c10f9", + "displayName": "", + "id": "c10f9", + "name": "13", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 32, + "trimY": 96, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "a8656": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@a8656", + "displayName": "", + "id": "a8656", + "name": "14", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 64, + "trimY": 96, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "979f3": { + "importer": "sprite-frame", + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00@979f3", + "displayName": "", + "id": "979f3", + "name": "15", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 96, + "trimY": 96, + "width": 32, + "height": 32, + "rawWidth": 32, + "rawHeight": 32, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "atlasTextureName": "tiles.png", + "format": 2, + "uuid": "6bb9b7d4-7e62-4501-a638-ba268f838f00", + "textureUuid": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a" + } +} diff --git a/assets/resources/ui/atlas/tiles.png b/assets/resources/ui/atlas/tiles.png new file mode 100644 index 0000000..a164f4c Binary files /dev/null and b/assets/resources/ui/atlas/tiles.png differ diff --git a/assets/resources/ui/atlas/tiles.png.meta b/assets/resources/ui/atlas/tiles.png.meta new file mode 100644 index 0000000..f779cef --- /dev/null +++ b/assets/resources/ui/atlas/tiles.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "displayName": "tiles", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@f9941", + "displayName": "tiles", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "none", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 128, + "height": 128, + "rawWidth": 128, + "rawHeight": 128, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": false, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -64, + -64, + 0, + 64, + -64, + 0, + -64, + 64, + 0, + 64, + 64, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 128, + 128, + 128, + 0, + 0, + 128, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -64, + -64, + 0 + ], + "maxPos": [ + 64, + 64, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "hasAlpha": true, + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "redirect": "63eaf9a3-153a-4e2d-9abd-91cbbb7d63a4@f9941" + } +} diff --git a/assets/scripts/billiards.meta b/assets/scripts/billiards.meta new file mode 100644 index 0000000..ada6de4 --- /dev/null +++ b/assets/scripts/billiards.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "41f5d44f-0e70-49de-b16b-cdcb1e3b4d7a", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scripts/puzzle.meta b/assets/scripts/puzzle.meta new file mode 100644 index 0000000..153c86c --- /dev/null +++ b/assets/scripts/puzzle.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "0cc4805c-6f4e-45d6-9ba4-d4d10a601975", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scripts/testComponents/TestBilliards.ts b/assets/scripts/testComponents/TestBilliards.ts new file mode 100644 index 0000000..867d992 --- /dev/null +++ b/assets/scripts/testComponents/TestBilliards.ts @@ -0,0 +1,66 @@ +import { _decorator, Component, Mat4, Sprite, v3 } from 'cc'; +const { ccclass, property } = _decorator; +// dynamicAtlasManager.enabled = false; +@ccclass('TestBilliards') +export class TestBilliards extends Component { + @property + public scrollAxis = v3(1, 0, 0) + + private matrix = new Mat4(); + private mat = [ + 1, 0, 0, + 0, 1, 0, + 0, 0, 1] + + @property + public scrollSpeed = 0; + + start() { + + } + scroll(rad, x, y, z) { + + // 矩阵旋转 + // 传入的是逆矩阵,所以计算反向旋转 + // 因为只需要计算3d旋转,所以用3x3矩阵表示 + const s = Math.sin(-rad); + const c = Math.cos(-rad); + const t = 1 - c; + + + let a = this.mat; + const a00 = a[0]; const a01 = a[1]; const a02 = a[2]; + const a10 = a[3]; const a11 = a[4]; const a12 = a[5]; + const a20 = a[6]; const a21 = a[7]; const a22 = a[8]; + + const b00 = x * x * t + c; const b01 = y * x * t + z * s; const b02 = z * x * t - y * s; + const b10 = x * y * t - z * s; const b11 = y * y * t + c; const b12 = z * y * t + x * s; + const b20 = x * z * t + y * s; const b21 = y * z * t - x * s; const b22 = z * z * t + c; + + a[0] = a00 * b00 + a10 * b01 + a20 * b02; + a[1] = a01 * b00 + a11 * b01 + a21 * b02; + a[2] = a02 * b00 + a12 * b01 + a22 * b02; + + a[3] = a00 * b10 + a10 * b11 + a20 * b12; + a[4] = a01 * b10 + a11 * b11 + a21 * b12; + a[5] = a02 * b10 + a12 * b11 + a22 * b12; + + a[6] = a00 * b20 + a10 * b21 + a20 * b22; + a[7] = a01 * b20 + a11 * b21 + a21 * b22; + a[8] = a02 * b20 + a12 * b21 + a22 * b22; + + } + update(dt) { + let rad = dt * this.scrollSpeed; + this.scroll(rad, this.scrollAxis.x, this.scrollAxis.y, this.scrollAxis.z); + let a = this.mat + this.matrix.set( + a[0], a[1], a[2], 0, + a[3], a[4], a[5], 0, + a[6], a[7], a[8], 0, + 0, 0, 0, 0,) + this.getComponent(Sprite).material.setProperty("b_matrix", this.matrix) + } +} + + diff --git a/assets/scripts/testComponents/TestBilliards.ts.meta b/assets/scripts/testComponents/TestBilliards.ts.meta new file mode 100644 index 0000000..2389bd1 --- /dev/null +++ b/assets/scripts/testComponents/TestBilliards.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "ca0bf6b0-a6ae-4cba-99fa-d512d0df98e0", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scripts/testComponents/TestBilliardsParent.ts b/assets/scripts/testComponents/TestBilliardsParent.ts new file mode 100644 index 0000000..4329ad9 --- /dev/null +++ b/assets/scripts/testComponents/TestBilliardsParent.ts @@ -0,0 +1,28 @@ +import { _decorator, Component, Node, v3 } from 'cc'; +import { TestBilliards } from './TestBilliards'; +const { ccclass, property } = _decorator; + +@ccclass('TestBilliardsParent') +export class TestBilliardsParent extends Component { + start() { + for (let i = 0; i < this.node.children.length; i++) { + let ball:TestBilliards = this.node.children[i].getComponent(TestBilliards); + + ball.scrollSpeed = (i + 1); + + let ax = i % 4; + let ay = Math.floor(i / 4); + + let az = Math.sqrt(18 - ax * ax - ay * ay); + let len = Math.sqrt(18); + + ball.scrollAxis = v3(ax / len, ay / len, az / len); + } + } + + update(deltaTime: number) { + + } +} + + diff --git a/assets/scripts/testComponents/TestBilliardsParent.ts.meta b/assets/scripts/testComponents/TestBilliardsParent.ts.meta new file mode 100644 index 0000000..a835af8 --- /dev/null +++ b/assets/scripts/testComponents/TestBilliardsParent.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "f6003bdc-c4b1-4cd7-b2bf-27cac20ce0a0", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scripts/testComponents/TestPuzzle.ts b/assets/scripts/testComponents/TestPuzzle.ts new file mode 100644 index 0000000..1d6b70f --- /dev/null +++ b/assets/scripts/testComponents/TestPuzzle.ts @@ -0,0 +1,33 @@ +import { _decorator, Component, instantiate, Node } from 'cc'; +import { PuzzleSprite } from '../puzzle/PuzzleSprite'; +const { ccclass, property, executeInEditMode} = _decorator; + +@ccclass('TestPuzzle') +@executeInEditMode(true) +export class TestPuzzle extends Component { + @property({type:Node}) + public piece:Node; + start(): void { + if (!this.piece) + return + + this.node.removeAllChildren(); + for (let c = 0; c < 10; c++) { + for (let r = 0; r < 6; r++) { + let idx = c + r * 10; + if (idx < this.node.children.length) + continue; + let node = instantiate(this.piece); + this.node.addChild(node) + // let node = this.node.children[idx] + node.setPosition(c * 80, (6 - r) * 80, 0) + node.getComponent(PuzzleSprite).columnMax = 10 + node.getComponent(PuzzleSprite).rowMax = 6 + node.getComponent(PuzzleSprite).column = c + 1 + node.getComponent(PuzzleSprite).row = r + 1 + } + } + } +} + + diff --git a/assets/scripts/testComponents/TestPuzzle.ts.meta b/assets/scripts/testComponents/TestPuzzle.ts.meta new file mode 100644 index 0000000..7a150bd --- /dev/null +++ b/assets/scripts/testComponents/TestPuzzle.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "001cf388-4bdf-4143-8ecf-bd9a2b618966", + "files": [], + "subMetas": {}, + "userData": {} +}