update
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"image": {
|
"image": {
|
||||||
"type": "texture"
|
"type": "sprite-frame"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
12
.gitignore
vendored
@@ -11,14 +11,4 @@ native
|
|||||||
#//////////////////////////
|
#//////////////////////////
|
||||||
# NPM
|
# NPM
|
||||||
#//////////////////////////
|
#//////////////////////////
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
#//////////////////////////
|
|
||||||
# VSCode
|
|
||||||
#//////////////////////////
|
|
||||||
.vscode/
|
|
||||||
|
|
||||||
#//////////////////////////
|
|
||||||
# WebStorm
|
|
||||||
#//////////////////////////
|
|
||||||
.idea/
|
|
||||||
8
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# 默认忽略的文件
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# 基于编辑器的 HTTP 客户端请求
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
62
.idea/codeStyles/Project.xml
generated
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
<component name="ProjectCodeStyleConfiguration">
|
||||||
|
<code_scheme name="Project" version="173">
|
||||||
|
<option name="LINE_SEPARATOR" value=" " />
|
||||||
|
<HTMLCodeStyleSettings>
|
||||||
|
<option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
|
||||||
|
</HTMLCodeStyleSettings>
|
||||||
|
<JSCodeStyleSettings version="0">
|
||||||
|
<option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
|
||||||
|
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
||||||
|
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
||||||
|
<option name="USE_DOUBLE_QUOTES" value="false" />
|
||||||
|
<option name="FORCE_QUOTE_STYlE" value="true" />
|
||||||
|
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
||||||
|
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
||||||
|
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
||||||
|
</JSCodeStyleSettings>
|
||||||
|
<TypeScriptCodeStyleSettings version="0">
|
||||||
|
<option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
|
||||||
|
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
||||||
|
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
||||||
|
<option name="USE_DOUBLE_QUOTES" value="false" />
|
||||||
|
<option name="FORCE_QUOTE_STYlE" value="true" />
|
||||||
|
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
||||||
|
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
||||||
|
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
||||||
|
</TypeScriptCodeStyleSettings>
|
||||||
|
<VueCodeStyleSettings>
|
||||||
|
<option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
|
||||||
|
<option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
|
||||||
|
</VueCodeStyleSettings>
|
||||||
|
<codeStyleSettings language="HTML">
|
||||||
|
<option name="SOFT_MARGINS" value="100" />
|
||||||
|
<indentOptions>
|
||||||
|
<option name="INDENT_SIZE" value="2" />
|
||||||
|
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
||||||
|
<option name="TAB_SIZE" value="2" />
|
||||||
|
</indentOptions>
|
||||||
|
</codeStyleSettings>
|
||||||
|
<codeStyleSettings language="JavaScript">
|
||||||
|
<option name="SOFT_MARGINS" value="100" />
|
||||||
|
<indentOptions>
|
||||||
|
<option name="INDENT_SIZE" value="2" />
|
||||||
|
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
||||||
|
<option name="TAB_SIZE" value="2" />
|
||||||
|
</indentOptions>
|
||||||
|
</codeStyleSettings>
|
||||||
|
<codeStyleSettings language="TypeScript">
|
||||||
|
<option name="SOFT_MARGINS" value="100" />
|
||||||
|
<indentOptions>
|
||||||
|
<option name="INDENT_SIZE" value="2" />
|
||||||
|
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
||||||
|
<option name="TAB_SIZE" value="2" />
|
||||||
|
</indentOptions>
|
||||||
|
</codeStyleSettings>
|
||||||
|
<codeStyleSettings language="Vue">
|
||||||
|
<option name="SOFT_MARGINS" value="100" />
|
||||||
|
<indentOptions>
|
||||||
|
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
||||||
|
</indentOptions>
|
||||||
|
</codeStyleSettings>
|
||||||
|
</code_scheme>
|
||||||
|
</component>
|
||||||
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<component name="ProjectCodeStyleConfiguration">
|
||||||
|
<state>
|
||||||
|
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||||
|
</state>
|
||||||
|
</component>
|
||||||
7
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<profile version="1.0">
|
||||||
|
<option name="myName" value="Project Default" />
|
||||||
|
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="Stylelint" enabled="true" level="ERROR" enabled_by_default="true" />
|
||||||
|
</profile>
|
||||||
|
</component>
|
||||||
12
.idea/jdt-fish-client.iml
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
6
.idea/jsLibraryMappings.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="JavaScriptLibraryMappings">
|
||||||
|
<includedPredefinedLibrary name="Node.js Core" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
6
.idea/jsLinters/eslint.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="EslintConfiguration">
|
||||||
|
<option name="fix-on-save" value="true" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
9
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="MarkdownSettings">
|
||||||
|
<option name="fileGroupingEnabled" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="MarkdownSettingsMigration">
|
||||||
|
<option name="stateVersion" value="1" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/jdt-fish-client.iml" filepath="$PROJECT_DIR$/.idea/jdt-fish-client.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
6
.idea/prettier.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="PrettierConfiguration">
|
||||||
|
<option name="myConfigurationMode" value="AUTOMATIC" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
BIN
assets/.DS_Store
vendored
BIN
assets/FishSingle/.DS_Store
vendored
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Click Effect",
|
"_name": "Click Effect",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Click Effect",
|
"_name": "Click Effect",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -55,6 +55,7 @@
|
|||||||
"y": 1,
|
"y": 1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -62,15 +63,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -79,9 +78,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -104,9 +103,7 @@
|
|||||||
"_fillRange": 0,
|
"_fillRange": 0,
|
||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": null,
|
||||||
"__uuid__": "7f560c03-1db2-49db-abb7-65e14eed3ef5"
|
|
||||||
},
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -117,6 +114,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -127,11 +125,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "71a28c77-5924-40de-9a2e-df84682de9a6"
|
"__uuid__": "71a28c77-5924-40de-9a2e-df84682de9a6",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "71a28c77-5924-40de-9a2e-df84682de9a6"
|
"__uuid__": "71a28c77-5924-40de-9a2e-df84682de9a6",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -143,6 +143,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -150,7 +151,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 7
|
"__id__": 7
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -160,6 +162,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -167,7 +170,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 40,
|
"width": 40,
|
||||||
@@ -177,7 +179,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -191,6 +194,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "04Iog1bgRF3oo4bMCXFBTg"
|
"fileId": "04Iog1bgRF3oo4bMCXFBTg",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
BIN
assets/FishSingle/fish/.DS_Store
vendored
BIN
assets/FishSingle/fish/pic/.DS_Store
vendored
Normal file
BIN
assets/FishSingle/fish/pic/weapon_level_3_0.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
134
assets/FishSingle/fish/pic/weapon_level_3_0.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "511b874d-bc3c-4dc0-a237-dcc6aef6dbbd",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "511b874d-bc3c-4dc0-a237-dcc6aef6dbbd@6c48a",
|
||||||
|
"displayName": "weapon_level_3_0",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "511b874d-bc3c-4dc0-a237-dcc6aef6dbbd",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "511b874d-bc3c-4dc0-a237-dcc6aef6dbbd@f9941",
|
||||||
|
"displayName": "weapon_level_3_0",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 51,
|
||||||
|
"height": 69,
|
||||||
|
"rawWidth": 51,
|
||||||
|
"rawHeight": 69,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-25.5,
|
||||||
|
-34.5,
|
||||||
|
0,
|
||||||
|
25.5,
|
||||||
|
-34.5,
|
||||||
|
0,
|
||||||
|
-25.5,
|
||||||
|
34.5,
|
||||||
|
0,
|
||||||
|
25.5,
|
||||||
|
34.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
69,
|
||||||
|
51,
|
||||||
|
69,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
51,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-25.5,
|
||||||
|
-34.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
25.5,
|
||||||
|
34.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "511b874d-bc3c-4dc0-a237-dcc6aef6dbbd@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "511b874d-bc3c-4dc0-a237-dcc6aef6dbbd@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/FishSingle/fish/pic/weapon_level_4_0.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
134
assets/FishSingle/fish/pic/weapon_level_4_0.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "7ef4a8d8-105a-4d0b-90e7-28f3e1643d60",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "7ef4a8d8-105a-4d0b-90e7-28f3e1643d60@6c48a",
|
||||||
|
"displayName": "weapon_level_4_0",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "7ef4a8d8-105a-4d0b-90e7-28f3e1643d60",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "7ef4a8d8-105a-4d0b-90e7-28f3e1643d60@f9941",
|
||||||
|
"displayName": "weapon_level_4_0",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 54,
|
||||||
|
"height": 71,
|
||||||
|
"rawWidth": 54,
|
||||||
|
"rawHeight": 71,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-27,
|
||||||
|
-35.5,
|
||||||
|
0,
|
||||||
|
27,
|
||||||
|
-35.5,
|
||||||
|
0,
|
||||||
|
-27,
|
||||||
|
35.5,
|
||||||
|
0,
|
||||||
|
27,
|
||||||
|
35.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
71,
|
||||||
|
54,
|
||||||
|
71,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
54,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-27,
|
||||||
|
-35.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
27,
|
||||||
|
35.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "7ef4a8d8-105a-4d0b-90e7-28f3e1643d60@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "7ef4a8d8-105a-4d0b-90e7-28f3e1643d60@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/FishSingle/fish/pic/weapon_level_5_0.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
134
assets/FishSingle/fish/pic/weapon_level_5_0.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "c6812ce7-61f0-40f9-aa8f-d1121cc713df",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "c6812ce7-61f0-40f9-aa8f-d1121cc713df@6c48a",
|
||||||
|
"displayName": "weapon_level_5_0",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "c6812ce7-61f0-40f9-aa8f-d1121cc713df",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "c6812ce7-61f0-40f9-aa8f-d1121cc713df@f9941",
|
||||||
|
"displayName": "weapon_level_5_0",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 57,
|
||||||
|
"height": 75,
|
||||||
|
"rawWidth": 57,
|
||||||
|
"rawHeight": 75,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-28.5,
|
||||||
|
-37.5,
|
||||||
|
0,
|
||||||
|
28.5,
|
||||||
|
-37.5,
|
||||||
|
0,
|
||||||
|
-28.5,
|
||||||
|
37.5,
|
||||||
|
0,
|
||||||
|
28.5,
|
||||||
|
37.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
75,
|
||||||
|
57,
|
||||||
|
75,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
57,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-28.5,
|
||||||
|
-37.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
28.5,
|
||||||
|
37.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "c6812ce7-61f0-40f9-aa8f-d1121cc713df@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "c6812ce7-61f0-40f9-aa8f-d1121cc713df@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/FishSingle/fish/pic/weapon_level_6_0.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
134
assets/FishSingle/fish/pic/weapon_level_6_0.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "62538856-6491-4ae4-a146-7a5d73c776e6",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "62538856-6491-4ae4-a146-7a5d73c776e6@6c48a",
|
||||||
|
"displayName": "weapon_level_6_0",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "62538856-6491-4ae4-a146-7a5d73c776e6",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "62538856-6491-4ae4-a146-7a5d73c776e6@f9941",
|
||||||
|
"displayName": "weapon_level_6_0",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 59,
|
||||||
|
"height": 80,
|
||||||
|
"rawWidth": 59,
|
||||||
|
"rawHeight": 80,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-29.5,
|
||||||
|
-40,
|
||||||
|
0,
|
||||||
|
29.5,
|
||||||
|
-40,
|
||||||
|
0,
|
||||||
|
-29.5,
|
||||||
|
40,
|
||||||
|
0,
|
||||||
|
29.5,
|
||||||
|
40,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
80,
|
||||||
|
59,
|
||||||
|
80,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
59,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-29.5,
|
||||||
|
-40,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
29.5,
|
||||||
|
40,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "62538856-6491-4ae4-a146-7a5d73c776e6@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "62538856-6491-4ae4-a146-7a5d73c776e6@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/FishSingle/fish/pic/weapon_level_7_0.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
134
assets/FishSingle/fish/pic/weapon_level_7_0.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "2d2df4eb-a4f1-4dfc-8a3b-fcbe190084b5",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "2d2df4eb-a4f1-4dfc-8a3b-fcbe190084b5@6c48a",
|
||||||
|
"displayName": "weapon_level_7_0",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "2d2df4eb-a4f1-4dfc-8a3b-fcbe190084b5",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "2d2df4eb-a4f1-4dfc-8a3b-fcbe190084b5@f9941",
|
||||||
|
"displayName": "weapon_level_7_0",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 63,
|
||||||
|
"height": 87,
|
||||||
|
"rawWidth": 63,
|
||||||
|
"rawHeight": 87,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-31.5,
|
||||||
|
-43.5,
|
||||||
|
0,
|
||||||
|
31.5,
|
||||||
|
-43.5,
|
||||||
|
0,
|
||||||
|
-31.5,
|
||||||
|
43.5,
|
||||||
|
0,
|
||||||
|
31.5,
|
||||||
|
43.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
87,
|
||||||
|
63,
|
||||||
|
87,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
63,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-31.5,
|
||||||
|
-43.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
31.5,
|
||||||
|
43.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "2d2df4eb-a4f1-4dfc-8a3b-fcbe190084b5@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "2d2df4eb-a4f1-4dfc-8a3b-fcbe190084b5@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish1",
|
"_name": "Fish1",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish1",
|
"_name": "Fish1",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "93c2f724-ed94-4f0c-a8ca-7f6a303c15be@9755b"
|
"__uuid__": "93c2f724-ed94-4f0c-a8ca-7f6a303c15be@9755b",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "93c2f724-ed94-4f0c-a8ca-7f6a303c15be"
|
"__uuid__": "93c2f724-ed94-4f0c-a8ca-7f6a303c15be",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "f0d73212-6204-4066-a320-9f69893989cd"
|
"__uuid__": "f0d73212-6204-4066-a320-9f69893989cd",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "f0d73212-6204-4066-a320-9f69893989cd"
|
"__uuid__": "f0d73212-6204-4066-a320-9f69893989cd",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 1,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 1,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 72,
|
"width": 72,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish10",
|
"_name": "Fish10",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish10",
|
"_name": "Fish10",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "d2126827-fe71-4739-9c2e-eead63785b23@e6f1d"
|
"__uuid__": "d2126827-fe71-4739-9c2e-eead63785b23@e6f1d",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "d2126827-fe71-4739-9c2e-eead63785b23"
|
"__uuid__": "d2126827-fe71-4739-9c2e-eead63785b23",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "e17a527d-4428-40a7-9683-7ad523432897"
|
"__uuid__": "e17a527d-4428-40a7-9683-7ad523432897",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "e17a527d-4428-40a7-9683-7ad523432897"
|
"__uuid__": "e17a527d-4428-40a7-9683-7ad523432897",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 10,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 10,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 118,
|
"width": 118,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish11",
|
"_name": "Fish11",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish11",
|
"_name": "Fish11",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "065231ca-a207-4363-bba0-7786e89733cc@5a942"
|
"__uuid__": "065231ca-a207-4363-bba0-7786e89733cc@5a942",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "065231ca-a207-4363-bba0-7786e89733cc"
|
"__uuid__": "065231ca-a207-4363-bba0-7786e89733cc",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "5d6f772a-d206-41b3-88d7-af08f2a9c337"
|
"__uuid__": "5d6f772a-d206-41b3-88d7-af08f2a9c337",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "5d6f772a-d206-41b3-88d7-af08f2a9c337"
|
"__uuid__": "5d6f772a-d206-41b3-88d7-af08f2a9c337",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 11,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 11,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 106,
|
"width": 106,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish12",
|
"_name": "Fish12",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish12",
|
"_name": "Fish12",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "2e4e01b9-8a30-4d74-8aed-1b2704a795cc@f3e0e"
|
"__uuid__": "2e4e01b9-8a30-4d74-8aed-1b2704a795cc@f3e0e",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "2e4e01b9-8a30-4d74-8aed-1b2704a795cc"
|
"__uuid__": "2e4e01b9-8a30-4d74-8aed-1b2704a795cc",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "71cb744b-ea83-4d5a-8516-215e397dfdaa"
|
"__uuid__": "71cb744b-ea83-4d5a-8516-215e397dfdaa",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "71cb744b-ea83-4d5a-8516-215e397dfdaa"
|
"__uuid__": "71cb744b-ea83-4d5a-8516-215e397dfdaa",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 12,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 12,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 140,
|
"width": 140,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish13",
|
"_name": "Fish13",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish13",
|
"_name": "Fish13",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 2,
|
||||||
"y": 1,
|
"y": 2,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "352c9803-6c53-4d8f-ba10-deec62a91cda@11aa1"
|
"__uuid__": "352c9803-6c53-4d8f-ba10-deec62a91cda@11aa1",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "352c9803-6c53-4d8f-ba10-deec62a91cda"
|
"__uuid__": "352c9803-6c53-4d8f-ba10-deec62a91cda",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "42b329aa-ff32-47cd-8b3c-88b068c0dfb3"
|
"__uuid__": "42b329aa-ff32-47cd-8b3c-88b068c0dfb3",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "42b329aa-ff32-47cd-8b3c-88b068c0dfb3"
|
"__uuid__": "42b329aa-ff32-47cd-8b3c-88b068c0dfb3",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 13,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 13,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 187,
|
"width": 187,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish14",
|
"_name": "Fish14",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish14",
|
"_name": "Fish14",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "3b3e5578-dce9-43ce-a813-9a37e0d45e48@40c7c"
|
"__uuid__": "3b3e5578-dce9-43ce-a813-9a37e0d45e48@40c7c",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "3b3e5578-dce9-43ce-a813-9a37e0d45e48"
|
"__uuid__": "3b3e5578-dce9-43ce-a813-9a37e0d45e48",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "9c12558b-de44-410f-b49f-5853230941b1"
|
"__uuid__": "9c12558b-de44-410f-b49f-5853230941b1",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "9c12558b-de44-410f-b49f-5853230941b1"
|
"__uuid__": "9c12558b-de44-410f-b49f-5853230941b1",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 14,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 14,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 72,
|
"width": 72,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish15",
|
"_name": "Fish15",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish15",
|
"_name": "Fish15",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 2,
|
||||||
"y": 1,
|
"y": 2,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "e42f83bb-200e-445e-a9b5-7dbb8a331f57@4cf03"
|
"__uuid__": "e42f83bb-200e-445e-a9b5-7dbb8a331f57@4cf03",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "e42f83bb-200e-445e-a9b5-7dbb8a331f57"
|
"__uuid__": "e42f83bb-200e-445e-a9b5-7dbb8a331f57",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "69f18979-51b5-47d3-bfb1-0d7df4592a44"
|
"__uuid__": "69f18979-51b5-47d3-bfb1-0d7df4592a44",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "69f18979-51b5-47d3-bfb1-0d7df4592a44"
|
"__uuid__": "69f18979-51b5-47d3-bfb1-0d7df4592a44",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 15,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 15,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 280,
|
"width": 280,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish16",
|
"_name": "Fish16",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish16",
|
"_name": "Fish16",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 2,
|
||||||
"y": 1,
|
"y": 2,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "5be2479e-33c7-4c76-93be-e25b5f6dc729@942cf"
|
"__uuid__": "5be2479e-33c7-4c76-93be-e25b5f6dc729@942cf",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "5be2479e-33c7-4c76-93be-e25b5f6dc729"
|
"__uuid__": "5be2479e-33c7-4c76-93be-e25b5f6dc729",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "71c51c0e-ec84-453b-8eec-797c3380f73c"
|
"__uuid__": "71c51c0e-ec84-453b-8eec-797c3380f73c",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "71c51c0e-ec84-453b-8eec-797c3380f73c"
|
"__uuid__": "71c51c0e-ec84-453b-8eec-797c3380f73c",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 16,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 16,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 340,
|
"width": 340,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish17",
|
"_name": "Fish17",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish17",
|
"_name": "Fish17",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [
|
"_children": [
|
||||||
{
|
{
|
||||||
@@ -76,10 +76,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 1.5,
|
||||||
"y": 1,
|
"y": 1.5,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -87,15 +88,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Aura Tail",
|
"_name": "Aura Tail",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -134,6 +133,7 @@
|
|||||||
"y": 1,
|
"y": 1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -141,15 +141,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 2
|
"__id__": 2
|
||||||
},
|
},
|
||||||
@@ -158,9 +156,9 @@
|
|||||||
"__id__": 4
|
"__id__": 4
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -171,7 +169,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b@bd0d8"
|
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b@bd0d8",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -186,7 +185,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b"
|
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -198,6 +198,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 2
|
"__id__": 2
|
||||||
},
|
},
|
||||||
@@ -205,7 +206,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 6
|
"__id__": 6
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -215,6 +217,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 2
|
"__id__": 2
|
||||||
},
|
},
|
||||||
@@ -222,7 +225,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 8
|
"__id__": 8
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 128,
|
"width": 128,
|
||||||
@@ -232,7 +234,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -246,12 +249,16 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "e9KE2M+HlNGLuowgNFtVvB"
|
"fileId": "e9KE2M+HlNGLuowgNFtVvB",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Aura Middle",
|
"_name": "Aura Middle",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -290,6 +297,7 @@
|
|||||||
"y": 1.4,
|
"y": 1.4,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -297,15 +305,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 10
|
"__id__": 10
|
||||||
},
|
},
|
||||||
@@ -314,9 +320,9 @@
|
|||||||
"__id__": 12
|
"__id__": 12
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -327,7 +333,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b@bd0d8"
|
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b@bd0d8",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -342,7 +349,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b"
|
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -354,6 +362,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 10
|
"__id__": 10
|
||||||
},
|
},
|
||||||
@@ -361,7 +370,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 14
|
"__id__": 14
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -371,6 +381,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 10
|
"__id__": 10
|
||||||
},
|
},
|
||||||
@@ -378,7 +389,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 16
|
"__id__": 16
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 128,
|
"width": 128,
|
||||||
@@ -388,7 +398,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -402,12 +413,16 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "e8yB5mEDdNLacMF2+YdPE2"
|
"fileId": "e8yB5mEDdNLacMF2+YdPE2",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Aura Head",
|
"_name": "Aura Head",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -446,6 +461,7 @@
|
|||||||
"y": 1,
|
"y": 1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -453,15 +469,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 18
|
"__id__": 18
|
||||||
},
|
},
|
||||||
@@ -470,9 +484,9 @@
|
|||||||
"__id__": 20
|
"__id__": 20
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -483,7 +497,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b@bd0d8"
|
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b@bd0d8",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -498,7 +513,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b"
|
"__uuid__": "21b441a6-ca90-4dad-a919-b3a4524d720b",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -510,6 +526,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 18
|
"__id__": 18
|
||||||
},
|
},
|
||||||
@@ -517,7 +534,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 22
|
"__id__": 22
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -527,6 +545,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 18
|
"__id__": 18
|
||||||
},
|
},
|
||||||
@@ -534,7 +553,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 24
|
"__id__": 24
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 128,
|
"width": 128,
|
||||||
@@ -544,7 +562,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -558,12 +577,16 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "c8pMDib3FCu60byqzGdcvX"
|
"fileId": "c8pMDib3FCu60byqzGdcvX",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish Tail",
|
"_name": "Fish Tail",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -605,6 +628,7 @@
|
|||||||
"y": 1,
|
"y": 1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -612,15 +636,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 26
|
"__id__": 26
|
||||||
},
|
},
|
||||||
@@ -629,9 +651,9 @@
|
|||||||
"__id__": 28
|
"__id__": 28
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -642,7 +664,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a@3ad0e"
|
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a@3ad0e",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -657,7 +680,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a"
|
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -669,6 +693,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 26
|
"__id__": 26
|
||||||
},
|
},
|
||||||
@@ -679,11 +704,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd"
|
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd"
|
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -695,6 +722,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 26
|
"__id__": 26
|
||||||
},
|
},
|
||||||
@@ -702,7 +730,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 32
|
"__id__": 32
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -712,6 +741,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 26
|
"__id__": 26
|
||||||
},
|
},
|
||||||
@@ -719,7 +749,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 34
|
"__id__": 34
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 88,
|
"width": 88,
|
||||||
@@ -729,7 +758,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -743,12 +773,16 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "d7fdXt81lDULlkr6FtD9cc"
|
"fileId": "d7fdXt81lDULlkr6FtD9cc",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish Middle",
|
"_name": "Fish Middle",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -790,6 +824,7 @@
|
|||||||
"y": 2.2,
|
"y": 2.2,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -797,15 +832,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 36
|
"__id__": 36
|
||||||
},
|
},
|
||||||
@@ -814,9 +847,9 @@
|
|||||||
"__id__": 38
|
"__id__": 38
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -827,7 +860,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "3b3e5578-dce9-43ce-a813-9a37e0d45e48@40c7c"
|
"__uuid__": "3b3e5578-dce9-43ce-a813-9a37e0d45e48@40c7c",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -842,7 +876,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "3b3e5578-dce9-43ce-a813-9a37e0d45e48"
|
"__uuid__": "3b3e5578-dce9-43ce-a813-9a37e0d45e48",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -854,6 +889,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 36
|
"__id__": 36
|
||||||
},
|
},
|
||||||
@@ -864,11 +900,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "9c12558b-de44-410f-b49f-5853230941b1"
|
"__uuid__": "9c12558b-de44-410f-b49f-5853230941b1",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "9c12558b-de44-410f-b49f-5853230941b1"
|
"__uuid__": "9c12558b-de44-410f-b49f-5853230941b1",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -880,6 +918,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 36
|
"__id__": 36
|
||||||
},
|
},
|
||||||
@@ -887,7 +926,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 42
|
"__id__": 42
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -897,6 +937,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 36
|
"__id__": 36
|
||||||
},
|
},
|
||||||
@@ -904,7 +945,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 44
|
"__id__": 44
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 72,
|
"width": 72,
|
||||||
@@ -914,7 +954,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -928,12 +969,16 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "0aJ104ErlOB7J60SIDGmL0"
|
"fileId": "0aJ104ErlOB7J60SIDGmL0",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish Head",
|
"_name": "Fish Head",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -975,6 +1020,7 @@
|
|||||||
"y": 1,
|
"y": 1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -982,15 +1028,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 46
|
"__id__": 46
|
||||||
},
|
},
|
||||||
@@ -999,9 +1043,9 @@
|
|||||||
"__id__": 48
|
"__id__": 48
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -1012,7 +1056,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a@3ad0e"
|
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a@3ad0e",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -1027,7 +1072,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a"
|
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -1039,6 +1085,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 46
|
"__id__": 46
|
||||||
},
|
},
|
||||||
@@ -1049,11 +1096,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd"
|
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd"
|
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -1065,6 +1114,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 46
|
"__id__": 46
|
||||||
},
|
},
|
||||||
@@ -1072,7 +1122,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 52
|
"__id__": 52
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -1082,6 +1133,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 46
|
"__id__": 46
|
||||||
},
|
},
|
||||||
@@ -1089,7 +1141,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 54
|
"__id__": 54
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 88,
|
"width": 88,
|
||||||
@@ -1099,7 +1150,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -1113,12 +1165,16 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "2cGbGc0mNJp6NBBV1eaSjV"
|
"fileId": "2cGbGc0mNJp6NBBV1eaSjV",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -1129,11 +1185,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "d634b6d3-5dbf-48c9-a0bc-61977878c8e7"
|
"__uuid__": "d634b6d3-5dbf-48c9-a0bc-61977878c8e7",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "d634b6d3-5dbf-48c9-a0bc-61977878c8e7"
|
"__uuid__": "d634b6d3-5dbf-48c9-a0bc-61977878c8e7",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -1145,6 +1203,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -1178,16 +1237,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 17,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 61
|
"__id__": 61
|
||||||
}
|
},
|
||||||
|
"fishType": 17,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -1197,14 +1257,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 63
|
"__id__": 63
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -1214,6 +1275,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -1221,7 +1283,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 65
|
"__id__": 65
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -1231,6 +1294,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -1238,7 +1302,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 67
|
"__id__": 67
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 390,
|
"width": 390,
|
||||||
@@ -1248,7 +1311,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -1262,6 +1326,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "16XB8pfHBIELcPmfMvv/nD"
|
"fileId": "16XB8pfHBIELcPmfMvv/nD",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish18",
|
"_name": "Fish18",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish18",
|
"_name": "Fish18",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 2,
|
||||||
"y": 1,
|
"y": 2,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "91a85e7e-2d0a-4294-8cb0-53478537bc55@6e2fd"
|
"__uuid__": "91a85e7e-2d0a-4294-8cb0-53478537bc55@6e2fd",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "91a85e7e-2d0a-4294-8cb0-53478537bc55"
|
"__uuid__": "91a85e7e-2d0a-4294-8cb0-53478537bc55",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "2485429c-f56b-4248-b865-ed51e490c8a8"
|
"__uuid__": "2485429c-f56b-4248-b865-ed51e490c8a8",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "2485429c-f56b-4248-b865-ed51e490c8a8"
|
"__uuid__": "2485429c-f56b-4248-b865-ed51e490c8a8",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 18,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 18,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 160,
|
"width": 160,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish2",
|
"_name": "Fish2",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish2",
|
"_name": "Fish2",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "9db8c528-dae8-4e5a-a35b-43406ae12486@a9841"
|
"__uuid__": "9db8c528-dae8-4e5a-a35b-43406ae12486@a9841",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "9db8c528-dae8-4e5a-a35b-43406ae12486"
|
"__uuid__": "9db8c528-dae8-4e5a-a35b-43406ae12486",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "3d05305d-6627-4e0c-9511-cd01676d144c"
|
"__uuid__": "3d05305d-6627-4e0c-9511-cd01676d144c",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "3d05305d-6627-4e0c-9511-cd01676d144c"
|
"__uuid__": "3d05305d-6627-4e0c-9511-cd01676d144c",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 2,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 2,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 82,
|
"width": 82,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish20",
|
"_name": "Fish20",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish20",
|
"_name": "Fish20",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 2,
|
||||||
"y": 1,
|
"y": 2,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "4c39bae7-e304-433f-90d1-b01f8ce1f50d@53e28"
|
"__uuid__": "4c39bae7-e304-433f-90d1-b01f8ce1f50d@53e28",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "4c39bae7-e304-433f-90d1-b01f8ce1f50d"
|
"__uuid__": "4c39bae7-e304-433f-90d1-b01f8ce1f50d",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "27e6df97-4896-42ca-abe6-34554eee08fc"
|
"__uuid__": "27e6df97-4896-42ca-abe6-34554eee08fc",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "27e6df97-4896-42ca-abe6-34554eee08fc"
|
"__uuid__": "27e6df97-4896-42ca-abe6-34554eee08fc",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 20,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 20,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 380,
|
"width": 380,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish24",
|
"_name": "Fish24",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish24",
|
"_name": "Fish24",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [
|
"_children": [
|
||||||
{
|
{
|
||||||
@@ -65,6 +65,7 @@
|
|||||||
"y": 1,
|
"y": 1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -72,15 +73,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Sprite",
|
"_name": "Sprite",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -119,6 +118,7 @@
|
|||||||
"y": 1,
|
"y": 1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -126,15 +126,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 90
|
"z": 90
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 2
|
"__id__": 2
|
||||||
},
|
},
|
||||||
@@ -143,9 +141,9 @@
|
|||||||
"__id__": 4
|
"__id__": 4
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -156,7 +154,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "e0530ef6-394e-4c6c-9615-375bc9a13a21@5abcb"
|
"__uuid__": "e0530ef6-394e-4c6c-9615-375bc9a13a21@5abcb",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -171,7 +170,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "e0530ef6-394e-4c6c-9615-375bc9a13a21"
|
"__uuid__": "e0530ef6-394e-4c6c-9615-375bc9a13a21",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -183,6 +183,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 2
|
"__id__": 2
|
||||||
},
|
},
|
||||||
@@ -190,7 +191,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 6
|
"__id__": 6
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -200,6 +202,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 2
|
"__id__": 2
|
||||||
},
|
},
|
||||||
@@ -207,7 +210,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 8
|
"__id__": 8
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 160,
|
"width": 160,
|
||||||
@@ -217,7 +219,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -231,12 +234,16 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "2eGfPyradLS4VS8RlEF/Fb"
|
"fileId": "2eGfPyradLS4VS8RlEF/Fb",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -270,6 +277,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -280,11 +288,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "063d7bdc-6650-4b40-a7f7-9afc4a3deb4a"
|
"__uuid__": "063d7bdc-6650-4b40-a7f7-9afc4a3deb4a",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "063d7bdc-6650-4b40-a7f7-9afc4a3deb4a"
|
"__uuid__": "063d7bdc-6650-4b40-a7f7-9afc4a3deb4a",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -296,16 +306,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 24,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
}
|
},
|
||||||
|
"fishType": 24,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -315,14 +326,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 17
|
"__id__": 17
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -332,6 +344,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -339,7 +352,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 19
|
"__id__": 19
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -349,6 +363,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -356,7 +371,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 21
|
"__id__": 21
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 72,
|
"width": 72,
|
||||||
@@ -366,7 +380,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -380,6 +395,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "275EqqIrVC+IeN9rlHGt2L"
|
"fileId": "275EqqIrVC+IeN9rlHGt2L",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish3",
|
"_name": "Fish3",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish3",
|
"_name": "Fish3",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "32f9df4c-ff0f-447a-92f1-3d3aa53e8ff0@0dd99"
|
"__uuid__": "32f9df4c-ff0f-447a-92f1-3d3aa53e8ff0@0dd99",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "32f9df4c-ff0f-447a-92f1-3d3aa53e8ff0"
|
"__uuid__": "32f9df4c-ff0f-447a-92f1-3d3aa53e8ff0",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "b62b9130-675a-45a9-b65e-1b55c5814675"
|
"__uuid__": "b62b9130-675a-45a9-b65e-1b55c5814675",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "b62b9130-675a-45a9-b65e-1b55c5814675"
|
"__uuid__": "b62b9130-675a-45a9-b65e-1b55c5814675",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 3,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 3,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 48,
|
"width": 48,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish4",
|
"_name": "Fish4",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish4",
|
"_name": "Fish4",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "3ccc1345-0250-41f6-8000-e754061ee84d@2ef7d"
|
"__uuid__": "3ccc1345-0250-41f6-8000-e754061ee84d@2ef7d",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "3ccc1345-0250-41f6-8000-e754061ee84d"
|
"__uuid__": "3ccc1345-0250-41f6-8000-e754061ee84d",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "d8996496-648c-4ab9-9268-c561e3f70bcc"
|
"__uuid__": "d8996496-648c-4ab9-9268-c561e3f70bcc",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "d8996496-648c-4ab9-9268-c561e3f70bcc"
|
"__uuid__": "d8996496-648c-4ab9-9268-c561e3f70bcc",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 4,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 4,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 60,
|
"width": 60,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish5",
|
"_name": "Fish5",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish5",
|
"_name": "Fish5",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "ffdb3623-e0fd-4c59-aef5-acdfd6a09d44@43452"
|
"__uuid__": "ffdb3623-e0fd-4c59-aef5-acdfd6a09d44@43452",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "ffdb3623-e0fd-4c59-aef5-acdfd6a09d44"
|
"__uuid__": "ffdb3623-e0fd-4c59-aef5-acdfd6a09d44",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "cdf46818-beeb-4fa6-9de0-03dbb80970d6"
|
"__uuid__": "cdf46818-beeb-4fa6-9de0-03dbb80970d6",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "cdf46818-beeb-4fa6-9de0-03dbb80970d6"
|
"__uuid__": "cdf46818-beeb-4fa6-9de0-03dbb80970d6",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 5,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 5,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 62,
|
"width": 62,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish6",
|
"_name": "Fish6",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish6",
|
"_name": "Fish6",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a@3ad0e"
|
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a@3ad0e",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a"
|
"__uuid__": "1992ce6d-8279-48be-a1dd-2f9c3d9e7d6a",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd"
|
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd"
|
"__uuid__": "42335d8d-2042-4204-8772-6f3f241cbdbd",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 6,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 6,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 88,
|
"width": 88,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish7",
|
"_name": "Fish7",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish7",
|
"_name": "Fish7",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 1.5,
|
||||||
"y": 1,
|
"y": 1.5,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "0021d952-9879-45ad-a76b-30b82e1c6104@d1ecd"
|
"__uuid__": "0021d952-9879-45ad-a76b-30b82e1c6104@d1ecd",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "0021d952-9879-45ad-a76b-30b82e1c6104"
|
"__uuid__": "0021d952-9879-45ad-a76b-30b82e1c6104",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "4fa328b7-7054-4430-b113-7bab95ac94b3"
|
"__uuid__": "4fa328b7-7054-4430-b113-7bab95ac94b3",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "4fa328b7-7054-4430-b113-7bab95ac94b3"
|
"__uuid__": "4fa328b7-7054-4430-b113-7bab95ac94b3",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 7,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 7,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 106,
|
"width": 106,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish8",
|
"_name": "Fish8",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish8",
|
"_name": "Fish8",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 3,
|
||||||
"y": 1,
|
"y": 3,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "0190f1af-d5b4-4053-8850-ab0e2e0b0bf2@acc0d"
|
"__uuid__": "0190f1af-d5b4-4053-8850-ab0e2e0b0bf2@acc0d",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "0190f1af-d5b4-4053-8850-ab0e2e0b0bf2"
|
"__uuid__": "0190f1af-d5b4-4053-8850-ab0e2e0b0bf2",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "b21b52a9-08e5-4869-89dd-6e1bd2b82ca2"
|
"__uuid__": "b21b52a9-08e5-4869-89dd-6e1bd2b82ca2",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "b21b52a9-08e5-4869-89dd-6e1bd2b82ca2"
|
"__uuid__": "b21b52a9-08e5-4869-89dd-6e1bd2b82ca2",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 8,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 8,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 78,
|
"width": 78,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3,19 +3,19 @@
|
|||||||
"__type__": "cc.Prefab",
|
"__type__": "cc.Prefab",
|
||||||
"_name": "Fish9",
|
"_name": "Fish9",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_native": "",
|
"_native": "",
|
||||||
"data": {
|
"data": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"optimizationPolicy": 0,
|
"optimizationPolicy": 0,
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"readonly": false,
|
|
||||||
"persistent": false
|
"persistent": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Fish9",
|
"_name": "Fish9",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"_parent": null,
|
"_parent": null,
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
@@ -60,10 +60,11 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 1.5,
|
||||||
"y": 1,
|
"y": 1.5,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
|
"_mobility": 0,
|
||||||
"_layer": 1,
|
"_layer": 1,
|
||||||
"_euler": {
|
"_euler": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -71,15 +72,13 @@
|
|||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -88,9 +87,9 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
"_customMaterial": {
|
"_customMaterial": {
|
||||||
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8"
|
"__uuid__": "fda095cb-831d-4601-ad94-846013963de8",
|
||||||
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"_visFlags": 0,
|
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
"_dstBlendFactor": 4,
|
"_dstBlendFactor": 4,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -101,7 +100,8 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "aed1f5f3-0643-4ad1-8536-65d1294b7db1@5f735"
|
"__uuid__": "aed1f5f3-0643-4ad1-8536-65d1294b7db1@5f735",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
@@ -116,7 +116,8 @@
|
|||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": {
|
||||||
"__uuid__": "aed1f5f3-0643-4ad1-8536-65d1294b7db1"
|
"__uuid__": "aed1f5f3-0643-4ad1-8536-65d1294b7db1",
|
||||||
|
"__expectedType__": "cc.SpriteAtlas"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"__type__": "cc.BoxCollider2D",
|
"__type__": "cc.BoxCollider2D",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -161,6 +163,7 @@
|
|||||||
"__type__": "cc.Animation",
|
"__type__": "cc.Animation",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -171,11 +174,13 @@
|
|||||||
"playOnLoad": false,
|
"playOnLoad": false,
|
||||||
"_clips": [
|
"_clips": [
|
||||||
{
|
{
|
||||||
"__uuid__": "b1e4a822-98c1-4dcd-8f46-dd524fad6381"
|
"__uuid__": "b1e4a822-98c1-4dcd-8f46-dd524fad6381",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_defaultClip": {
|
"_defaultClip": {
|
||||||
"__uuid__": "b1e4a822-98c1-4dcd-8f46-dd524fad6381"
|
"__uuid__": "b1e4a822-98c1-4dcd-8f46-dd524fad6381",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -187,16 +192,17 @@
|
|||||||
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
"__type__": "bcf7fDIJDhKnaxGPja2YnSj",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"fishType": 9,
|
|
||||||
"speed": 3,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 9
|
"__id__": 9
|
||||||
}
|
},
|
||||||
|
"fishType": 9,
|
||||||
|
"speed": 3,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -206,14 +212,15 @@
|
|||||||
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
"__type__": "ce1d8SdoYxBMoB8LPTW6b6l",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 11
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -223,6 +230,7 @@
|
|||||||
"__type__": "cc.UIOpacity",
|
"__type__": "cc.UIOpacity",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -230,7 +238,8 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_opacity": 255
|
"_opacity": 255,
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -240,6 +249,7 @@
|
|||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -247,7 +257,6 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 15
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_priority": 0,
|
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 126,
|
"width": 126,
|
||||||
@@ -257,7 +266,8 @@
|
|||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 0.5
|
||||||
}
|
},
|
||||||
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
@@ -271,6 +281,8 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "famL4PhGRFkopG4SNLzIh+"
|
"fileId": "famL4PhGRFkopG4SNLzIh+",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -1,31 +1,37 @@
|
|||||||
import { _decorator, Component, Tween, tween } from 'cc'
|
import { Component, Tween, _decorator, tween } from 'cc'
|
||||||
const { ccclass, property } = _decorator
|
|
||||||
|
|
||||||
|
import { FishInfo } from '../../script/game/config/FishInfo'
|
||||||
import { FishPathInfo } from '../../script/game/config/FishPathInfo'
|
import { FishPathInfo } from '../../script/game/config/FishPathInfo'
|
||||||
import FishManager from '../../script/game/manager/FishManager'
|
import FishManager from '../../script/game/manager/FishManager'
|
||||||
import { FishInfo } from '../../script/game/config/FishInfo'
|
import WsManager from '../../script/game/manager/WsManager'
|
||||||
|
|
||||||
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('FishBase')
|
@ccclass('FishBase')
|
||||||
export default class FishBase extends Component {
|
export default class FishBase extends Component {
|
||||||
public fishInfo: FishInfo
|
public fishInfo: FishInfo
|
||||||
public fishType: number = 1
|
public fishType: number = 1
|
||||||
public blood: number = 1
|
public fishId: string = ''
|
||||||
public fishPathInfo: FishPathInfo
|
public fishPathInfo: FishPathInfo
|
||||||
public isDead: boolean
|
public isDead: number = 2
|
||||||
onLoad() {}
|
|
||||||
start() {}
|
onLoad() {}
|
||||||
public playDeadMv() {
|
|
||||||
this.isDead = true
|
start() {}
|
||||||
this.scheduleOnce(() => {
|
|
||||||
FishManager.instance.killFish(this)
|
// 播放死亡动画
|
||||||
}, 1.5)
|
public playDeadMv(res: any) {
|
||||||
tween(this.node)
|
this.isDead = 1
|
||||||
.repeatForever(tween().by(0.6, { angle: -360 }))
|
this.scheduleOnce(() => {
|
||||||
.start()
|
FishManager.instance.killFish(res)
|
||||||
}
|
}, 1)
|
||||||
onDisable() {
|
tween(this.node)
|
||||||
//this.node.stopAllActions();
|
.repeatForever(tween().by(0.6, { angle: -360 }))
|
||||||
Tween.stopAllByTarget(this.node)
|
.start()
|
||||||
this.unscheduleAllCallbacks()
|
}
|
||||||
}
|
|
||||||
|
onDisable() {
|
||||||
|
Tween.stopAllByTarget(this.node)
|
||||||
|
this.unscheduleAllCallbacks()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,85 +1,76 @@
|
|||||||
import {
|
import { Collider2D, Component, Contact2DType, IPhysics2DContact, Vec2, Vec3, _decorator } from 'cc'
|
||||||
_decorator,
|
|
||||||
Component,
|
import BulletManager from '../../script/game/manager/BulletManager'
|
||||||
Vec2,
|
import FishNetManager from '../../script/game/manager/FishNetManager'
|
||||||
Node,
|
|
||||||
Vec3,
|
|
||||||
error,
|
|
||||||
Collider2D,
|
|
||||||
Contact2DType,
|
|
||||||
IPhysics2DContact,
|
|
||||||
} from 'cc'
|
|
||||||
const { ccclass, property } = _decorator
|
|
||||||
|
|
||||||
import FishBase from './FishBase'
|
import FishBase from './FishBase'
|
||||||
import FishNetManager from '../../script/game/manager/FishNetManager'
|
import WsManager from '../../script/game/manager/WsManager'
|
||||||
import BulletManager from '../../script/game/manager/BulletManager'
|
import CannonManager from '../../script/game/manager/CannonManager'
|
||||||
|
import FishUI from './FishUI'
|
||||||
|
import FishManager from '../../script/game/manager/FishManager'
|
||||||
|
|
||||||
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('FishBulletBase')
|
@ccclass('FishBulletBase')
|
||||||
export default class FishBulletBase extends Component {
|
export default class FishBulletBase extends Component {
|
||||||
public bulletType: number = 0
|
public bulletType: number = 0
|
||||||
public targetP: Vec2
|
|
||||||
public _cacheVec2: Vec2 = new Vec2()
|
|
||||||
public _cacheVec3: Vec3 = new Vec3()
|
|
||||||
private _collider: Collider2D
|
|
||||||
onLoad() {
|
|
||||||
this._collider = this.getComponent(Collider2D)
|
|
||||||
this._collider.sensor = true
|
|
||||||
//this._collider.on(Contact2DType.PRE_SOLVE, this.onBeginContact, this);
|
|
||||||
// PhysicsSystem2D.instance.on(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this);
|
|
||||||
}
|
|
||||||
start() {}
|
|
||||||
|
|
||||||
onEnable() {
|
public targetP: Vec2
|
||||||
this._collider.on(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this)
|
|
||||||
//this._collider.on(Contact2DType.END_CONTACT, this.onBeginContact, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
onDisable() {
|
public _cacheVec2: Vec2 = new Vec2()
|
||||||
this._collider.off(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this)
|
|
||||||
//this._collider.off(Contact2DType.END_CONTACT, this.onBeginContact, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
onBeginContact(
|
public _cacheVec3: Vec3 = new Vec3()
|
||||||
selfCollider: Collider2D,
|
|
||||||
other: Collider2D,
|
|
||||||
contact: IPhysics2DContact | null
|
|
||||||
) {
|
|
||||||
// 只在两个碰撞体开始接触时被调用一次
|
|
||||||
if (other) {
|
|
||||||
let fish: FishBase = other.getComponent(FishBase)
|
|
||||||
if (fish && !fish.isDead) {
|
|
||||||
this.node.getPosition(this._cacheVec3)
|
|
||||||
this._cacheVec2.x = this._cacheVec3.x
|
|
||||||
this._cacheVec2.y = this._cacheVec3.y
|
|
||||||
FishNetManager.instance.addFishNet(this.bulletType, this._cacheVec2)
|
|
||||||
BulletManager.instance.killBullet(this)
|
|
||||||
fish.blood -= this.bulletType + 1
|
|
||||||
// fish.blood -= 100
|
|
||||||
if (fish.blood <= 0) {
|
|
||||||
fish.playDeadMv()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//v2.4代码
|
private _collider: Collider2D | null = null
|
||||||
onCollisionEnter(other: Node, self: Node) {
|
|
||||||
error('onCollisionEnter=FishBulletBase=', other, self)
|
private currFish: FishBase | null = null
|
||||||
if (other) {
|
|
||||||
let fish: FishBase = other.getComponent(FishBase)
|
onLoad() {
|
||||||
if (fish && !fish.isDead) {
|
WsManager.instance.on(5, this.handelMsg, this)
|
||||||
this.node.getPosition(this._cacheVec3)
|
this._collider = this.getComponent(Collider2D)
|
||||||
this._cacheVec2.x = this._cacheVec3.x
|
if (this._collider) {
|
||||||
this._cacheVec2.y = this._cacheVec3.y
|
this._collider.sensor = true
|
||||||
FishNetManager.instance.addFishNet(this.bulletType, this._cacheVec2)
|
this._collider.on(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this)
|
||||||
BulletManager.instance.killBullet(this)
|
}
|
||||||
fish.blood -= this.bulletType + 1
|
}
|
||||||
// fish.blood -= 100
|
|
||||||
if (fish.blood <= 0) {
|
start() {}
|
||||||
fish.playDeadMv()
|
|
||||||
}
|
onEnable() {
|
||||||
}
|
if (this._collider) this._collider.on(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
onDisable() {
|
||||||
|
if (this._collider) this._collider.off(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this)
|
||||||
|
}
|
||||||
|
|
||||||
|
// 处理碰撞
|
||||||
|
private handleFishCollision(fish: FishBase | null, contact: IPhysics2DContact | null) {
|
||||||
|
if (fish && fish.isDead === 2) {
|
||||||
|
this.node.getPosition(this._cacheVec3)
|
||||||
|
this._cacheVec2.x = this._cacheVec3.x
|
||||||
|
this._cacheVec2.y = this._cacheVec3.y
|
||||||
|
FishNetManager.instance.addFishNet(this.bulletType, this._cacheVec2)
|
||||||
|
BulletManager.instance.killBullet(this)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 碰撞检测
|
||||||
|
onBeginContact(selfCollider: Collider2D, other: Collider2D, contact: IPhysics2DContact | null) {
|
||||||
|
const fish: FishBase | null = other.getComponent(FishBase)
|
||||||
|
WsManager.instance.onSend({
|
||||||
|
fish_id: fish.fishId,
|
||||||
|
cannon_id: CannonManager.instance.cannonType,
|
||||||
|
})
|
||||||
|
this.handleFishCollision(fish, contact)
|
||||||
|
}
|
||||||
|
|
||||||
|
handelMsg(res: any) {
|
||||||
|
FishUI.instance.refreshScore(res)
|
||||||
|
if (res.fish_status === 1) {
|
||||||
|
FishManager.instance.killFish(res)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected onDestroy(): void {}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,164 +1,134 @@
|
|||||||
import {
|
import { Animation, CCFloat, CCInteger, Component, Vec2, Vec3, _decorator, log } from 'cc'
|
||||||
_decorator,
|
|
||||||
Component,
|
|
||||||
CCInteger,
|
|
||||||
CCFloat,
|
|
||||||
Vec2,
|
|
||||||
Animation,
|
|
||||||
Vec3,
|
|
||||||
} from 'cc'
|
|
||||||
|
|
||||||
const {ccclass, property} = _decorator
|
import { Logger } from '../../script/engine/utils/Logger'
|
||||||
|
import MathUtils from '../../script/engine/utils/MathUtils'
|
||||||
|
import TimeHelper from '../../script/game/utils/TimeHelper'
|
||||||
|
|
||||||
import FishBase from './FishBase'
|
import FishBase from './FishBase'
|
||||||
import MathUtils from '../../script/engine/utils/MathUtils'
|
|
||||||
import {Logger} from '../../script/engine/utils/Logger'
|
const { ccclass, property } = _decorator
|
||||||
import TimeHelper from '../../script/game/utils/TimeHelper'
|
|
||||||
|
|
||||||
@ccclass('FishMover')
|
@ccclass('FishMover')
|
||||||
export default class FishMover extends Component {
|
export default class FishMover extends Component {
|
||||||
//鱼类型
|
// 鱼类型
|
||||||
@property({type: CCInteger})
|
@property({ type: CCInteger })
|
||||||
public fishType: number = 1
|
public fishType: number = 1
|
||||||
//鱼移动速度
|
|
||||||
@property({type: CCFloat})
|
|
||||||
public speed: number = 3
|
|
||||||
//下个位置移动点
|
|
||||||
private targetMoveIndex: number = 0
|
|
||||||
//鱼移动位置
|
|
||||||
public movePList: Array<Vec2> = []
|
|
||||||
//贝萨尔曲线
|
|
||||||
public bezierPList: Array<Vec2> = []
|
|
||||||
public isMoving: boolean = false
|
|
||||||
private minSpeed: number = 0.1
|
|
||||||
private moveCount: number = 1
|
|
||||||
private totalTimes: number = 60 * 2
|
|
||||||
private _vec3Cahce: Vec3 = new Vec3()
|
|
||||||
|
|
||||||
public startMove() {
|
// 鱼移动速度
|
||||||
this.targetMoveIndex = 0
|
@property({ type: CCFloat })
|
||||||
this.isMoving = true
|
public speed: number = 3
|
||||||
//this.node.getComponent(Animation).play()//v3 当前帧 不能播放
|
|
||||||
TimeHelper.exeNextFrame(this.node, () =>
|
// 下个位置移动点
|
||||||
this.node.getComponent(Animation).play()
|
private targetMoveIndex: number = 0
|
||||||
)
|
// 鱼移动位置
|
||||||
|
public movePList: Array<Vec2> = []
|
||||||
|
// 贝萨尔曲线
|
||||||
|
public bezierPList: Array<Vec2> = []
|
||||||
|
public isMoving: boolean = false
|
||||||
|
private minSpeed: number = 0.1
|
||||||
|
private moveCount: number = 1
|
||||||
|
private totalTimes: number = 60 * 2
|
||||||
|
private _vec3Cahce: Vec3 = new Vec3()
|
||||||
|
|
||||||
|
public startMove() {
|
||||||
|
this.targetMoveIndex = 0
|
||||||
|
this.isMoving = true
|
||||||
|
// this.node.getComponent(Animation).play()//v3 当前帧 不能播放
|
||||||
|
TimeHelper.exeNextFrame(this.node, () => this.node.getComponent(Animation).play())
|
||||||
|
}
|
||||||
|
|
||||||
|
update(dt) {
|
||||||
|
// this.moveFish();
|
||||||
|
this.checkMoveBezier()
|
||||||
|
}
|
||||||
|
|
||||||
|
// 检测是否到达目标点
|
||||||
|
private checkMoveBezier() {
|
||||||
|
if (this.isMoving && this.getComponent(FishBase).isDead === 2) {
|
||||||
|
this.moveCount++
|
||||||
|
if (this.moveCount >= this.totalTimes) this.moveCount = this.totalTimes
|
||||||
|
this.moveBezier()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
update(dt) {
|
// 贝塞尔曲线移动
|
||||||
// this.moveFish();
|
public moveBezier() {
|
||||||
this.checkMoveBezier()
|
if (this.bezierPList.length > this.targetMoveIndex + 2) {
|
||||||
}
|
const p0: Vec2 = this.bezierPList[this.targetMoveIndex]
|
||||||
|
const p1: Vec2 = this.bezierPList[this.targetMoveIndex + 1]
|
||||||
private checkMoveBezier() {
|
const p2: Vec2 = this.bezierPList[this.targetMoveIndex + 2]
|
||||||
if (this.isMoving && !this.getComponent(FishBase).isDead) {
|
const t: number = this.moveCount / this.totalTimes
|
||||||
this.moveCount++
|
const mx: number = (1 - t) ** 2 * p0.x + 2 * t * (1 - t) * p1.x + t ** 2 * p2.x
|
||||||
if (this.moveCount >= this.totalTimes) {
|
const my: number = (1 - t) ** 2 * p0.y + 2 * t * (1 - t) * p1.y + t ** 2 * p2.y
|
||||||
this.moveCount = this.totalTimes
|
this.node.getPosition(this._vec3Cahce)
|
||||||
}
|
const rad: number = MathUtils.p2pRad(
|
||||||
this.moveBezier()
|
new Vec2(this._vec3Cahce.x, this._vec3Cahce.y),
|
||||||
|
new Vec2(mx, my),
|
||||||
|
)
|
||||||
|
const rot111: number = MathUtils.radiansToDegrees(rad)
|
||||||
|
const rot: number = MathUtils.rotation2Fish(rot111)
|
||||||
|
if (this.fishType === 7 || this.fishType === 27 || this.fishType === 29) {
|
||||||
|
if (rot > 90 || rot < -90) {
|
||||||
|
this.node.getScale(this._vec3Cahce)
|
||||||
|
if (this._vec3Cahce.x > 0) {
|
||||||
|
this._vec3Cahce.x = -1 * this._vec3Cahce.x
|
||||||
|
this.node.setScale(this._vec3Cahce)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
} else if (
|
||||||
|
this.fishType === 9 ||
|
||||||
public moveBezier() {
|
this.fishType === 10 ||
|
||||||
// [warn] [[-632,-230],[-444,-117],[-264,-242]]
|
this.fishType === 21 ||
|
||||||
// let p0: cc.Vec2 = cc.v2(-632, -230)
|
this.fishType === 28
|
||||||
// let p1: cc.Vec2 = cc.v2(-444, -117)
|
) {
|
||||||
// let p2: cc.Vec2 = cc.v2(-264, -242)
|
} else {
|
||||||
if (this.bezierPList.length > this.targetMoveIndex + 2) {
|
this.node.angle = -rot
|
||||||
let p0: Vec2 = this.bezierPList[this.targetMoveIndex]
|
}
|
||||||
let p1: Vec2 = this.bezierPList[this.targetMoveIndex + 1]
|
// Logger.log("moveBezier====", rad, rot111, this.fishType, rot)
|
||||||
let p2: Vec2 = this.bezierPList[this.targetMoveIndex + 2]
|
const moveTimes: number = Math.round(this.speed / this.minSpeed)
|
||||||
let t: number = this.moveCount / this.totalTimes
|
for (let i = 0; i < moveTimes; i++) {
|
||||||
let mx: number =
|
const speedX: number = this.minSpeed * Math.cos(rad)
|
||||||
Math.pow(1 - t, 2) * p0.x +
|
const speedY: number = this.minSpeed * Math.sin(rad)
|
||||||
2 * t * (1 - t) * p1.x +
|
this.node.getPosition(this._vec3Cahce)
|
||||||
Math.pow(t, 2) * p2.x
|
this._vec3Cahce.x += speedX
|
||||||
let my: number =
|
this._vec3Cahce.y += speedY
|
||||||
Math.pow(1 - t, 2) * p0.y +
|
this.node.setPosition(this._vec3Cahce)
|
||||||
2 * t * (1 - t) * p1.y +
|
if (MathUtils.distance(this._vec3Cahce.x, this._vec3Cahce.y, mx, my) <= this.minSpeed) {
|
||||||
Math.pow(t, 2) * p2.y
|
this.node.setPosition(mx, my)
|
||||||
this.node.getPosition(this._vec3Cahce)
|
break
|
||||||
let rad: number = MathUtils.p2pRad(
|
|
||||||
new Vec2(this._vec3Cahce.x, this._vec3Cahce.y),
|
|
||||||
new Vec2(mx, my)
|
|
||||||
)
|
|
||||||
let rot111: number = MathUtils.radiansToDegrees(rad)
|
|
||||||
let rot: number = MathUtils.rotation2Fish(rot111)
|
|
||||||
if (this.fishType == 7 || this.fishType == 27 || this.fishType == 29) {
|
|
||||||
if (rot > 90 || rot < -90) {
|
|
||||||
this.node.getScale(this._vec3Cahce)
|
|
||||||
if (this._vec3Cahce.x > 0) {
|
|
||||||
this._vec3Cahce.x = -1 * this._vec3Cahce.x
|
|
||||||
this.node.setScale(this._vec3Cahce)
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
this.node.getScale(this._vec3Cahce)
|
|
||||||
if (this._vec3Cahce.x < 0) {
|
|
||||||
this._vec3Cahce.x = -1 * this._vec3Cahce.x
|
|
||||||
this.node.setScale(this._vec3Cahce)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (
|
|
||||||
this.fishType == 9 ||
|
|
||||||
this.fishType == 10 ||
|
|
||||||
this.fishType == 21 ||
|
|
||||||
this.fishType == 28
|
|
||||||
) {
|
|
||||||
} else {
|
|
||||||
// this.node.rotation = rot; //过时
|
|
||||||
this.node.angle = -rot
|
|
||||||
}
|
|
||||||
// Logger.log("moveBezier====", rad, rot111, this.fishType, rot)
|
|
||||||
let moveTimes: number = Math.round(this.speed / this.minSpeed)
|
|
||||||
for (let i = 0; i < moveTimes; i++) {
|
|
||||||
let speedX: number = this.minSpeed * Math.cos(rad)
|
|
||||||
let speedY: number = this.minSpeed * Math.sin(rad)
|
|
||||||
this.node.getPosition(this._vec3Cahce)
|
|
||||||
this._vec3Cahce.x += speedX
|
|
||||||
this._vec3Cahce.y += speedY
|
|
||||||
this.node.setPosition(this._vec3Cahce)
|
|
||||||
if (
|
|
||||||
MathUtils.distance(this._vec3Cahce.x, this._vec3Cahce.y, mx, my) <=
|
|
||||||
this.minSpeed
|
|
||||||
) {
|
|
||||||
this.node.setPosition(mx, my)
|
|
||||||
break
|
|
||||||
}
|
|
||||||
if (
|
|
||||||
MathUtils.distance(
|
|
||||||
this._vec3Cahce.x,
|
|
||||||
this._vec3Cahce.y,
|
|
||||||
p2.x,
|
|
||||||
p2.y
|
|
||||||
) <=
|
|
||||||
this.minSpeed * 2
|
|
||||||
) {
|
|
||||||
this.node.setPosition(p2.x, p2.y)
|
|
||||||
this.targetMoveIndex += 2
|
|
||||||
this.moveCount = 0
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
this.isMoving = false
|
|
||||||
}
|
}
|
||||||
}
|
if (
|
||||||
|
MathUtils.distance(this._vec3Cahce.x, this._vec3Cahce.y, p2.x, p2.y) <=
|
||||||
onDisable() {
|
this.minSpeed * 2
|
||||||
this.isMoving = false
|
) {
|
||||||
}
|
this.node.setPosition(p2.x, p2.y)
|
||||||
|
this.targetMoveIndex += 2
|
||||||
public exportBezierConfig() {
|
this.moveCount = 0
|
||||||
Logger.warn('exportBezierConfig=')
|
break
|
||||||
let tempConfig: Array<Array<number>> = []
|
|
||||||
for (let i = 0; i < this.bezierPList.length; i++) {
|
|
||||||
tempConfig[i] = []
|
|
||||||
tempConfig[i].push(Math.floor(this.bezierPList[i].x))
|
|
||||||
tempConfig[i].push(Math.floor(this.bezierPList[i].y))
|
|
||||||
}
|
}
|
||||||
Logger.warn('fishtype', this.fishType)
|
}
|
||||||
Logger.warn('speed', this.speed)
|
} else {
|
||||||
Logger.warn('scale', this.node.scale)
|
Logger.log('moveBezier====', 'end')
|
||||||
Logger.warn(JSON.stringify(tempConfig))
|
this.isMoving = false
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
onDisable() {
|
||||||
|
this.isMoving = false
|
||||||
|
}
|
||||||
|
|
||||||
|
// 导出贝塞尔曲线配置
|
||||||
|
public exportBezierConfig() {
|
||||||
|
Logger.warn('exportBezierConfig=')
|
||||||
|
const tempConfig: Array<Array<number>> = []
|
||||||
|
for (let i = 0; i < this.bezierPList.length; i++) {
|
||||||
|
tempConfig[i] = []
|
||||||
|
tempConfig[i].push(Math.floor(this.bezierPList[i].x))
|
||||||
|
tempConfig[i].push(Math.floor(this.bezierPList[i].y))
|
||||||
|
}
|
||||||
|
Logger.warn('fishtype', this.fishType)
|
||||||
|
Logger.warn('speed', this.speed)
|
||||||
|
Logger.warn('scale', this.node.scale)
|
||||||
|
Logger.warn(JSON.stringify(tempConfig))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,27 +1,29 @@
|
|||||||
import { _decorator, Component, Tween, tween, Vec3, Vec2 } from 'cc'
|
import { Component, Tween, Vec3, _decorator, tween } from 'cc'
|
||||||
const { ccclass, property } = _decorator
|
|
||||||
|
|
||||||
import FishNetManager from '../../script/game/manager/FishNetManager'
|
import FishNetManager from '../../script/game/manager/FishNetManager'
|
||||||
|
|
||||||
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('FishNetBase')
|
@ccclass('FishNetBase')
|
||||||
export default class FishNetBase extends Component {
|
export default class FishNetBase extends Component {
|
||||||
public netType: number = 0
|
public netType: number = 0
|
||||||
|
|
||||||
private tween: Tween<any>
|
private tween: Tween<any>
|
||||||
private static vec3: Vec3 = new Vec3(2, 2, 1)
|
private static vec3: Vec3 = new Vec3(2, 2, 1)
|
||||||
public playMv() {
|
|
||||||
this.node.setScale(Vec3.ZERO)
|
// 销毁渔网
|
||||||
this.tween = tween(this.node)
|
public playMv() {
|
||||||
.to(0.2, { scale: FishNetBase.vec3 })
|
this.node.setScale(Vec3.ZERO)
|
||||||
.delay(0.3)
|
this.tween = tween(this.node)
|
||||||
.call(() => {
|
.to(0.2, { scale: FishNetBase.vec3 })
|
||||||
FishNetManager.instance.destroyFishNet(this)
|
.delay(0.3)
|
||||||
})
|
.call(() => {
|
||||||
.start()
|
FishNetManager.instance.destroyFishNet(this)
|
||||||
}
|
})
|
||||||
onDestroy() {
|
.start()
|
||||||
if (this.tween) {
|
}
|
||||||
this.tween.stop()
|
|
||||||
}
|
onDestroy() {
|
||||||
}
|
if (this.tween) this.tween.stop()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,67 +1,55 @@
|
|||||||
import { _decorator, Slider, Node, Canvas, instantiate, director } from 'cc'
|
import { Node, Slider, _decorator, instantiate } from 'cc'
|
||||||
const { ccclass, property } = _decorator
|
|
||||||
|
|
||||||
import EventManager from '../../script/engine/utils/EventManager'
|
|
||||||
import DialogBase from '../../script/engine/uicomponent/DialogBase'
|
import DialogBase from '../../script/engine/uicomponent/DialogBase'
|
||||||
import MusicPrefab from '../../script/engine/uicomponent/MusicPrefab'
|
import MusicPrefab from '../../script/engine/uicomponent/MusicPrefab'
|
||||||
import SoundPrefab from '../../script/engine/uicomponent/SoundPrefab'
|
import SoundPrefab from '../../script/engine/uicomponent/SoundPrefab'
|
||||||
|
import EventManager from '../../script/engine/utils/EventManager'
|
||||||
import PrefabLoader from '../../script/engine/utils/PrefabLoader'
|
import PrefabLoader from '../../script/engine/utils/PrefabLoader'
|
||||||
import { GameConfig } from '../../script/game/config/GameConfig'
|
import { GameConfig } from '../../script/game/config/GameConfig'
|
||||||
|
|
||||||
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('FishSetting')
|
@ccclass('FishSetting')
|
||||||
export default class FishSetting extends DialogBase {
|
export default class FishSetting extends DialogBase {
|
||||||
@property({ type: Slider })
|
@property({ type: Slider })
|
||||||
private musicSlider: Slider | null = null
|
private musicSlider: Slider | null = null
|
||||||
@property({ type: Slider })
|
|
||||||
private soundSlider: Slider | null = null
|
|
||||||
|
|
||||||
onLoadMe() {
|
@property({ type: Slider })
|
||||||
EventManager.instance.addSliderEvent(
|
private soundSlider: Slider | null = null
|
||||||
this.node,
|
|
||||||
this.musicSlider.node,
|
|
||||||
'onMusicSlider',
|
|
||||||
0
|
|
||||||
)
|
|
||||||
EventManager.instance.addSliderEvent(
|
|
||||||
this.node,
|
|
||||||
this.soundSlider.node,
|
|
||||||
'onSoundSlider',
|
|
||||||
0
|
|
||||||
)
|
|
||||||
this.refresh()
|
|
||||||
}
|
|
||||||
|
|
||||||
private onMusicSlider(slider: Slider, customEventData) {
|
onLoadMe() {
|
||||||
let percent: number = Number(slider.progress.toFixed(3))
|
EventManager.instance.addSliderEvent(this.node, this.musicSlider.node, 'onMusicSlider', 0)
|
||||||
// let maxMoney: number = Math.max(UserInfoModel.userScore - 10, 0)
|
EventManager.instance.addSliderEvent(this.node, this.soundSlider.node, 'onSoundSlider', 0)
|
||||||
// this.nowExchangeNum = Math.floor(maxMoney * this.nowPercent);
|
this.refresh()
|
||||||
// this.refresh();
|
}
|
||||||
MusicPrefab.changeVolumn(percent)
|
|
||||||
this.refresh()
|
|
||||||
}
|
|
||||||
|
|
||||||
private onSoundSlider(slider: Slider, customEventData) {
|
// 音乐
|
||||||
let percent: number = Number(slider.progress.toFixed(3))
|
private onMusicSlider(slider: Slider, customEventData) {
|
||||||
SoundPrefab.changeVolumn(percent)
|
const percent: number = Number(slider.progress.toFixed(3))
|
||||||
this.refresh()
|
MusicPrefab.changeVolumn(percent)
|
||||||
}
|
this.refresh()
|
||||||
|
}
|
||||||
|
|
||||||
private refresh() {
|
// 声音
|
||||||
this.musicSlider.progress = MusicPrefab.musicVolumn
|
private onSoundSlider(slider: Slider, customEventData) {
|
||||||
this.soundSlider.progress = SoundPrefab.soundVolumn
|
const percent: number = Number(slider.progress.toFixed(3))
|
||||||
}
|
SoundPrefab.changeVolumn(percent)
|
||||||
|
this.refresh()
|
||||||
|
}
|
||||||
|
|
||||||
public static show(parentNode: Node = null) {
|
// 刷新音乐和声音
|
||||||
PrefabLoader.loadPrefab(
|
private refresh() {
|
||||||
GameConfig.GameName + '/' + 'game/dialog/FishSetting',
|
this.musicSlider.progress = MusicPrefab.musicVolumn
|
||||||
(loadedResource) => {
|
this.soundSlider.progress = SoundPrefab.soundVolumn
|
||||||
if (!parentNode) {
|
}
|
||||||
parentNode = DialogBase.GetRootCanvas()
|
|
||||||
}
|
public static show(parentNode: Node = null) {
|
||||||
let node: Node = instantiate(loadedResource)
|
PrefabLoader.loadPrefab(`${GameConfig.GameName}/game/dialog/FishSetting`, (loadedResource) => {
|
||||||
parentNode.addChild(node)
|
if (!parentNode) parentNode = DialogBase.GetRootCanvas()
|
||||||
node.setPosition(0, 0)
|
|
||||||
}
|
const node: Node = instantiate(loadedResource)
|
||||||
)
|
parentNode.addChild(node)
|
||||||
}
|
node.setPosition(0, 0)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,106 +1,109 @@
|
|||||||
import {
|
import { Animation, Component, Label, Node, Tween, Vec2, Vec3, _decorator, find, tween } from 'cc'
|
||||||
_decorator,
|
|
||||||
Component,
|
import CannonManager from '../../script/game/manager/CannonManager'
|
||||||
Label,
|
import FishManager from '../../script/game/manager/FishManager'
|
||||||
Animation,
|
|
||||||
Node,
|
|
||||||
Vec2,
|
|
||||||
Tween,
|
|
||||||
tween,
|
|
||||||
Vec3,
|
|
||||||
} from 'cc'
|
|
||||||
const { ccclass, property } = _decorator
|
|
||||||
|
|
||||||
import FishSetting from './FishSetting'
|
import FishSetting from './FishSetting'
|
||||||
import FishManager from '../../script/game/manager/FishManager'
|
import WsManager from '../../script/game/manager/WsManager'
|
||||||
import CannonManager from '../../script/game/manager/CannonManager'
|
|
||||||
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('FishUI')
|
@ccclass('FishUI')
|
||||||
export default class FishUI extends Component {
|
export default class FishUI extends Component {
|
||||||
public static instance: FishUI = null
|
public static instance: FishUI = null
|
||||||
@property({ type: Label })
|
@property({ type: Label })
|
||||||
private dzScore: Label | null = null
|
private dzScore: Label | null = null
|
||||||
@property({ type: Label })
|
|
||||||
private jfScore: Label | null = null
|
|
||||||
@property({ type: Animation })
|
|
||||||
private clickEffect: Animation | null = null
|
|
||||||
@property({ type: Node })
|
|
||||||
private waveEffect: Node | null = null
|
|
||||||
// 豆子
|
|
||||||
public dz_score: number = 100
|
|
||||||
// 积分
|
|
||||||
public jf_score: number = 0
|
|
||||||
private _vec3Cache: Vec3
|
|
||||||
onLoad() {
|
|
||||||
FishUI.instance = this
|
|
||||||
this._vec3Cache = new Vec3()
|
|
||||||
this.clickEffect.node.active = false
|
|
||||||
this.waveEffect.active = false
|
|
||||||
this.dzScore = this.node
|
|
||||||
.getChildByName('dzScore')
|
|
||||||
.getComponent(Label) as Label
|
|
||||||
this.jfScore = this.node
|
|
||||||
.getChildByName('jfScore')
|
|
||||||
.getComponent(Label) as Label
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
@property({ type: Label })
|
||||||
this.refreshScore()
|
private jfScore: Label | null = null
|
||||||
// setTimeout(()=>{
|
|
||||||
// this.playWaveEffect();
|
|
||||||
// }, 5000)
|
|
||||||
}
|
|
||||||
|
|
||||||
public playClickEffect(p: Vec2) {
|
@property({ type: Animation })
|
||||||
this._vec3Cache.x = p.x
|
private clickEffect: Animation | null = null
|
||||||
this._vec3Cache.y = p.y
|
|
||||||
this._vec3Cache.z = 0
|
|
||||||
this.clickEffect.node.setPosition(this._vec3Cache)
|
|
||||||
this.clickEffect.node.active = true
|
|
||||||
this.clickEffect.play()
|
|
||||||
}
|
|
||||||
|
|
||||||
public playWaveEffect() {
|
@property({ type: Node })
|
||||||
this.waveEffect.active = true
|
private waveEffect: Node | null = null
|
||||||
this.waveEffect.setPosition(1292.703, 0)
|
|
||||||
|
|
||||||
FishManager.instance.playFishMap()
|
// 豆子
|
||||||
tween(this.waveEffect)
|
public dz_score: number = 0
|
||||||
.to(2, { position: new Vec3(-1319.969, 0, 0) })
|
// 积分
|
||||||
.call(() => {
|
public jf_score: number = 0
|
||||||
this.waveEffect.active = false
|
private _vec3Cache: Vec3
|
||||||
FishManager.instance.startFishMap()
|
|
||||||
})
|
|
||||||
.start()
|
|
||||||
}
|
|
||||||
|
|
||||||
private onClickPre() {
|
onLoad() {
|
||||||
if (CannonManager.instance.cannonType > 1) {
|
FishUI.instance = this
|
||||||
CannonManager.instance.cannonType--
|
this._vec3Cache = new Vec3()
|
||||||
CannonManager.instance.refreshCannon()
|
this.clickEffect.node.active = false
|
||||||
}
|
this.waveEffect.active = false
|
||||||
}
|
this.dzScore = this.node
|
||||||
|
.getChildByName('userInfo')
|
||||||
|
.getChildByName('info')
|
||||||
|
.getChildByName('dz_fillet')
|
||||||
|
.getChildByName('dz_text')
|
||||||
|
.getComponent(Label) as Label
|
||||||
|
this.jfScore = this.node
|
||||||
|
.getChildByName('userInfo')
|
||||||
|
.getChildByName('info')
|
||||||
|
.getChildByName('jf_fillet')
|
||||||
|
.getChildByName('jf_text')
|
||||||
|
.getComponent(Label) as Label
|
||||||
|
}
|
||||||
|
|
||||||
private onClickNext() {
|
start() {
|
||||||
if (CannonManager.instance.cannonType < 7) {
|
// this.refreshScore()
|
||||||
CannonManager.instance.cannonType++
|
}
|
||||||
CannonManager.instance.refreshCannon()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public refreshScore() {
|
public playClickEffect(p: Vec2) {
|
||||||
this.dzScore.string = this.dz_score + ''
|
this._vec3Cache.x = p.x
|
||||||
this.jfScore.string = this.jf_score + ''
|
this._vec3Cache.y = p.y
|
||||||
}
|
this._vec3Cache.z = 0
|
||||||
|
this.clickEffect.node.setPosition(this._vec3Cache)
|
||||||
|
this.clickEffect.node.active = true
|
||||||
|
this.clickEffect.play()
|
||||||
|
}
|
||||||
|
|
||||||
private onClickSetting() {
|
public playWaveEffect() {
|
||||||
FishSetting.show()
|
this.waveEffect.active = true
|
||||||
}
|
this.waveEffect.setPosition(1292.703, 0)
|
||||||
|
|
||||||
onDestroy() {
|
FishManager.instance.playFishMap()
|
||||||
FishUI.instance = null
|
tween(this.waveEffect)
|
||||||
this.unscheduleAllCallbacks()
|
.to(2, { position: new Vec3(-1319.969, 0, 0) })
|
||||||
Tween.stopAllByTarget(this.node)
|
.call(() => {
|
||||||
//this.node.stopAllActions();
|
this.waveEffect.active = false
|
||||||
}
|
FishManager.instance.startFishMap()
|
||||||
|
})
|
||||||
|
.start()
|
||||||
|
}
|
||||||
|
|
||||||
|
private onClickPre() {
|
||||||
|
if (CannonManager.instance.cannonType > 1) {
|
||||||
|
CannonManager.instance.cannonType--
|
||||||
|
CannonManager.instance.refreshCannon()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private onClickNext() {
|
||||||
|
if (CannonManager.instance.cannonType < 7) {
|
||||||
|
CannonManager.instance.cannonType++
|
||||||
|
CannonManager.instance.refreshCannon()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public refreshScore(res: any) {
|
||||||
|
this.dz_score = res.pulse
|
||||||
|
this.jf_score = res.integral
|
||||||
|
this.dzScore.string = `${this.dz_score}`
|
||||||
|
this.jfScore.string = `${this.jf_score}`
|
||||||
|
}
|
||||||
|
|
||||||
|
private onClickSetting() {
|
||||||
|
FishSetting.show()
|
||||||
|
}
|
||||||
|
|
||||||
|
onDestroy() {
|
||||||
|
FishUI.instance = null
|
||||||
|
this.unscheduleAllCallbacks()
|
||||||
|
Tween.stopAllByTarget(this.node)
|
||||||
|
// this.node.stopAllActions();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,4 @@
|
|||||||
import {
|
import { _decorator, ScrollView, Prefab, Node, instantiate, Label, Vec3, Animation } from 'cc'
|
||||||
_decorator,
|
|
||||||
ScrollView,
|
|
||||||
Prefab,
|
|
||||||
Node,
|
|
||||||
instantiate,
|
|
||||||
Label,
|
|
||||||
Vec3,
|
|
||||||
Animation,
|
|
||||||
} from 'cc'
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
import FishBase from './FishBase'
|
import FishBase from './FishBase'
|
||||||
@@ -21,70 +12,62 @@ import TimeHelper from '../../script/game/utils/TimeHelper'
|
|||||||
|
|
||||||
@ccclass('FishWiki')
|
@ccclass('FishWiki')
|
||||||
export default class FishWiki extends DialogBase {
|
export default class FishWiki extends DialogBase {
|
||||||
@property({ type: ScrollView })
|
@property({ type: ScrollView })
|
||||||
private scrollView: ScrollView | null = null
|
private scrollView: ScrollView | null = null
|
||||||
@property({ type: Prefab })
|
@property({ type: Prefab })
|
||||||
private wikiItemPrefab: Prefab | null = null
|
private wikiItemPrefab: Prefab | null = null
|
||||||
|
|
||||||
private _vec3Cache: Vec3
|
private _vec3Cache: Vec3
|
||||||
onLoadMe() {
|
onLoadMe() {
|
||||||
this._vec3Cache = new Vec3(1, 1, 1)
|
this._vec3Cache = new Vec3(1, 1, 1)
|
||||||
this.init()
|
this.init()
|
||||||
}
|
}
|
||||||
|
|
||||||
private init() {
|
private init() {
|
||||||
this.scrollView.content.removeAllChildren()
|
this.scrollView.content.removeAllChildren()
|
||||||
this.initOne(0)
|
this.initOne(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
private initOne(index: number) {
|
private initOne(index: number) {
|
||||||
if (index < FishConfig.config.length) {
|
if (index < FishConfig.config.length) {
|
||||||
let itemNode: Node = instantiate(this.wikiItemPrefab)
|
let itemNode: Node = instantiate(this.wikiItemPrefab)
|
||||||
|
|
||||||
this.scrollView.content.addChild(itemNode)
|
this.scrollView.content.addChild(itemNode)
|
||||||
let fishInfo: FishInfo = FishConfig.config[index]
|
let fishInfo: FishInfo = FishConfig.config[index]
|
||||||
let txtName: Label = itemNode
|
let txtName: Label = itemNode.getChildByName('txtName').getComponent(Label)
|
||||||
.getChildByName('txtName')
|
txtName.string = fishInfo.name
|
||||||
.getComponent(Label)
|
let txtLife: Label = itemNode.getChildByName('txtLife').getComponent(Label)
|
||||||
txtName.string = fishInfo.name
|
txtLife.string = '积分:' + fishInfo.blood + ''
|
||||||
let txtLife: Label = itemNode
|
let view: Node = itemNode.getChildByName('view')
|
||||||
.getChildByName('txtLife')
|
view.removeAllChildren()
|
||||||
.getComponent(Label)
|
|
||||||
txtLife.string = 'life:' + fishInfo.blood + ''
|
|
||||||
let view: Node = itemNode.getChildByName('view')
|
|
||||||
view.removeAllChildren()
|
|
||||||
|
|
||||||
let fish: FishBase = FishManager.instance.createFishByType(
|
let fish: FishBase = FishManager.instance.createFishByType(fishInfo.fishType)
|
||||||
fishInfo.fishType
|
view.addChild(fish.node)
|
||||||
)
|
fish.node.setPosition(0, 0)
|
||||||
view.addChild(fish.node)
|
|
||||||
fish.node.setPosition(0, 0)
|
|
||||||
|
|
||||||
//缩放有bug
|
//缩放有bug
|
||||||
//Vec3.multiplyScalar(this._vec3Cache, this._vec3Cache, fishInfo.wikiScale);
|
//Vec3.multiplyScalar(this._vec3Cache, this._vec3Cache, fishInfo.wikiScale);
|
||||||
//fish.node.setScale(this._vec3Cache);
|
//fish.node.setScale(this._vec3Cache);
|
||||||
|
|
||||||
//fish.node.getComponent(Animation).play(); //v3 当前帧 不能播放
|
//fish.node.getComponent(Animation).play(); //v3 当前帧 不能播放
|
||||||
TimeHelper.exeNextFrame(this.node, () =>
|
TimeHelper.exeNextFrame(this.node, () => fish.node.getComponent(Animation).play())
|
||||||
fish.node.getComponent(Animation).play()
|
this.scheduleOnce(() => {
|
||||||
)
|
this.initOne(index + 1)
|
||||||
this.scheduleOnce(() => {
|
}, 0.05)
|
||||||
this.initOne(index + 1)
|
}
|
||||||
}, 0.05)
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static show(parentNode: Node = null) {
|
public static show(parentNode: Node = null) {
|
||||||
PrefabLoader.loadPrefab(
|
PrefabLoader.loadPrefab(
|
||||||
GameConfig.GameName + '/' + 'game/dialog/FishWiki',
|
GameConfig.GameName + '/' + 'game/dialog/FishWiki',
|
||||||
(loadedResource) => {
|
(loadedResource) => {
|
||||||
if (!parentNode) {
|
if (!parentNode) {
|
||||||
parentNode = DialogBase.GetRootCanvas()
|
parentNode = DialogBase.GetRootCanvas()
|
||||||
}
|
}
|
||||||
let node: Node = instantiate(loadedResource)
|
let node: Node = instantiate(loadedResource)
|
||||||
parentNode.addChild(node)
|
parentNode.addChild(node)
|
||||||
node.setPosition(0, 0)
|
node.setPosition(0, 0)
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
assets/FishSingle/pictures/.DS_Store
vendored
Normal file
BIN
assets/FishSingle/pictures/haobuyu/.DS_Store
vendored
Normal file
BIN
assets/FishSingle/pictures/haobuyu/avatar.png
Executable file
|
After Width: | Height: | Size: 13 KiB |
134
assets/FishSingle/pictures/haobuyu/avatar.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "cda62680-32c9-4bf8-bdf5-341b6d6f41c3",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "cda62680-32c9-4bf8-bdf5-341b6d6f41c3@6c48a",
|
||||||
|
"displayName": "avatar",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "cda62680-32c9-4bf8-bdf5-341b6d6f41c3",
|
||||||
|
"isUuid": true,
|
||||||
|
"visible": false,
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "cda62680-32c9-4bf8-bdf5-341b6d6f41c3@f9941",
|
||||||
|
"displayName": "avatar",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 74,
|
||||||
|
"height": 77,
|
||||||
|
"rawWidth": 74,
|
||||||
|
"rawHeight": 77,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-37,
|
||||||
|
-38.5,
|
||||||
|
0,
|
||||||
|
37,
|
||||||
|
-38.5,
|
||||||
|
0,
|
||||||
|
-37,
|
||||||
|
38.5,
|
||||||
|
0,
|
||||||
|
37,
|
||||||
|
38.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
77,
|
||||||
|
74,
|
||||||
|
77,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
74,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-37,
|
||||||
|
-38.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
37,
|
||||||
|
38.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "cda62680-32c9-4bf8-bdf5-341b6d6f41c3@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "cda62680-32c9-4bf8-bdf5-341b6d6f41c3@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/FishSingle/pictures/haobuyu/dz.png
Executable file
|
After Width: | Height: | Size: 3.8 KiB |
134
assets/FishSingle/pictures/haobuyu/dz.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "962c910f-069b-4a38-9099-4596ed34e91e",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "962c910f-069b-4a38-9099-4596ed34e91e@6c48a",
|
||||||
|
"displayName": "dz",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "962c910f-069b-4a38-9099-4596ed34e91e",
|
||||||
|
"isUuid": true,
|
||||||
|
"visible": false,
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "962c910f-069b-4a38-9099-4596ed34e91e@f9941",
|
||||||
|
"displayName": "dz",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 45,
|
||||||
|
"height": 42,
|
||||||
|
"rawWidth": 45,
|
||||||
|
"rawHeight": 42,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-22.5,
|
||||||
|
-21,
|
||||||
|
0,
|
||||||
|
22.5,
|
||||||
|
-21,
|
||||||
|
0,
|
||||||
|
-22.5,
|
||||||
|
21,
|
||||||
|
0,
|
||||||
|
22.5,
|
||||||
|
21,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
42,
|
||||||
|
45,
|
||||||
|
42,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
45,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-22.5,
|
||||||
|
-21,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
22.5,
|
||||||
|
21,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "962c910f-069b-4a38-9099-4596ed34e91e@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": true,
|
||||||
|
"redirect": "962c910f-069b-4a38-9099-4596ed34e91e@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/FishSingle/pictures/haobuyu/fillet.png
Executable file
|
After Width: | Height: | Size: 1.3 KiB |
137
assets/FishSingle/pictures/haobuyu/fillet.png.meta
Normal file
@@ -0,0 +1,137 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "38ef2cdf-a945-429d-b703-3c9536058498",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "38ef2cdf-a945-429d-b703-3c9536058498@6c48a",
|
||||||
|
"displayName": "fillet",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "38ef2cdf-a945-429d-b703-3c9536058498",
|
||||||
|
"isUuid": true,
|
||||||
|
"visible": false,
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "38ef2cdf-a945-429d-b703-3c9536058498@f9941",
|
||||||
|
"displayName": "fillet",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0.5,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 1,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 166,
|
||||||
|
"height": 36,
|
||||||
|
"rawWidth": 167,
|
||||||
|
"rawHeight": 36,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 15,
|
||||||
|
"borderRight": 15,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-83,
|
||||||
|
-18,
|
||||||
|
0,
|
||||||
|
83,
|
||||||
|
-18,
|
||||||
|
0,
|
||||||
|
-83,
|
||||||
|
18,
|
||||||
|
0,
|
||||||
|
83,
|
||||||
|
18,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
1,
|
||||||
|
36,
|
||||||
|
167,
|
||||||
|
36,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
167,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0.005988023952095809,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0.005988023952095809,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-83,
|
||||||
|
-18,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
83,
|
||||||
|
18,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "38ef2cdf-a945-429d-b703-3c9536058498@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "38ef2cdf-a945-429d-b703-3c9536058498@f9941",
|
||||||
|
"compressSettings": {
|
||||||
|
"useCompressTexture": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 287 KiB |
@@ -46,10 +46,10 @@
|
|||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 0,
|
"trimX": 0,
|
||||||
"trimY": 0,
|
"trimY": 0,
|
||||||
"width": 1920,
|
"width": 1334,
|
||||||
"height": 1080,
|
"height": 750,
|
||||||
"rawWidth": 1920,
|
"rawWidth": 1334,
|
||||||
"rawHeight": 1080,
|
"rawHeight": 750,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 0,
|
"borderLeft": 0,
|
||||||
@@ -64,17 +64,17 @@
|
|||||||
"meshType": 0,
|
"meshType": 0,
|
||||||
"vertices": {
|
"vertices": {
|
||||||
"rawPosition": [
|
"rawPosition": [
|
||||||
-960,
|
-667,
|
||||||
-540,
|
-375,
|
||||||
0,
|
0,
|
||||||
960,
|
667,
|
||||||
-540,
|
-375,
|
||||||
0,
|
0,
|
||||||
-960,
|
-667,
|
||||||
540,
|
375,
|
||||||
0,
|
0,
|
||||||
960,
|
667,
|
||||||
540,
|
375,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"indexes": [
|
"indexes": [
|
||||||
@@ -87,12 +87,12 @@
|
|||||||
],
|
],
|
||||||
"uv": [
|
"uv": [
|
||||||
0,
|
0,
|
||||||
1080,
|
750,
|
||||||
1920,
|
1334,
|
||||||
1080,
|
750,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
1920,
|
1334,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"nuv": [
|
"nuv": [
|
||||||
@@ -106,13 +106,13 @@
|
|||||||
1
|
1
|
||||||
],
|
],
|
||||||
"minPos": [
|
"minPos": [
|
||||||
-960,
|
-667,
|
||||||
-540,
|
-375,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"maxPos": [
|
"maxPos": [
|
||||||
960,
|
667,
|
||||||
540,
|
375,
|
||||||
0
|
0
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
assets/FishSingle/pictures/haobuyu/fishbg1.jpg
Normal file → Executable file
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 121 KiB |
@@ -2,7 +2,7 @@
|
|||||||
"ver": "1.0.26",
|
"ver": "1.0.26",
|
||||||
"importer": "image",
|
"importer": "image",
|
||||||
"imported": true,
|
"imported": true,
|
||||||
"uuid": "66d28bb4-7926-457a-bfdd-352fbdff0612",
|
"uuid": "30514d45-db3b-4904-9e84-5269572856f6",
|
||||||
"files": [
|
"files": [
|
||||||
".jpg",
|
".jpg",
|
||||||
".json"
|
".json"
|
||||||
@@ -10,20 +10,20 @@
|
|||||||
"subMetas": {
|
"subMetas": {
|
||||||
"6c48a": {
|
"6c48a": {
|
||||||
"importer": "texture",
|
"importer": "texture",
|
||||||
"uuid": "66d28bb4-7926-457a-bfdd-352fbdff0612@6c48a",
|
"uuid": "30514d45-db3b-4904-9e84-5269572856f6@6c48a",
|
||||||
"displayName": "fishbg1",
|
"displayName": "fishbg1",
|
||||||
"id": "6c48a",
|
"id": "6c48a",
|
||||||
"name": "texture",
|
"name": "texture",
|
||||||
"userData": {
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "30514d45-db3b-4904-9e84-5269572856f6",
|
||||||
|
"isUuid": true,
|
||||||
|
"visible": false,
|
||||||
"minfilter": "linear",
|
"minfilter": "linear",
|
||||||
"magfilter": "linear",
|
"magfilter": "linear",
|
||||||
"wrapModeT": "clamp-to-edge",
|
|
||||||
"wrapModeS": "clamp-to-edge",
|
|
||||||
"mipfilter": "none",
|
"mipfilter": "none",
|
||||||
"imageUuidOrDatabaseUri": "66d28bb4-7926-457a-bfdd-352fbdff0612",
|
"anisotropy": 0
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"visible": false
|
|
||||||
},
|
},
|
||||||
"ver": "1.0.22",
|
"ver": "1.0.22",
|
||||||
"imported": true,
|
"imported": true,
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
},
|
},
|
||||||
"f9941": {
|
"f9941": {
|
||||||
"importer": "sprite-frame",
|
"importer": "sprite-frame",
|
||||||
"uuid": "66d28bb4-7926-457a-bfdd-352fbdff0612@f9941",
|
"uuid": "30514d45-db3b-4904-9e84-5269572856f6@f9941",
|
||||||
"displayName": "fishbg1",
|
"displayName": "fishbg1",
|
||||||
"id": "f9941",
|
"id": "f9941",
|
||||||
"name": "spriteFrame",
|
"name": "spriteFrame",
|
||||||
@@ -46,35 +46,32 @@
|
|||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 0,
|
"trimX": 0,
|
||||||
"trimY": 0,
|
"trimY": 0,
|
||||||
"width": 941,
|
"width": 1280,
|
||||||
"height": 529,
|
"height": 720,
|
||||||
"rawWidth": 941,
|
"rawWidth": 1280,
|
||||||
"rawHeight": 529,
|
"rawHeight": 720,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 0,
|
"borderLeft": 0,
|
||||||
"borderRight": 0,
|
"borderRight": 0,
|
||||||
"imageUuidOrDatabaseUri": "66d28bb4-7926-457a-bfdd-352fbdff0612@6c48a",
|
|
||||||
"packable": true,
|
"packable": true,
|
||||||
"isUuid": true,
|
|
||||||
"atlasUuid": "",
|
|
||||||
"pixelsToUnit": 100,
|
"pixelsToUnit": 100,
|
||||||
"pivotX": 0.5,
|
"pivotX": 0.5,
|
||||||
"pivotY": 0.5,
|
"pivotY": 0.5,
|
||||||
"meshType": 0,
|
"meshType": 0,
|
||||||
"vertices": {
|
"vertices": {
|
||||||
"rawPosition": [
|
"rawPosition": [
|
||||||
-470.5,
|
-640,
|
||||||
-264.5,
|
-360,
|
||||||
0,
|
0,
|
||||||
470.5,
|
640,
|
||||||
-264.5,
|
-360,
|
||||||
0,
|
0,
|
||||||
-470.5,
|
-640,
|
||||||
264.5,
|
360,
|
||||||
0,
|
0,
|
||||||
470.5,
|
640,
|
||||||
264.5,
|
360,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"indexes": [
|
"indexes": [
|
||||||
@@ -87,12 +84,12 @@
|
|||||||
],
|
],
|
||||||
"uv": [
|
"uv": [
|
||||||
0,
|
0,
|
||||||
529,
|
720,
|
||||||
941,
|
1280,
|
||||||
529,
|
720,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
941,
|
1280,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"nuv": [
|
"nuv": [
|
||||||
@@ -106,16 +103,19 @@
|
|||||||
1
|
1
|
||||||
],
|
],
|
||||||
"minPos": [
|
"minPos": [
|
||||||
-470.5,
|
-640,
|
||||||
-264.5,
|
-360,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"maxPos": [
|
"maxPos": [
|
||||||
470.5,
|
640,
|
||||||
264.5,
|
360,
|
||||||
0
|
0
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "30514d45-db3b-4904-9e84-5269572856f6@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
},
|
},
|
||||||
"ver": "1.0.12",
|
"ver": "1.0.12",
|
||||||
"imported": true,
|
"imported": true,
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"type": "sprite-frame",
|
"type": "sprite-frame",
|
||||||
"hasAlpha": false,
|
"hasAlpha": false,
|
||||||
"redirect": "66d28bb4-7926-457a-bfdd-352fbdff0612@f9941",
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
"fixAlphaTransparencyArtifacts": false
|
"redirect": "30514d45-db3b-4904-9e84-5269572856f6@f9941"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
assets/FishSingle/pictures/haobuyu/jf.png
Executable file
|
After Width: | Height: | Size: 2.7 KiB |
134
assets/FishSingle/pictures/haobuyu/jf.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "667dae90-8327-4fd8-b314-c95c92ed1420",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "667dae90-8327-4fd8-b314-c95c92ed1420@6c48a",
|
||||||
|
"displayName": "jf",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "667dae90-8327-4fd8-b314-c95c92ed1420",
|
||||||
|
"isUuid": true,
|
||||||
|
"visible": false,
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "667dae90-8327-4fd8-b314-c95c92ed1420@f9941",
|
||||||
|
"displayName": "jf",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 36,
|
||||||
|
"height": 36,
|
||||||
|
"rawWidth": 36,
|
||||||
|
"rawHeight": 36,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-18,
|
||||||
|
-18,
|
||||||
|
0,
|
||||||
|
18,
|
||||||
|
-18,
|
||||||
|
0,
|
||||||
|
-18,
|
||||||
|
18,
|
||||||
|
0,
|
||||||
|
18,
|
||||||
|
18,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
36,
|
||||||
|
36,
|
||||||
|
36,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
36,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-18,
|
||||||
|
-18,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
18,
|
||||||
|
18,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "667dae90-8327-4fd8-b314-c95c92ed1420@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "667dae90-8327-4fd8-b314-c95c92ed1420@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/FishSingle/pictures/haobuyu/userbg.png
Executable file
|
After Width: | Height: | Size: 3.0 KiB |
134
assets/FishSingle/pictures/haobuyu/userbg.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "f9fc17ee-6006-40dd-8429-f46040b4d56c",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "f9fc17ee-6006-40dd-8429-f46040b4d56c@6c48a",
|
||||||
|
"displayName": "userbg",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "f9fc17ee-6006-40dd-8429-f46040b4d56c",
|
||||||
|
"isUuid": true,
|
||||||
|
"visible": false,
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "f9fc17ee-6006-40dd-8429-f46040b4d56c@f9941",
|
||||||
|
"displayName": "userbg",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 1,
|
||||||
|
"trimY": 1,
|
||||||
|
"width": 262,
|
||||||
|
"height": 90,
|
||||||
|
"rawWidth": 264,
|
||||||
|
"rawHeight": 92,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-131,
|
||||||
|
-45,
|
||||||
|
0,
|
||||||
|
131,
|
||||||
|
-45,
|
||||||
|
0,
|
||||||
|
-131,
|
||||||
|
45,
|
||||||
|
0,
|
||||||
|
131,
|
||||||
|
45,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
1,
|
||||||
|
91,
|
||||||
|
263,
|
||||||
|
91,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
263,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0.003787878787878788,
|
||||||
|
0.010869565217391304,
|
||||||
|
0.9962121212121212,
|
||||||
|
0.010869565217391304,
|
||||||
|
0.003787878787878788,
|
||||||
|
0.9891304347826086,
|
||||||
|
0.9962121212121212,
|
||||||
|
0.9891304347826086
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-131,
|
||||||
|
-45,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
131,
|
||||||
|
45,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "f9fc17ee-6006-40dd-8429-f46040b4d56c@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "f9fc17ee-6006-40dd-8429-f46040b4d56c@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -487,7 +487,6 @@
|
|||||||
"_batchAsBitmap": false,
|
"_batchAsBitmap": false,
|
||||||
"_id": "",
|
"_id": "",
|
||||||
"_enableOutline": true,
|
"_enableOutline": true,
|
||||||
"_outlineWidth": 3,
|
|
||||||
"_outlineColor": {
|
"_outlineColor": {
|
||||||
"__type__": "cc.Color",
|
"__type__": "cc.Color",
|
||||||
"r": 0,
|
"r": 0,
|
||||||
|
|||||||
@@ -549,12 +549,11 @@
|
|||||||
"_styleFlags": 0,
|
"_styleFlags": 0,
|
||||||
"_id": "",
|
"_id": "",
|
||||||
"_enableOutline": true,
|
"_enableOutline": true,
|
||||||
"_outlineWidth": 3,
|
|
||||||
"_outlineColor": {
|
"_outlineColor": {
|
||||||
"__type__": "cc.Color",
|
"__type__": "cc.Color",
|
||||||
"r": 255,
|
"r": 0,
|
||||||
"g": 255,
|
"g": 0,
|
||||||
"b": 255,
|
"b": 0,
|
||||||
"a": 255
|
"a": 255
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -736,12 +735,11 @@
|
|||||||
"_styleFlags": 0,
|
"_styleFlags": 0,
|
||||||
"_id": "",
|
"_id": "",
|
||||||
"_enableOutline": true,
|
"_enableOutline": true,
|
||||||
"_outlineWidth": 3,
|
|
||||||
"_outlineColor": {
|
"_outlineColor": {
|
||||||
"__type__": "cc.Color",
|
"__type__": "cc.Color",
|
||||||
"r": 255,
|
"r": 0,
|
||||||
"g": 255,
|
"g": 0,
|
||||||
"b": 255,
|
"b": 0,
|
||||||
"a": 255
|
"a": 255
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -173,16 +173,14 @@
|
|||||||
"_batchAsBitmap": false,
|
"_batchAsBitmap": false,
|
||||||
"_id": "",
|
"_id": "",
|
||||||
"_enableOutline": true,
|
"_enableOutline": true,
|
||||||
"_outlineWidth": 2,
|
|
||||||
"_outlineColor": {
|
"_outlineColor": {
|
||||||
"__type__": "cc.Color",
|
"__type__": "cc.Color",
|
||||||
"r": 255,
|
"r": 0,
|
||||||
"g": 255,
|
"g": 0,
|
||||||
"b": 255,
|
"b": 0,
|
||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_enableShadow": true,
|
"_enableShadow": true,
|
||||||
"_shadowBlur": 2,
|
|
||||||
"_shadowOffset": {
|
"_shadowOffset": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 2,
|
"x": 2,
|
||||||
@@ -190,9 +188,9 @@
|
|||||||
},
|
},
|
||||||
"_shadowColor": {
|
"_shadowColor": {
|
||||||
"__type__": "cc.Color",
|
"__type__": "cc.Color",
|
||||||
"r": 250,
|
"r": 0,
|
||||||
"g": 250,
|
"g": 0,
|
||||||
"b": 250,
|
"b": 0,
|
||||||
"a": 255
|
"a": 255
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [],
|
"_components": [],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 44
|
"__id__": 52
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
},
|
},
|
||||||
"autoReleaseAssets": false,
|
"autoReleaseAssets": false,
|
||||||
"_globals": {
|
"_globals": {
|
||||||
"__id__": 53
|
"__id__": 61
|
||||||
},
|
},
|
||||||
"_id": "3deca686-356b-4a89-97e0-d255f6a637b7"
|
"_id": "3deca686-356b-4a89-97e0-d255f6a637b7"
|
||||||
},
|
},
|
||||||
@@ -77,25 +77,25 @@
|
|||||||
"__id__": 12
|
"__id__": 12
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 35
|
"__id__": 43
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 39
|
"__id__": 47
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 40
|
"__id__": 48
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 41
|
"__id__": 49
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 42
|
"__id__": 50
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 43
|
"__id__": 51
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": null,
|
"_prefab": null,
|
||||||
@@ -193,7 +193,7 @@
|
|||||||
"_priority": -1,
|
"_priority": -1,
|
||||||
"_fov": 60,
|
"_fov": 60,
|
||||||
"_fovAxis": 0,
|
"_fovAxis": 0,
|
||||||
"_orthoHeight": 803.9871382636657,
|
"_orthoHeight": 627.2953367875648,
|
||||||
"_near": 1,
|
"_near": 1,
|
||||||
"_far": 4096,
|
"_far": 4096,
|
||||||
"_color": {
|
"_color": {
|
||||||
@@ -484,6 +484,24 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 33
|
"__id__": 33
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 35
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 36
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 37
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 38
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 39
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 41
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"removedComponents": []
|
"removedComponents": []
|
||||||
@@ -674,6 +692,88 @@
|
|||||||
"9686r/7GBC1Jgt/Xl5Wlbk"
|
"9686r/7GBC1Jgt/Xl5Wlbk"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 16
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_active"
|
||||||
|
],
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 16
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_lpos"
|
||||||
|
],
|
||||||
|
"value": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": -22.359,
|
||||||
|
"y": -464.755,
|
||||||
|
"z": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 22
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_active"
|
||||||
|
],
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 22
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_lpos"
|
||||||
|
],
|
||||||
|
"value": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": -646.5,
|
||||||
|
"y": -0.10000000149011612,
|
||||||
|
"z": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 40
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_active"
|
||||||
|
],
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.TargetInfo",
|
||||||
|
"localID": [
|
||||||
|
"e2Vv1bUelC/7EpoI1XnDNy"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 42
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_active"
|
||||||
|
],
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.TargetInfo",
|
||||||
|
"localID": [
|
||||||
|
"c244u/aPRAJrCOXsUYfICO"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "UIRoot",
|
"_name": "UIRoot",
|
||||||
@@ -686,13 +786,13 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 36
|
"__id__": 44
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 37
|
"__id__": 45
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 38
|
"__id__": 46
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": null,
|
"_prefab": null,
|
||||||
@@ -731,7 +831,7 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 35
|
"__id__": 43
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": null,
|
"__prefab": null,
|
||||||
@@ -753,7 +853,7 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 35
|
"__id__": 43
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": null,
|
"__prefab": null,
|
||||||
@@ -783,7 +883,7 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 35
|
"__id__": 43
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": null,
|
"__prefab": null,
|
||||||
@@ -893,13 +993,13 @@
|
|||||||
"instance": null,
|
"instance": null,
|
||||||
"targetOverrides": [
|
"targetOverrides": [
|
||||||
{
|
{
|
||||||
"__id__": 45
|
"__id__": 53
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 47
|
"__id__": 55
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 50
|
"__id__": 58
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"nestedPrefabInstanceRoots": [
|
"nestedPrefabInstanceRoots": [
|
||||||
@@ -911,7 +1011,7 @@
|
|||||||
{
|
{
|
||||||
"__type__": "cc.TargetOverrideInfo",
|
"__type__": "cc.TargetOverrideInfo",
|
||||||
"source": {
|
"source": {
|
||||||
"__id__": 40
|
"__id__": 48
|
||||||
},
|
},
|
||||||
"sourceInfo": null,
|
"sourceInfo": null,
|
||||||
"propertyPath": [
|
"propertyPath": [
|
||||||
@@ -921,7 +1021,7 @@
|
|||||||
"__id__": 12
|
"__id__": 12
|
||||||
},
|
},
|
||||||
"targetInfo": {
|
"targetInfo": {
|
||||||
"__id__": 46
|
"__id__": 54
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -936,7 +1036,7 @@
|
|||||||
"__id__": 12
|
"__id__": 12
|
||||||
},
|
},
|
||||||
"sourceInfo": {
|
"sourceInfo": {
|
||||||
"__id__": 48
|
"__id__": 56
|
||||||
},
|
},
|
||||||
"propertyPath": [
|
"propertyPath": [
|
||||||
"percentLable"
|
"percentLable"
|
||||||
@@ -945,7 +1045,7 @@
|
|||||||
"__id__": 12
|
"__id__": 12
|
||||||
},
|
},
|
||||||
"targetInfo": {
|
"targetInfo": {
|
||||||
"__id__": 49
|
"__id__": 57
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -966,7 +1066,7 @@
|
|||||||
"__id__": 12
|
"__id__": 12
|
||||||
},
|
},
|
||||||
"sourceInfo": {
|
"sourceInfo": {
|
||||||
"__id__": 51
|
"__id__": 59
|
||||||
},
|
},
|
||||||
"propertyPath": [
|
"propertyPath": [
|
||||||
"bar"
|
"bar"
|
||||||
@@ -975,7 +1075,7 @@
|
|||||||
"__id__": 12
|
"__id__": 12
|
||||||
},
|
},
|
||||||
"targetInfo": {
|
"targetInfo": {
|
||||||
"__id__": 52
|
"__id__": 60
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -993,28 +1093,28 @@
|
|||||||
{
|
{
|
||||||
"__type__": "cc.SceneGlobals",
|
"__type__": "cc.SceneGlobals",
|
||||||
"ambient": {
|
"ambient": {
|
||||||
"__id__": 54
|
"__id__": 62
|
||||||
},
|
},
|
||||||
"shadows": {
|
"shadows": {
|
||||||
"__id__": 55
|
"__id__": 63
|
||||||
},
|
},
|
||||||
"_skybox": {
|
"_skybox": {
|
||||||
"__id__": 56
|
"__id__": 64
|
||||||
},
|
},
|
||||||
"fog": {
|
"fog": {
|
||||||
"__id__": 57
|
"__id__": 65
|
||||||
},
|
},
|
||||||
"octree": {
|
"octree": {
|
||||||
"__id__": 58
|
"__id__": 66
|
||||||
},
|
},
|
||||||
"skin": {
|
"skin": {
|
||||||
"__id__": 59
|
"__id__": 67
|
||||||
},
|
},
|
||||||
"lightProbeInfo": {
|
"lightProbeInfo": {
|
||||||
"__id__": 60
|
"__id__": 68
|
||||||
},
|
},
|
||||||
"postSettings": {
|
"postSettings": {
|
||||||
"__id__": 61
|
"__id__": 69
|
||||||
},
|
},
|
||||||
"bakedWithStationaryMainLight": false,
|
"bakedWithStationaryMainLight": false,
|
||||||
"bakedWithHighpLightmap": false
|
"bakedWithHighpLightmap": false
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ const { ccclass, property } = _decorator
|
|||||||
|
|
||||||
@ccclass('CommonEvent')
|
@ccclass('CommonEvent')
|
||||||
export default class CommonEvent {
|
export default class CommonEvent {
|
||||||
public static Event_FrameUpdate: string = 'Event_FrameUpdate'
|
public static Event_FrameUpdate: string = 'Event_FrameUpdate'
|
||||||
public static Event_ConnectTimeOut: string = 'Event_ConnectTimeOut'
|
public static Event_ConnectTimeOut: string = 'Event_ConnectTimeOut'
|
||||||
public static Event_ResourceLoader: string = 'Event_ResourceLoader'
|
public static Event_ResourceLoader: string = 'Event_ResourceLoader'
|
||||||
public static Event_CheckUpdate: string = 'Event_CheckUpdate'
|
public static Event_CheckUpdate: string = 'Event_CheckUpdate'
|
||||||
public static Event_Scene_Switch: string = 'Event_Scene_Switch'
|
public static Event_Scene_Switch: string = 'Event_Scene_Switch'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,37 +1,36 @@
|
|||||||
import DateUtil from '../utils/DateUtil'
|
import DateUtil from '../utils/DateUtil'
|
||||||
|
|
||||||
import NetConfig from './NetConfig'
|
import NetConfig from './NetConfig'
|
||||||
|
|
||||||
export default class ManifestConfig {
|
export default class ManifestConfig {
|
||||||
public static packageUrl: string = ''
|
public static packageUrl: string = ''
|
||||||
public static remoteManifestUrl: string = ''
|
public static remoteManifestUrl: string = ''
|
||||||
public static remoteVersionUrl: string = ''
|
public static remoteVersionUrl: string = ''
|
||||||
public static version: string = '1.0.0' //更新包要更新这里
|
public static version: string = '1.0.0' // 更新包要更新这里
|
||||||
public static assets: object = {}
|
public static assets: object = {}
|
||||||
public static searchPaths: Array<any> = []
|
public static searchPaths: Array<any> = []
|
||||||
public static getManifestStr(key: string) {
|
|
||||||
let obj: Object = {}
|
public static getManifestStr(key: string) {
|
||||||
obj['packageUrl'] = `${NetConfig.hotupdateUrl}/hotupdate/${key}/`
|
const obj: {
|
||||||
obj['remoteManifestUrl'] =
|
packageUrl?: string
|
||||||
NetConfig.hotupdateUrl +
|
remoteManifestUrl?: string
|
||||||
'/hotupdate/' +
|
remoteVersionUrl?: string
|
||||||
key +
|
version?: string
|
||||||
'/project.manifest?t=' +
|
assets?: object
|
||||||
DateUtil.now()
|
searchPaths?: Array<any>
|
||||||
obj['remoteManifestUrl'] = `${
|
} = {}
|
||||||
NetConfig.hotupdateUrl
|
obj.packageUrl = `${NetConfig.hotupdateUrl}/hotupdate/${key}/`
|
||||||
}/hotupdate/${key}/project.manifest?t=${DateUtil.now()}`
|
obj.remoteManifestUrl = `${NetConfig.hotupdateUrl}/hotupdate/${key}/project.manifest?t=${DateUtil.now()}`
|
||||||
obj['remoteVersionUrl'] =
|
obj.remoteManifestUrl = `${
|
||||||
NetConfig.hotupdateUrl +
|
NetConfig.hotupdateUrl
|
||||||
'/hotupdate/' +
|
}/hotupdate/${key}/project.manifest?t=${DateUtil.now()}`
|
||||||
key +
|
obj.remoteVersionUrl = `${NetConfig.hotupdateUrl}/hotupdate/${key}/version.manifest?t=${DateUtil.now()}`
|
||||||
'/version.manifest?t=' +
|
obj.remoteVersionUrl = `${
|
||||||
DateUtil.now()
|
NetConfig.hotupdateUrl
|
||||||
obj['remoteVersionUrl'] = `${
|
}/hotupdate/${key}/version.manifest?t=${DateUtil.now()}`
|
||||||
NetConfig.hotupdateUrl
|
obj.version = ManifestConfig.version
|
||||||
}/hotupdate/${key}/version.manifest?t=${DateUtil.now()}`
|
obj.assets = {}
|
||||||
obj['version'] = ManifestConfig.version
|
obj.searchPaths = []
|
||||||
obj['assets'] = {}
|
return JSON.stringify(obj)
|
||||||
obj['searchPaths'] = []
|
}
|
||||||
return JSON.stringify(obj)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,64 +1,59 @@
|
|||||||
import { AudioClip } from 'cc'
|
import { AudioClip } from 'cc'
|
||||||
|
|
||||||
import { GameConfig } from '../../game/config/GameConfig'
|
import { GameConfig } from '../../game/config/GameConfig'
|
||||||
|
|
||||||
export default class MusicConfig {
|
export default class MusicConfig {
|
||||||
public static musicKey2Path: Map<string, string> = new Map<string, string>() //资源预加载路径
|
public static musicKey2Path: Map<string, string> = new Map<string, string>() // 资源预加载路径
|
||||||
|
|
||||||
public static musicKey2Cache: Map<string, AudioClip> = new Map<
|
public static musicKey2Cache: Map<string, AudioClip> = new Map<string, AudioClip>() // 资源加载后cache路径
|
||||||
string,
|
|
||||||
AudioClip
|
|
||||||
>() //资源加载后cache路径
|
|
||||||
|
|
||||||
public static init() {
|
public static init() {
|
||||||
if (
|
if (typeof GameConfig.GameName === 'undefined' || GameConfig.GameName === null) {
|
||||||
typeof GameConfig.GameName === 'undefined' ||
|
console.error('GameConfig.GameName 未配置!')
|
||||||
GameConfig.GameName === null
|
return
|
||||||
) {
|
}
|
||||||
console.error('GameConfig.GameName 未配置!')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
const musicConfig = {
|
const musicConfig = {
|
||||||
background_1: 'music/background_1',
|
background_1: 'music/background_1',
|
||||||
background_2: 'music/background_2',
|
background_2: 'music/background_2',
|
||||||
background_3: 'music/background_3',
|
background_3: 'music/background_3',
|
||||||
deadfish_1: 'music/deadfish_1',
|
deadfish_1: 'music/deadfish_1',
|
||||||
deadfish_2: 'music/deadfish_2',
|
deadfish_2: 'music/deadfish_2',
|
||||||
deadfish_3: 'music/deadfish_3',
|
deadfish_3: 'music/deadfish_3',
|
||||||
deadfish_4: 'music/deadfish_4',
|
deadfish_4: 'music/deadfish_4',
|
||||||
deadfish_5: 'music/deadfish_5',
|
deadfish_5: 'music/deadfish_5',
|
||||||
deadfish_6: 'music/deadfish_6',
|
deadfish_6: 'music/deadfish_6',
|
||||||
deadfish_7: 'music/deadfish_7',
|
deadfish_7: 'music/deadfish_7',
|
||||||
deadfish_8: 'music/deadfish_8',
|
deadfish_8: 'music/deadfish_8',
|
||||||
deadfish_9: 'music/deadfish_9',
|
deadfish_9: 'music/deadfish_9',
|
||||||
deadfish_10: 'music/deadfish_10',
|
deadfish_10: 'music/deadfish_10',
|
||||||
deadfish_11: 'music/deadfish_11',
|
deadfish_11: 'music/deadfish_11',
|
||||||
deadfish_12: 'music/deadfish_12',
|
deadfish_12: 'music/deadfish_12',
|
||||||
deadfish_13: 'music/deadfish_13',
|
deadfish_13: 'music/deadfish_13',
|
||||||
deadfish_14: 'music/deadfish_14',
|
deadfish_14: 'music/deadfish_14',
|
||||||
deadfish_15: 'music/deadfish_15',
|
deadfish_15: 'music/deadfish_15',
|
||||||
deadfish_16: 'music/deadfish_16',
|
deadfish_16: 'music/deadfish_16',
|
||||||
deadfish_17: 'music/deadfish_17',
|
deadfish_17: 'music/deadfish_17',
|
||||||
deadfish_18: 'music/deadfish_18',
|
deadfish_18: 'music/deadfish_18',
|
||||||
deadfish_19: 'music/deadfish_19',
|
deadfish_19: 'music/deadfish_19',
|
||||||
deadfish_20: 'music/deadfish_20',
|
deadfish_20: 'music/deadfish_20',
|
||||||
deadfish_21: 'music/deadfish_21',
|
deadfish_21: 'music/deadfish_21',
|
||||||
deadfish_22: 'music/deadfish_22',
|
deadfish_22: 'music/deadfish_22',
|
||||||
deadfish_23: 'music/deadfish_23',
|
deadfish_23: 'music/deadfish_23',
|
||||||
deadfish_24: 'music/deadfish_24',
|
deadfish_24: 'music/deadfish_24',
|
||||||
deadfish_25: 'music/deadfish_25',
|
deadfish_25: 'music/deadfish_25',
|
||||||
deadfish_26: 'music/deadfish_26',
|
deadfish_26: 'music/deadfish_26',
|
||||||
deadfish_27: 'music/deadfish_27',
|
deadfish_27: 'music/deadfish_27',
|
||||||
deadfish_28: 'music/deadfish_28',
|
deadfish_28: 'music/deadfish_28',
|
||||||
deadfish_29: 'music/deadfish_29',
|
deadfish_29: 'music/deadfish_29',
|
||||||
fire: 'music/fire',
|
fire: 'music/fire',
|
||||||
}
|
}
|
||||||
// 音乐要预加载的配置
|
// 音乐要预加载的配置
|
||||||
for (const key in musicConfig) {
|
for (const key in musicConfig) {
|
||||||
if (musicConfig.hasOwnProperty(key)) {
|
if (Object.prototype.hasOwnProperty.call(musicConfig, key)) {
|
||||||
const path = `${GameConfig.GameName}/${musicConfig[key]}`
|
const path = `${GameConfig.GameName}/${musicConfig[key]}`
|
||||||
MusicConfig.musicKey2Path.set(key, path)
|
MusicConfig.musicKey2Path.set(key, path)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
export default class NetConfig {
|
export default class NetConfig {
|
||||||
public static hotupdateUrl: string = 'http://localhost:33/hotupdate'
|
public static hotupdateUrl: string = 'http://localhost:33/hotupdate'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,50 +1,53 @@
|
|||||||
import { _decorator, Component, instantiate, Label, Node, tween, Vec3 } from 'cc'
|
import { Component, Label, Node, Vec3, _decorator, instantiate, tween } from 'cc'
|
||||||
import PrefabLoader from '../utils/PrefabLoader'
|
|
||||||
import { GameConfig } from '../../game/config/GameConfig'
|
import { GameConfig } from '../../game/config/GameConfig'
|
||||||
|
import PrefabLoader from '../utils/PrefabLoader'
|
||||||
|
|
||||||
import DialogBase from './DialogBase'
|
import DialogBase from './DialogBase'
|
||||||
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('CommonTips')
|
@ccclass('CommonTips')
|
||||||
export default class CommonTips extends Component {
|
export default class CommonTips extends Component {
|
||||||
public static TipsZorderIndex: number = 999
|
public static TipsZorderIndex: number = 999
|
||||||
@property({ type: Label })
|
@property({ type: Label })
|
||||||
txtContent: Label | null = null
|
txtContent: Label | null = null
|
||||||
private tips: string = ''
|
|
||||||
private static showingNameList: Array<string> = []
|
|
||||||
onLoad() {}
|
|
||||||
|
|
||||||
start() {
|
private tips: string = ''
|
||||||
tween(this.node)
|
private static showingNameList: Array<string> = []
|
||||||
.by(1.5, { position: new Vec3(0, 100, 0) })
|
|
||||||
.to(0.2, { /* opacity: 0*/ scale: Vec3.ZERO })
|
|
||||||
.call(() => {
|
|
||||||
this.node.destroy()
|
|
||||||
})
|
|
||||||
.start()
|
|
||||||
}
|
|
||||||
|
|
||||||
onDestroy() {
|
onLoad() {}
|
||||||
let index: number = CommonTips.showingNameList.indexOf(this.tips)
|
|
||||||
CommonTips.showingNameList.splice(index, 1)
|
|
||||||
this.unscheduleAllCallbacks()
|
|
||||||
}
|
|
||||||
|
|
||||||
public static showMsg(msg: string, parentNode: Node = null) {
|
start() {
|
||||||
PrefabLoader.loadPrefab(
|
tween(this.node)
|
||||||
`${GameConfig.GameName}/share/uicomponent/CommonTips`,
|
.by(1.5, { position: new Vec3(0, 100, 0) })
|
||||||
(loadedResource) => {
|
.to(0.2, { /* opacity: 0 */ scale: Vec3.ZERO })
|
||||||
parentNode = parentNode || DialogBase.GetRootCanvas()
|
.call(() => {
|
||||||
if (CommonTips.showingNameList.indexOf(msg) === -1) {
|
this.node.destroy()
|
||||||
CommonTips.showingNameList.push(msg)
|
})
|
||||||
}
|
.start()
|
||||||
let dialogNode = instantiate(loadedResource)
|
}
|
||||||
dialogNode.setPosition(0, 0)
|
|
||||||
let dialogScript: CommonTips = dialogNode.getComponent(CommonTips)
|
onDestroy() {
|
||||||
dialogScript.tips = msg
|
const index: number = CommonTips.showingNameList.indexOf(this.tips)
|
||||||
dialogScript.txtContent.string = msg
|
CommonTips.showingNameList.splice(index, 1)
|
||||||
parentNode.insertChild(dialogNode, CommonTips.TipsZorderIndex)
|
this.unscheduleAllCallbacks()
|
||||||
}
|
}
|
||||||
)
|
|
||||||
}
|
public static showMsg(msg: string, parentNode: Node = null) {
|
||||||
|
PrefabLoader.loadPrefab(
|
||||||
|
`${GameConfig.GameName}/share/uicomponent/CommonTips`,
|
||||||
|
(loadedResource) => {
|
||||||
|
parentNode = parentNode || DialogBase.GetRootCanvas()
|
||||||
|
if (!CommonTips.showingNameList.includes(msg)) CommonTips.showingNameList.push(msg)
|
||||||
|
|
||||||
|
const dialogNode = instantiate(loadedResource)
|
||||||
|
dialogNode.setPosition(0, 0)
|
||||||
|
const dialogScript: CommonTips = dialogNode.getComponent(CommonTips)
|
||||||
|
dialogScript.tips = msg
|
||||||
|
dialogScript.txtContent.string = msg
|
||||||
|
parentNode.insertChild(dialogNode, CommonTips.TipsZorderIndex)
|
||||||
|
},
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,30 +1,36 @@
|
|||||||
import { _decorator, Component, instantiate, Node, Prefab, Widget } from 'cc'
|
import { Component, Node, Prefab, Widget, _decorator, instantiate } from 'cc'
|
||||||
import PrefabLoader from '../utils/PrefabLoader'
|
|
||||||
import { GameConfig } from '../../game/config/GameConfig'
|
import { GameConfig } from '../../game/config/GameConfig'
|
||||||
|
import PrefabLoader from '../utils/PrefabLoader'
|
||||||
|
|
||||||
import DialogBase from './DialogBase'
|
import DialogBase from './DialogBase'
|
||||||
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('DarkLayer')
|
@ccclass('DarkLayer')
|
||||||
export default class DarkLayer extends Component {
|
export default class DarkLayer extends Component {
|
||||||
private static prefab: Prefab
|
private static prefab: Prefab
|
||||||
onLoad() {
|
|
||||||
this.getComponent(Widget).target = DialogBase.GetRootCanvas()
|
onLoad() {
|
||||||
}
|
this.getComponent(Widget).target = DialogBase.GetRootCanvas()
|
||||||
start() {}
|
}
|
||||||
public static preLoad(): Promise<void> {
|
|
||||||
return new Promise((resolve, reject) => {
|
start() {}
|
||||||
PrefabLoader.loadPrefab(
|
|
||||||
`${GameConfig.GameName}/share/uicomponent/DarkLayer`,
|
public static preLoad(): Promise<void> {
|
||||||
(loadedResource) => {
|
return new Promise((resolve, reject) => {
|
||||||
DarkLayer.prefab = loadedResource
|
PrefabLoader.loadPrefab(
|
||||||
resolve()
|
`${GameConfig.GameName}/share/uicomponent/DarkLayer`,
|
||||||
}
|
(loadedResource) => {
|
||||||
)
|
DarkLayer.prefab = loadedResource
|
||||||
})
|
resolve()
|
||||||
}
|
},
|
||||||
public static getDarkLayer() {
|
)
|
||||||
let dialogNode: Node = instantiate(DarkLayer.prefab)
|
})
|
||||||
return dialogNode
|
}
|
||||||
}
|
|
||||||
|
public static getDarkLayer() {
|
||||||
|
const dialogNode: Node = instantiate(DarkLayer.prefab)
|
||||||
|
return dialogNode
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,65 +1,65 @@
|
|||||||
import { _decorator, Component, Node, Widget } from 'cc'
|
import { Component, Node, Widget, _decorator } from 'cc'
|
||||||
import DarkLayer from './DarkLayer'
|
|
||||||
import { UIRoot } from '../../game/utils/UIRoot'
|
import { UIRoot } from '../../game/utils/UIRoot'
|
||||||
|
|
||||||
|
import DarkLayer from './DarkLayer'
|
||||||
|
|
||||||
const { ccclass } = _decorator
|
const { ccclass } = _decorator
|
||||||
|
|
||||||
@ccclass('DialogBase')
|
@ccclass('DialogBase')
|
||||||
export default class DialogBase extends Component {
|
export default class DialogBase extends Component {
|
||||||
private static LocalZOrder: number = 5
|
private static LocalZOrder: number = 5
|
||||||
private darkLayer: Node | null = null
|
private darkLayer: Node | null = null
|
||||||
|
|
||||||
//private static _canvas: Node;
|
// private static _canvas: Node;
|
||||||
public static GetRootCanvas(): Node {
|
public static GetRootCanvas(): Node {
|
||||||
//if(DialogBase._canvas == null)
|
// if(DialogBase._canvas == null)
|
||||||
// DialogBase._canvas = director.getScene().getChildByName('Canvas');
|
// DialogBase._canvas = director.getScene().getChildByName('Canvas');
|
||||||
//return DialogBase._canvas;
|
// return DialogBase._canvas;
|
||||||
return UIRoot.Instance.node
|
return UIRoot.Instance.node
|
||||||
}
|
}
|
||||||
onLoad() {
|
|
||||||
DialogBase.LocalZOrder += 1
|
|
||||||
let closeLayer: Node = this.node.getChildByName('closeLayer')
|
|
||||||
if (closeLayer) {
|
|
||||||
let closeLayerWidget: Widget = closeLayer.getComponent(Widget)
|
|
||||||
if (closeLayerWidget) {
|
|
||||||
closeLayerWidget.target = DialogBase.GetRootCanvas()
|
|
||||||
closeLayerWidget.left = 0
|
|
||||||
closeLayerWidget.right = 0
|
|
||||||
closeLayerWidget.top = 0
|
|
||||||
closeLayerWidget.bottom = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
this.onLoadMe()
|
|
||||||
}
|
|
||||||
|
|
||||||
onLoadMe() {}
|
onLoad() {
|
||||||
|
DialogBase.LocalZOrder += 1
|
||||||
|
const closeLayer: Node = this.node.getChildByName('closeLayer')
|
||||||
|
if (closeLayer) {
|
||||||
|
const closeLayerWidget: Widget = closeLayer.getComponent(Widget)
|
||||||
|
if (closeLayerWidget) {
|
||||||
|
closeLayerWidget.target = DialogBase.GetRootCanvas()
|
||||||
|
closeLayerWidget.left = 0
|
||||||
|
closeLayerWidget.right = 0
|
||||||
|
closeLayerWidget.top = 0
|
||||||
|
closeLayerWidget.bottom = 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.onLoadMe()
|
||||||
|
}
|
||||||
|
|
||||||
start(isPlayMv: boolean = false) {
|
onLoadMe() {}
|
||||||
this.darkLayer = DarkLayer.getDarkLayer()
|
|
||||||
this.node.insertChild(this.darkLayer, 0) //this.node.addChild(this.darkLayer, -1);
|
|
||||||
if (isPlayMv) {
|
|
||||||
this.node.setScale(0, 0)
|
|
||||||
} else {
|
|
||||||
this.onStartMe()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
onStartMe() {}
|
start(isPlayMv: boolean = false) {
|
||||||
|
this.darkLayer = DarkLayer.getDarkLayer()
|
||||||
|
this.node.insertChild(this.darkLayer, 0) // this.node.addChild(this.darkLayer, -1);
|
||||||
|
if (isPlayMv) this.node.setScale(0, 0)
|
||||||
|
else this.onStartMe()
|
||||||
|
}
|
||||||
|
|
||||||
onClickClose() {
|
onStartMe() {}
|
||||||
this.node.destroy()
|
|
||||||
}
|
|
||||||
|
|
||||||
update(dt) {
|
onClickClose() {
|
||||||
this.onUpdateMe(dt)
|
this.node.destroy()
|
||||||
}
|
}
|
||||||
|
|
||||||
onUpdateMe(dt) {}
|
update(dt) {
|
||||||
|
this.onUpdateMe(dt)
|
||||||
|
}
|
||||||
|
|
||||||
onDestroy() {
|
onUpdateMe(dt) {}
|
||||||
DialogBase.LocalZOrder -= 1
|
|
||||||
this.onDestroyMe()
|
|
||||||
}
|
|
||||||
|
|
||||||
onDestroyMe() {}
|
onDestroy() {
|
||||||
|
DialogBase.LocalZOrder -= 1
|
||||||
|
this.onDestroyMe()
|
||||||
|
}
|
||||||
|
|
||||||
|
onDestroyMe() {}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,78 +1,76 @@
|
|||||||
import { _decorator, Component, instantiate, Node, Prefab, Quat, Vec3 } from 'cc'
|
import { Component, Node, Prefab, Quat, Vec3, _decorator, instantiate } from 'cc'
|
||||||
import PrefabLoader from '../utils/PrefabLoader'
|
|
||||||
import { GameConfig } from '../../game/config/GameConfig'
|
import { GameConfig } from '../../game/config/GameConfig'
|
||||||
|
import PrefabLoader from '../utils/PrefabLoader'
|
||||||
|
|
||||||
import DialogBase from './DialogBase'
|
import DialogBase from './DialogBase'
|
||||||
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('LoadingPrefab')
|
@ccclass('LoadingPrefab')
|
||||||
export default class LoadingPrefab extends Component {
|
export default class LoadingPrefab extends Component {
|
||||||
public static instance: Node
|
public static instance: Node
|
||||||
private static prefab: Prefab
|
private static prefab: Prefab
|
||||||
public static LoadingZorderIndex: number = 99
|
public static LoadingZorderIndex: number = 99
|
||||||
@property({ type: Node })
|
@property({ type: Node })
|
||||||
loadingSp: Node | null = null
|
loadingSp: Node | null = null
|
||||||
|
|
||||||
private _quatCache: Quat
|
private _quatCache: Quat
|
||||||
private _vec3Cache: Vec3
|
private _vec3Cache: Vec3
|
||||||
onLoad() {
|
|
||||||
this._quatCache = new Quat()
|
|
||||||
this._vec3Cache = new Vec3()
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {}
|
onLoad() {
|
||||||
|
this._quatCache = new Quat()
|
||||||
|
this._vec3Cache = new Vec3()
|
||||||
|
}
|
||||||
|
|
||||||
public static close() {
|
start() {}
|
||||||
if (!LoadingPrefab.instance) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
LoadingPrefab.instance.removeFromParent()
|
|
||||||
LoadingPrefab.instance.destroy()
|
|
||||||
LoadingPrefab.instance = null
|
|
||||||
}
|
|
||||||
|
|
||||||
public static preLoad(): Promise<void> {
|
public static close() {
|
||||||
return new Promise((resolve, reject) => {
|
if (!LoadingPrefab.instance) return
|
||||||
PrefabLoader.loadPrefab(
|
|
||||||
GameConfig.GameName + '/' + 'share/uicomponent/LoadingPrefab',
|
|
||||||
(loadedResource) => {
|
|
||||||
LoadingPrefab.prefab = loadedResource
|
|
||||||
resolve()
|
|
||||||
}
|
|
||||||
)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
private static createLoadingPrefab(parentNode: Node = null) {
|
LoadingPrefab.instance.removeFromParent()
|
||||||
let dialogNode: Node = instantiate(LoadingPrefab.prefab)
|
LoadingPrefab.instance.destroy()
|
||||||
LoadingPrefab.instance = dialogNode
|
LoadingPrefab.instance = null
|
||||||
if (!parentNode) {
|
}
|
||||||
parentNode = DialogBase.GetRootCanvas()
|
|
||||||
}
|
|
||||||
parentNode.insertChild(dialogNode, LoadingPrefab.LoadingZorderIndex)
|
|
||||||
dialogNode.setPosition(0, 0)
|
|
||||||
}
|
|
||||||
|
|
||||||
public static async show(parentNode: Node = null) {
|
public static preLoad(): Promise<void> {
|
||||||
if (LoadingPrefab.instance) return
|
return new Promise((resolve, reject) => {
|
||||||
if (!LoadingPrefab.prefab) {
|
PrefabLoader.loadPrefab(
|
||||||
await LoadingPrefab.preLoad()
|
`${GameConfig.GameName}/share/uicomponent/LoadingPrefab`,
|
||||||
}
|
(loadedResource) => {
|
||||||
this.createLoadingPrefab(parentNode)
|
LoadingPrefab.prefab = loadedResource
|
||||||
}
|
resolve()
|
||||||
|
},
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
update(dt) {
|
private static createLoadingPrefab(parentNode: Node = null) {
|
||||||
this.loadingSp.getRotation(this._quatCache)
|
const dialogNode: Node = instantiate(LoadingPrefab.prefab)
|
||||||
Quat.toEuler(this._vec3Cache, this._quatCache)
|
LoadingPrefab.instance = dialogNode
|
||||||
this._vec3Cache.z += 10
|
if (!parentNode) parentNode = DialogBase.GetRootCanvas()
|
||||||
this.loadingSp.setRotationFromEuler(this._vec3Cache)
|
|
||||||
if (this._vec3Cache.z >= 360) {
|
|
||||||
this.loadingSp.getRotation(Quat.IDENTITY)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static clear() {
|
parentNode.insertChild(dialogNode, LoadingPrefab.LoadingZorderIndex)
|
||||||
LoadingPrefab.instance = null
|
dialogNode.setPosition(0, 0)
|
||||||
LoadingPrefab.prefab = null
|
}
|
||||||
}
|
|
||||||
|
public static async show(parentNode: Node = null) {
|
||||||
|
if (LoadingPrefab.instance) return
|
||||||
|
if (!LoadingPrefab.prefab) await LoadingPrefab.preLoad()
|
||||||
|
|
||||||
|
this.createLoadingPrefab(parentNode)
|
||||||
|
}
|
||||||
|
|
||||||
|
update(dt) {
|
||||||
|
this.loadingSp.getRotation(this._quatCache)
|
||||||
|
Quat.toEuler(this._vec3Cache, this._quatCache)
|
||||||
|
this._vec3Cache.z += 10
|
||||||
|
this.loadingSp.setRotationFromEuler(this._vec3Cache)
|
||||||
|
if (this._vec3Cache.z >= 360) this.loadingSp.getRotation(Quat.IDENTITY)
|
||||||
|
}
|
||||||
|
|
||||||
|
public static clear() {
|
||||||
|
LoadingPrefab.instance = null
|
||||||
|
LoadingPrefab.prefab = null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,90 +1,76 @@
|
|||||||
import { _decorator, Component, instantiate, Node, Prefab } from 'cc'
|
import { Component, Node, Prefab, _decorator, instantiate } from 'cc'
|
||||||
import PrefabLoader from '../utils/PrefabLoader'
|
|
||||||
import Progress from './Progress'
|
|
||||||
import { GameConfig } from '../../game/config/GameConfig'
|
import { GameConfig } from '../../game/config/GameConfig'
|
||||||
|
import PrefabLoader from '../utils/PrefabLoader'
|
||||||
|
|
||||||
import DialogBase from './DialogBase'
|
import DialogBase from './DialogBase'
|
||||||
|
import Progress from './Progress'
|
||||||
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('LoadingScenePrefab')
|
@ccclass('LoadingScenePrefab')
|
||||||
export default class LoadingScenePrefab extends Component {
|
export default class LoadingScenePrefab extends Component {
|
||||||
public static instance: Node
|
public static instance: Node
|
||||||
private static prefab: Prefab
|
private static prefab: Prefab
|
||||||
public static LoadingZorderIndex: number = 99
|
public static LoadingZorderIndex: number = 99
|
||||||
@property({ type: Node })
|
@property({ type: Node })
|
||||||
private progressNode: Node | null = null
|
private progressNode: Node | null = null
|
||||||
onLoad() {}
|
|
||||||
|
|
||||||
start() {}
|
onLoad() {}
|
||||||
|
|
||||||
public updateProgress(
|
start() {}
|
||||||
completedCount: number,
|
|
||||||
totalCount: number,
|
|
||||||
item: any = null
|
|
||||||
) {
|
|
||||||
this.progressNode
|
|
||||||
.getComponent(Progress)
|
|
||||||
.updateProgress(
|
|
||||||
completedCount,
|
|
||||||
totalCount,
|
|
||||||
'消耗流量,预下载所有"鱼"类中,请耐心等待...'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
public static updateLoading(
|
public updateProgress(completedCount: number, totalCount: number, item: any = null) {
|
||||||
completedCount: number,
|
this.progressNode
|
||||||
totalCount: number,
|
.getComponent(Progress)
|
||||||
item: any = null
|
.updateProgress(completedCount, totalCount, '消耗流量,预下载所有"鱼"类中,请耐心等待...')
|
||||||
) {
|
}
|
||||||
if (LoadingScenePrefab.instance) {
|
|
||||||
let nodeTs: LoadingScenePrefab =
|
|
||||||
LoadingScenePrefab.instance.getComponent(LoadingScenePrefab)
|
|
||||||
if (nodeTs) {
|
|
||||||
nodeTs.updateProgress(completedCount, totalCount, item)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private static createPrefab(parentNode: Node = null) {
|
public static updateLoading(completedCount: number, totalCount: number, item: any = null) {
|
||||||
let dialogNode: Node = instantiate(LoadingScenePrefab.prefab)
|
if (LoadingScenePrefab.instance) {
|
||||||
LoadingScenePrefab.instance = dialogNode
|
const nodeTs: LoadingScenePrefab =
|
||||||
if (!parentNode) {
|
LoadingScenePrefab.instance.getComponent(LoadingScenePrefab)
|
||||||
parentNode = DialogBase.GetRootCanvas()
|
if (nodeTs) nodeTs.updateProgress(completedCount, totalCount, item)
|
||||||
}
|
}
|
||||||
parentNode.insertChild(dialogNode, LoadingScenePrefab.LoadingZorderIndex)
|
}
|
||||||
dialogNode.setPosition(0, 0)
|
|
||||||
}
|
|
||||||
|
|
||||||
public static preLoad(): Promise<void> {
|
private static createPrefab(parentNode: Node = null) {
|
||||||
return new Promise((resolve, reject) => {
|
const dialogNode: Node = instantiate(LoadingScenePrefab.prefab)
|
||||||
PrefabLoader.loadPrefab(
|
LoadingScenePrefab.instance = dialogNode
|
||||||
GameConfig.GameName + '/' + 'share/uicomponent/LoadingScenePrefab',
|
if (!parentNode) parentNode = DialogBase.GetRootCanvas()
|
||||||
(loadedResource: Prefab) => {
|
|
||||||
LoadingScenePrefab.prefab = loadedResource
|
|
||||||
resolve()
|
|
||||||
}
|
|
||||||
)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
public static close() {
|
parentNode.insertChild(dialogNode, LoadingScenePrefab.LoadingZorderIndex)
|
||||||
if (!LoadingScenePrefab.instance) {
|
dialogNode.setPosition(0, 0)
|
||||||
return
|
}
|
||||||
}
|
|
||||||
LoadingScenePrefab.instance.destroy()
|
|
||||||
LoadingScenePrefab.instance = null
|
|
||||||
}
|
|
||||||
|
|
||||||
public static async show(parentNode: Node = null) {
|
public static preLoad(): Promise<void> {
|
||||||
if (LoadingScenePrefab.instance) return
|
return new Promise((resolve, reject) => {
|
||||||
if (!LoadingScenePrefab.prefab) {
|
PrefabLoader.loadPrefab(
|
||||||
await LoadingScenePrefab.preLoad()
|
`${GameConfig.GameName}/share/uicomponent/LoadingScenePrefab`,
|
||||||
}
|
(loadedResource: Prefab) => {
|
||||||
this.createPrefab(parentNode)
|
LoadingScenePrefab.prefab = loadedResource
|
||||||
}
|
resolve()
|
||||||
|
},
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
public static clear() {
|
public static close() {
|
||||||
LoadingScenePrefab.instance = null
|
if (!LoadingScenePrefab.instance) return
|
||||||
LoadingScenePrefab.prefab = null
|
|
||||||
}
|
LoadingScenePrefab.instance.destroy()
|
||||||
|
LoadingScenePrefab.instance = null
|
||||||
|
}
|
||||||
|
|
||||||
|
public static async show(parentNode: Node = null) {
|
||||||
|
if (LoadingScenePrefab.instance) return
|
||||||
|
if (!LoadingScenePrefab.prefab) await LoadingScenePrefab.preLoad()
|
||||||
|
|
||||||
|
this.createPrefab(parentNode)
|
||||||
|
}
|
||||||
|
|
||||||
|
public static clear() {
|
||||||
|
LoadingScenePrefab.instance = null
|
||||||
|
LoadingScenePrefab.prefab = null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,18 @@
|
|||||||
import { _decorator, AssetManager, AudioClip, AudioSource, Component, instantiate, Prefab } from 'cc'
|
import {
|
||||||
|
AssetManager,
|
||||||
|
AudioClip,
|
||||||
|
AudioSource,
|
||||||
|
Component,
|
||||||
|
Prefab,
|
||||||
|
_decorator,
|
||||||
|
instantiate,
|
||||||
|
} from 'cc'
|
||||||
|
|
||||||
|
import { GameConfig } from '../../game/config/GameConfig'
|
||||||
|
import MusicConfig from '../config/MusicConfig'
|
||||||
|
import LocalStorage from '../utils/LocalStorage'
|
||||||
import { Logger } from '../utils/Logger'
|
import { Logger } from '../utils/Logger'
|
||||||
import PrefabLoader from '../utils/PrefabLoader'
|
import PrefabLoader from '../utils/PrefabLoader'
|
||||||
import LocalStorage from '../utils/LocalStorage'
|
|
||||||
import MusicConfig from '../config/MusicConfig'
|
|
||||||
import { GameConfig } from '../../game/config/GameConfig'
|
|
||||||
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@@ -13,71 +22,59 @@ const { ccclass, property } = _decorator
|
|||||||
|
|
||||||
@ccclass('MusicPrefab')
|
@ccclass('MusicPrefab')
|
||||||
export default class MusicPrefab extends Component {
|
export default class MusicPrefab extends Component {
|
||||||
private static instance: MusicPrefab
|
private static instance: MusicPrefab
|
||||||
private static MUSIC_VOLUMN_KEY: string = 'musicVolumn'
|
private static MUSIC_VOLUMN_KEY: string = 'musicVolumn'
|
||||||
public static musicVolumn: number = 1
|
public static musicVolumn: number = 1
|
||||||
public static play(key: string) {
|
|
||||||
let url: string = MusicConfig.musicKey2Path.get(key)
|
|
||||||
if (url) {
|
|
||||||
AssetManager.instance.resources.load(
|
|
||||||
url,
|
|
||||||
AudioClip,
|
|
||||||
(error: Error, clip: AudioClip) => {
|
|
||||||
if (error) {
|
|
||||||
Logger.warn(this, 'load music error===', error.message)
|
|
||||||
} else {
|
|
||||||
if (clip) {
|
|
||||||
this.instance.node.getComponent(AudioSource).clip = clip
|
|
||||||
this.instance.node.getComponent(AudioSource).volume =
|
|
||||||
this.musicVolumn
|
|
||||||
this.instance.node.getComponent(AudioSource).play()
|
|
||||||
this.instance.node.getComponent(AudioSource).loop = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)
|
|
||||||
} else {
|
|
||||||
Logger.warn(this, '播放不存在的music=', key)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static changeVolumn(nowVolumn: number) {
|
public static play(key: string) {
|
||||||
this.musicVolumn = nowVolumn
|
const url: string = MusicConfig.musicKey2Path.get(key)
|
||||||
this.instance.node.getComponent(AudioSource).volume = nowVolumn
|
if (url) {
|
||||||
LocalStorage.setItem(
|
AssetManager.instance.resources.load(url, AudioClip, (error: Error, clip: AudioClip) => {
|
||||||
MusicPrefab.MUSIC_VOLUMN_KEY,
|
if (error) {
|
||||||
this.musicVolumn.toString()
|
Logger.warn(this, 'load music error===', error.message)
|
||||||
)
|
} else {
|
||||||
}
|
if (clip) {
|
||||||
|
this.instance.node.getComponent(AudioSource).clip = clip
|
||||||
|
this.instance.node.getComponent(AudioSource).volume = this.musicVolumn
|
||||||
|
this.instance.node.getComponent(AudioSource).play()
|
||||||
|
this.instance.node.getComponent(AudioSource).loop = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
Logger.warn(this, '播放不存在的music=', key)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private static preInit() {
|
public static changeVolumn(nowVolumn: number) {
|
||||||
this.musicVolumn = parseFloat(
|
this.musicVolumn = nowVolumn
|
||||||
LocalStorage.getItem(MusicPrefab.MUSIC_VOLUMN_KEY)
|
this.instance.node.getComponent(AudioSource).volume = nowVolumn
|
||||||
)
|
LocalStorage.setItem(MusicPrefab.MUSIC_VOLUMN_KEY, this.musicVolumn.toString())
|
||||||
if (isNaN(this.musicVolumn)) {
|
}
|
||||||
this.musicVolumn = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static preLoad(): Promise<void> {
|
private static preInit() {
|
||||||
return new Promise((resolve, reject) => {
|
this.musicVolumn = Number.parseFloat(LocalStorage.getItem(MusicPrefab.MUSIC_VOLUMN_KEY))
|
||||||
PrefabLoader.loadPrefab(
|
if (Number.isNaN(this.musicVolumn)) this.musicVolumn = 1
|
||||||
GameConfig.GameName + '/' + 'share/uicomponent/MusicPrefab',
|
}
|
||||||
(loadedResource: Prefab) => {
|
|
||||||
MusicPrefab.instance =
|
|
||||||
instantiate(loadedResource).getComponent(MusicPrefab)
|
|
||||||
this.preInit()
|
|
||||||
resolve()
|
|
||||||
}
|
|
||||||
)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
public static destory() {
|
public static preLoad(): Promise<void> {
|
||||||
if (MusicPrefab.instance) {
|
return new Promise((resolve, reject) => {
|
||||||
MusicPrefab.instance.getComponent(AudioSource).stop()
|
PrefabLoader.loadPrefab(
|
||||||
MusicPrefab.instance.destroy()
|
`${GameConfig.GameName}/share/uicomponent/MusicPrefab`,
|
||||||
}
|
(loadedResource: Prefab) => {
|
||||||
MusicPrefab.instance = null
|
MusicPrefab.instance = instantiate(loadedResource).getComponent(MusicPrefab)
|
||||||
}
|
this.preInit()
|
||||||
|
resolve()
|
||||||
|
},
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
public static destory() {
|
||||||
|
if (MusicPrefab.instance) {
|
||||||
|
MusicPrefab.instance.getComponent(AudioSource).stop()
|
||||||
|
MusicPrefab.instance.destroy()
|
||||||
|
}
|
||||||
|
MusicPrefab.instance = null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,56 +1,55 @@
|
|||||||
import { _decorator, Component, Label, ProgressBar } from 'cc'
|
import { Component, Label, ProgressBar, _decorator } from 'cc'
|
||||||
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('Progress')
|
@ccclass('Progress')
|
||||||
export default class Progress extends Component {
|
export default class Progress extends Component {
|
||||||
@property(Label)
|
@property(Label)
|
||||||
public percentLable: Label
|
public percentLable: Label
|
||||||
|
|
||||||
@property(ProgressBar)
|
@property(ProgressBar)
|
||||||
public bar: ProgressBar
|
public bar: ProgressBar
|
||||||
|
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.bar.node.active = false
|
this.bar.node.active = false
|
||||||
this.bar.progress = 0
|
this.bar.progress = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {}
|
start() {}
|
||||||
|
|
||||||
updatePercent(current, filePercent) {
|
updatePercent(current, filePercent) {
|
||||||
//this.percentLable.string = filePercent.toFixed(2);
|
// this.percentLable.string = filePercent.toFixed(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
updatefileTotal(current, filePercent) {
|
updatefileTotal(current: number, filePercent: number) {
|
||||||
if (!this.bar.node.active) this.bar.node.active = true
|
if (!this.bar.node.active) this.bar.node.active = true
|
||||||
var nowPercent = Math.round((current / filePercent) * 100)
|
let nowPercent = Math.round((current / filePercent) * 100)
|
||||||
var curMB = this.getMB(current)
|
const curMB = this.getMB(current)
|
||||||
var totalMB = this.getMB(filePercent)
|
const totalMB = this.getMB(filePercent)
|
||||||
// this.percentLable.string = "正在更新 " + nowPercent + "%" + " ( " + curMB + " / "+totalMB +" MB)";
|
// this.percentLable.string = "正在更新 " + nowPercent + "%" + " ( " + curMB + " / "+totalMB +" MB)";
|
||||||
nowPercent = Math.min(nowPercent, 100)
|
nowPercent = Math.min(nowPercent, 100)
|
||||||
this.percentLable.string = '正在更新 ' + nowPercent + '%'
|
this.percentLable.string = `正在更新 ${nowPercent}%`
|
||||||
var percent = current / filePercent
|
this.bar.progress = current / filePercent
|
||||||
this.bar.progress = percent
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public updateProgress(
|
public updateProgress(
|
||||||
current,
|
current: number,
|
||||||
total,
|
total: number,
|
||||||
msg: string = '正在加载资源,此过程不消耗流量...'
|
msg: string = '正在加载资源,此过程不消耗流量...',
|
||||||
) {
|
) {
|
||||||
this.bar.node.active = true
|
this.bar.node.active = true
|
||||||
// this.setMsg(msg+ current + "/" + total);
|
// this.setMsg(msg+ current + "/" + total);
|
||||||
this.setMsg(msg)
|
this.setMsg(msg)
|
||||||
this.bar.progress = current / total
|
this.bar.progress = current / total
|
||||||
}
|
}
|
||||||
|
|
||||||
getMB(bytes) {
|
getMB(bytes: number) {
|
||||||
bytes /= 1024
|
bytes /= 1024
|
||||||
bytes /= 1024
|
bytes /= 1024
|
||||||
return bytes.toFixed(2)
|
return bytes.toFixed(2)
|
||||||
}
|
}
|
||||||
|
|
||||||
public setMsg(msg: string = '游戏加载中,请稍后...') {
|
public setMsg(msg: string = '游戏加载中,请稍后...') {
|
||||||
this.percentLable.string = msg
|
this.percentLable.string = msg
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,22 @@
|
|||||||
import { _decorator, AssetManager, AudioClip, AudioSource, Component, instantiate, Node, NodePool, Prefab } from 'cc'
|
import {
|
||||||
import { Logger } from '../utils/Logger'
|
AssetManager,
|
||||||
import PrefabLoader from '../utils/PrefabLoader'
|
AudioClip,
|
||||||
import LocalStorage from '../utils/LocalStorage'
|
AudioSource,
|
||||||
import EventManager from '../utils/EventManager'
|
Component,
|
||||||
|
Node,
|
||||||
|
NodePool,
|
||||||
|
Prefab,
|
||||||
|
_decorator,
|
||||||
|
instantiate,
|
||||||
|
} from 'cc'
|
||||||
|
|
||||||
|
import { GameConfig } from '../../game/config/GameConfig'
|
||||||
import CommonEvent from '../config/CommonEvent'
|
import CommonEvent from '../config/CommonEvent'
|
||||||
import MusicConfig from '../config/MusicConfig'
|
import MusicConfig from '../config/MusicConfig'
|
||||||
import { GameConfig } from '../../game/config/GameConfig'
|
import EventManager from '../utils/EventManager'
|
||||||
|
import LocalStorage from '../utils/LocalStorage'
|
||||||
|
import { Logger } from '../utils/Logger'
|
||||||
|
import PrefabLoader from '../utils/PrefabLoader'
|
||||||
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@@ -16,120 +27,102 @@ const { ccclass, property } = _decorator
|
|||||||
|
|
||||||
@ccclass('SoundPrefab')
|
@ccclass('SoundPrefab')
|
||||||
export default class SoundPrefab extends Component {
|
export default class SoundPrefab extends Component {
|
||||||
private static prefab: Prefab | null = null
|
private static prefab: Prefab | null = null
|
||||||
private static SOUND_VOLUMN_KEY: string = 'soundVolumn'
|
private static SOUND_VOLUMN_KEY: string = 'soundVolumn'
|
||||||
public static soundVolumn: number = 1
|
public static soundVolumn: number = 1
|
||||||
private static Pool_Init_Num: number = 30
|
private static Pool_Init_Num: number = 30
|
||||||
private static pool: NodePool = new NodePool()
|
private static pool: NodePool = new NodePool()
|
||||||
private static nowAudioNodeList: Array<Node> = []
|
private static nowAudioNodeList: Array<Node> = []
|
||||||
private audioName: string = ''
|
private audioName: string = ''
|
||||||
private audioUrl: string = ''
|
private audioUrl: string = ''
|
||||||
private static getAudioNode() {
|
|
||||||
let node: Node = null
|
|
||||||
// if (this.pool.size() > 0) {
|
|
||||||
|
|
||||||
// node = this.pool.get();
|
private static getAudioNode() {
|
||||||
// } else {
|
let node: Node = null
|
||||||
node = instantiate(this.prefab)
|
// if (this.pool.size() > 0) {
|
||||||
// }
|
|
||||||
return node
|
|
||||||
}
|
|
||||||
|
|
||||||
public static play(key: string) {
|
// node = this.pool.get();
|
||||||
let url: string = MusicConfig.musicKey2Path.get(key)
|
// } else {
|
||||||
if (url) {
|
node = instantiate(this.prefab)
|
||||||
AssetManager.instance.resources.load(url, AudioClip, (error: Error, clip: AudioClip) => {
|
// }
|
||||||
if (error) {
|
return node
|
||||||
Logger.warn(this, 'load sound error===', error.message)
|
}
|
||||||
} else {
|
|
||||||
if (clip) {
|
|
||||||
let audioNode: Node = this.getAudioNode()
|
|
||||||
if (audioNode) {
|
|
||||||
audioNode.getComponent(AudioSource).clip = clip
|
|
||||||
audioNode.getComponent(AudioSource).volume =
|
|
||||||
SoundPrefab.soundVolumn
|
|
||||||
audioNode.getComponent(AudioSource).loop = false
|
|
||||||
audioNode.getComponent(AudioSource).currentTime = 0 //rewind();
|
|
||||||
audioNode.getComponent(AudioSource).play()
|
|
||||||
audioNode.getComponent(SoundPrefab).audioName = key
|
|
||||||
audioNode.getComponent(SoundPrefab).audioUrl = url
|
|
||||||
this.nowAudioNodeList.push(audioNode)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
Logger.warn(this, '播放不存在的music=', key)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static changeVolumn(nowVolumn: number) {
|
public static play(key: string) {
|
||||||
this.soundVolumn = nowVolumn
|
const url: string = MusicConfig.musicKey2Path.get(key)
|
||||||
for (let i = 0; i < this.nowAudioNodeList.length; i++) {
|
if (url) {
|
||||||
let audioNode: Node = this.nowAudioNodeList[i]
|
AssetManager.instance.resources.load(url, AudioClip, (error: Error, clip: AudioClip) => {
|
||||||
let audioSource: AudioSource = audioNode.getComponent(AudioSource)
|
if (error) {
|
||||||
if (audioSource.playing) {
|
Logger.warn(this, 'load sound error===', error.message)
|
||||||
audioSource.volume = nowVolumn
|
} else {
|
||||||
}
|
if (clip) {
|
||||||
}
|
const audioNode: Node = this.getAudioNode()
|
||||||
LocalStorage.setItem(
|
if (audioNode) {
|
||||||
SoundPrefab.SOUND_VOLUMN_KEY,
|
audioNode.getComponent(AudioSource).clip = clip
|
||||||
SoundPrefab.soundVolumn.toString()
|
audioNode.getComponent(AudioSource).volume = SoundPrefab.soundVolumn
|
||||||
)
|
audioNode.getComponent(AudioSource).loop = false
|
||||||
}
|
audioNode.getComponent(AudioSource).currentTime = 0 // rewind();
|
||||||
|
audioNode.getComponent(AudioSource).play()
|
||||||
|
audioNode.getComponent(SoundPrefab).audioName = key
|
||||||
|
audioNode.getComponent(SoundPrefab).audioUrl = url
|
||||||
|
this.nowAudioNodeList.push(audioNode)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
Logger.warn(this, '播放不存在的music=', key)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private static preInit() {
|
public static changeVolumn(nowVolumn: number) {
|
||||||
EventManager.instance.addListener(
|
this.soundVolumn = nowVolumn
|
||||||
CommonEvent.Event_FrameUpdate,
|
for (let i = 0; i < this.nowAudioNodeList.length; i++) {
|
||||||
this.updateFrame,
|
const audioNode: Node = this.nowAudioNodeList[i]
|
||||||
this
|
const audioSource: AudioSource = audioNode.getComponent(AudioSource)
|
||||||
)
|
if (audioSource.playing) audioSource.volume = nowVolumn
|
||||||
SoundPrefab.soundVolumn = parseFloat(
|
}
|
||||||
LocalStorage.getItem(SoundPrefab.SOUND_VOLUMN_KEY)
|
LocalStorage.setItem(SoundPrefab.SOUND_VOLUMN_KEY, SoundPrefab.soundVolumn.toString())
|
||||||
)
|
}
|
||||||
if (isNaN(SoundPrefab.soundVolumn)) {
|
|
||||||
SoundPrefab.soundVolumn = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private static updateFrame() {
|
private static preInit() {
|
||||||
for (let i = 0; i < this.nowAudioNodeList.length; i++) {
|
EventManager.instance.addListener(CommonEvent.Event_FrameUpdate, this.updateFrame, this)
|
||||||
let audioNode: Node = this.nowAudioNodeList[i]
|
SoundPrefab.soundVolumn = Number.parseFloat(LocalStorage.getItem(SoundPrefab.SOUND_VOLUMN_KEY))
|
||||||
let audioSource: AudioSource = audioNode.getComponent(AudioSource)
|
if (Number.isNaN(SoundPrefab.soundVolumn)) SoundPrefab.soundVolumn = 1
|
||||||
if (!audioSource.playing) {
|
}
|
||||||
SoundPrefab.nowAudioNodeList.splice(i, 1)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static preLoad(): Promise<void> {
|
private static updateFrame() {
|
||||||
return new Promise((resolve, reject) => {
|
for (let i = 0; i < this.nowAudioNodeList.length; i++) {
|
||||||
PrefabLoader.loadPrefab(
|
const audioNode: Node = this.nowAudioNodeList[i]
|
||||||
GameConfig.GameName + '/' + 'share/uicomponent/SoundPrefab',
|
const audioSource: AudioSource = audioNode.getComponent(AudioSource)
|
||||||
(loadedResource: Prefab) => {
|
if (!audioSource.playing) SoundPrefab.nowAudioNodeList.splice(i, 1)
|
||||||
SoundPrefab.prefab = loadedResource
|
}
|
||||||
this.preInit()
|
}
|
||||||
// for (let i = 0; i < this.Pool_Init_Num; i++) {
|
|
||||||
// let tempNode: cc.Node = cc.instantiate(loadedResource);
|
|
||||||
// this.pool.put(tempNode);
|
|
||||||
// }
|
|
||||||
resolve()
|
|
||||||
}
|
|
||||||
)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
public static destory() {
|
public static preLoad(): Promise<void> {
|
||||||
EventManager.instance.removeListener(
|
return new Promise((resolve, reject) => {
|
||||||
CommonEvent.Event_FrameUpdate,
|
PrefabLoader.loadPrefab(
|
||||||
this.updateFrame
|
`${GameConfig.GameName}/share/uicomponent/SoundPrefab`,
|
||||||
)
|
(loadedResource: Prefab) => {
|
||||||
for (let i = 0; i < this.nowAudioNodeList.length; i++) {
|
SoundPrefab.prefab = loadedResource
|
||||||
let audioNode: Node = this.nowAudioNodeList[i]
|
this.preInit()
|
||||||
audioNode.getComponent(AudioSource).stop()
|
// for (let i = 0; i < this.Pool_Init_Num; i++) {
|
||||||
audioNode.getComponent(AudioSource).destroy()
|
// let tempNode: cc.Node = cc.instantiate(loadedResource);
|
||||||
}
|
// this.pool.put(tempNode);
|
||||||
this.nowAudioNodeList = []
|
// }
|
||||||
this.pool.clear()
|
resolve()
|
||||||
}
|
},
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
public static destory() {
|
||||||
|
EventManager.instance.removeListener(CommonEvent.Event_FrameUpdate, this.updateFrame)
|
||||||
|
for (let i = 0; i < this.nowAudioNodeList.length; i++) {
|
||||||
|
const audioNode: Node = this.nowAudioNodeList[i]
|
||||||
|
audioNode.getComponent(AudioSource).stop()
|
||||||
|
audioNode.getComponent(AudioSource).destroy()
|
||||||
|
}
|
||||||
|
this.nowAudioNodeList = []
|
||||||
|
this.pool.clear()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,21 +1,25 @@
|
|||||||
import { _decorator, Component, SpriteFrame } from 'cc'
|
import { Component, SpriteFrame, _decorator } from 'cc'
|
||||||
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('TextureMgr')
|
@ccclass('TextureMgr')
|
||||||
export default class TextureMgr extends Component {
|
export default class TextureMgr extends Component {
|
||||||
@property({ type: [SpriteFrame] })
|
@property({ type: [SpriteFrame] })
|
||||||
public Spriteset: SpriteFrame[] = []
|
public Spriteset: SpriteFrame[] = []
|
||||||
@property({ type: [SpriteFrame] })
|
|
||||||
public Spriteset1: SpriteFrame[] = []
|
|
||||||
@property({ type: [SpriteFrame] })
|
|
||||||
public Spriteset2: SpriteFrame[] = []
|
|
||||||
@property({ type: [SpriteFrame] })
|
|
||||||
public Spriteset3: SpriteFrame[] = []
|
|
||||||
@property({ type: [SpriteFrame] })
|
|
||||||
public Spriteset4: SpriteFrame[] = []
|
|
||||||
|
|
||||||
onLoad() {
|
@property({ type: [SpriteFrame] })
|
||||||
// // init logic
|
public Spriteset1: SpriteFrame[] = []
|
||||||
}
|
|
||||||
|
@property({ type: [SpriteFrame] })
|
||||||
|
public Spriteset2: SpriteFrame[] = []
|
||||||
|
|
||||||
|
@property({ type: [SpriteFrame] })
|
||||||
|
public Spriteset3: SpriteFrame[] = []
|
||||||
|
|
||||||
|
@property({ type: [SpriteFrame] })
|
||||||
|
public Spriteset4: SpriteFrame[] = []
|
||||||
|
|
||||||
|
onLoad() {
|
||||||
|
// init logic
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,29 +10,25 @@ export default class AdapterHelper {
|
|||||||
|
|
||||||
public static fixApdater() {
|
public static fixApdater() {
|
||||||
log('v3.6没找到接口修改 fitHeight、fitWidth, 先在项目里写死fitHeight=true')
|
log('v3.6没找到接口修改 fitHeight、fitWidth, 先在项目里写死fitHeight=true')
|
||||||
return
|
// return
|
||||||
let framesize = view.getFrameSize()
|
// const framesize = view.getFrameSize()
|
||||||
if (!this.winSizeWidth) {
|
// if (!this.winSizeWidth) {
|
||||||
this.winSizeWidth = screen.width
|
// this.winSizeWidth = screen.width
|
||||||
this.winSizeHeiht = screen.height
|
// this.winSizeHeiht = screen.height
|
||||||
}
|
// }
|
||||||
let designsize = view.getDesignResolutionSize()
|
// const designsize = view.getDesignResolutionSize()
|
||||||
let canvas: Canvas = DialogBase.GetRootCanvas().getComponent(Canvas)
|
// const canvas: Canvas = DialogBase.GetRootCanvas().getComponent(Canvas)
|
||||||
|
|
||||||
let ratio: number = framesize.height / framesize.width
|
// const ratio: number = framesize.height / framesize.width
|
||||||
let designRatio: number = designsize.height / designsize.width
|
// const designRatio: number = designsize.height / designsize.width
|
||||||
if (ratio > designRatio) {
|
// if (ratio > designRatio) {
|
||||||
//canvas.fitHeight = false;
|
// canvas.fitHeight = false;
|
||||||
//canvas.fitWidth = true;
|
// canvas.fitWidth = true;
|
||||||
error(
|
// error('v3.6没找到接口修改 fitHeight、fitWidth, 先在项目里写死fitHeight=true')
|
||||||
'v3.6没找到接口修改 fitHeight、fitWidth, 先在项目里写死fitHeight=true'
|
// } else {
|
||||||
)
|
// // canvas.fitHeight = true;
|
||||||
} else {
|
// // canvas.fitWidth = false;
|
||||||
//canvas.fitHeight = true;
|
// error('v3.6没找到接口修改 fitHeight、fitWidth, 先在项目里写死fitHeight=true')
|
||||||
//canvas.fitWidth = false;
|
// }
|
||||||
error(
|
|
||||||
'v3.6没找到接口修改 fitHeight、fitWidth, 先在项目里写死fitHeight=true'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,45 +4,39 @@ const { ccclass, property } = _decorator
|
|||||||
|
|
||||||
@ccclass('BitUtil')
|
@ccclass('BitUtil')
|
||||||
export default class BitUtil {
|
export default class BitUtil {
|
||||||
//index是二进制从右到左
|
// index是二进制从右到左
|
||||||
public static isBitSet(value: number, index: number): boolean {
|
public static isBitSet(value: number, index: number): boolean {
|
||||||
let str: string = value.toString(2)
|
const str: string = value.toString(2)
|
||||||
return parseInt(str[str.length - 1 - index]) == 1
|
return Number.parseInt(str[str.length - 1 - index]) === 1
|
||||||
}
|
}
|
||||||
|
|
||||||
//从右到左计算
|
// 从右到左计算
|
||||||
public static setBitValue(value: number, index: number): number {
|
public static setBitValue(value: number, index: number): number {
|
||||||
let newValue: number = value
|
let newValue: number = value
|
||||||
let str: string = value.toString(2)
|
const str: string = value.toString(2)
|
||||||
let newStr: string = ''
|
let newStr: string = ''
|
||||||
let maxIndex = Math.max(str.length - 1, index)
|
const maxIndex = Math.max(str.length - 1, index)
|
||||||
for (let i = 0; i <= maxIndex; i++) {
|
for (let i = 0; i <= maxIndex; i++) {
|
||||||
if (index == i) {
|
if (index === i) {
|
||||||
newStr = '1' + newStr
|
newStr = `1${newStr}`
|
||||||
} else {
|
} else {
|
||||||
if (str[i] == undefined) {
|
if (str[i] === undefined) newStr = `0${newStr}`
|
||||||
newStr = '0' + newStr
|
else newStr = str[i] + newStr
|
||||||
} else {
|
|
||||||
newStr = str[i] + newStr
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
newValue = parseInt(newStr, 2)
|
newValue = Number.parseInt(newStr, 2)
|
||||||
return newValue
|
return newValue
|
||||||
}
|
}
|
||||||
|
|
||||||
public static clearBitValue(value: number, index: number) {
|
public static clearBitValue(value: number, index: number) {
|
||||||
let newValue: number = value
|
let newValue: number = value
|
||||||
let str: string = value.toString(2)
|
const str: string = value.toString(2)
|
||||||
let newStr: string = ''
|
let newStr: string = ''
|
||||||
for (let i = str.length - 1; i >= 0; i--) {
|
for (let i = str.length - 1; i >= 0; i--) {
|
||||||
if (index == str.length - 1 - i) {
|
if (index === str.length - 1 - i) newStr = `0${newStr}`
|
||||||
newStr = '0' + newStr
|
else newStr = str[i] + newStr
|
||||||
} else {
|
|
||||||
newStr = str[i] + newStr
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
newValue = parseInt(newStr, 2)
|
newValue = Number.parseInt(newStr, 2)
|
||||||
return newValue
|
return newValue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import { _decorator, Color } from 'cc'
|
import { Color, _decorator } from 'cc'
|
||||||
|
|
||||||
const { ccclass, property } = _decorator
|
const { ccclass, property } = _decorator
|
||||||
|
|
||||||
@ccclass('ColorHelper')
|
@ccclass('ColorHelper')
|
||||||
export default class ColorHelper {
|
export default class ColorHelper {
|
||||||
public static getColor(hexStr: string): Color {
|
public static getColor(hexStr: string): Color {
|
||||||
let color: Color = Color.BLACK
|
const color: Color = Color.BLACK
|
||||||
return color.fromHEX(hexStr)
|
return color.fromHEX(hexStr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,136 +1,83 @@
|
|||||||
export default class DateUtil {
|
export default class DateUtil {
|
||||||
public static formatNumStr(num: number) {
|
public static formatNumStr(num: number) {
|
||||||
let str = '' + num
|
let str = `${num}`
|
||||||
if (num < 10) {
|
if (num < 10) str = `0${num}`
|
||||||
str = '0' + num
|
|
||||||
}
|
|
||||||
return str
|
return str
|
||||||
}
|
}
|
||||||
|
|
||||||
public static formateYearMonthDayStr(timestamp: number) {
|
public static formateYearMonthDayStr(timestamp: number) {
|
||||||
let date: Date = new Date(timestamp)
|
const date: Date = new Date(timestamp)
|
||||||
return (
|
return `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}`
|
||||||
date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static formateMonthDayStr(timestamp: number) {
|
public static formateMonthDayStr(timestamp: number) {
|
||||||
let date: Date = new Date(timestamp)
|
const date: Date = new Date(timestamp)
|
||||||
return date.getMonth() + 1 + '月' + date.getDate() + '日'
|
return `${date.getMonth() + 1}月${date.getDate()}日`
|
||||||
}
|
}
|
||||||
|
|
||||||
// timestamp:1453094034000 2018-1-31 19:53:44
|
// timestamp:1453094034000 2018-1-31 19:53:44
|
||||||
//根据时间戳返回 2018-1-31 19:53:44
|
// 根据时间戳返回 2018-1-31 19:53:44
|
||||||
public static formatDateStr(timestamp: number) {
|
public static formatDateStr(timestamp: number) {
|
||||||
let date: Date = new Date(timestamp)
|
const date: Date = new Date(timestamp)
|
||||||
return (
|
return `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()} ${this.formatNumStr(
|
||||||
date.getFullYear() +
|
date.getHours(),
|
||||||
'-' +
|
)}:${this.formatNumStr(date.getMinutes())}:${this.formatNumStr(date.getSeconds())}`
|
||||||
(date.getMonth() + 1) +
|
|
||||||
'-' +
|
|
||||||
date.getDate() +
|
|
||||||
' ' +
|
|
||||||
this.formatNumStr(date.getHours()) +
|
|
||||||
':' +
|
|
||||||
this.formatNumStr(date.getMinutes()) +
|
|
||||||
':' +
|
|
||||||
this.formatNumStr(date.getSeconds())
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// timestamp:1453094034000 2018-1-31-19-53-44
|
// timestamp:1453094034000 2018-1-31-19-53-44
|
||||||
//根据时间戳返回 2018-1-31-19-53-44
|
// 根据时间戳返回 2018-1-31-19-53-44
|
||||||
public static formatDateStr2(timestamp: number) {
|
public static formatDateStr2(timestamp: number) {
|
||||||
let date: Date = new Date(timestamp)
|
const date: Date = new Date(timestamp)
|
||||||
return (
|
return `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}-${this.formatNumStr(date.getHours())}-${this.formatNumStr(date.getMinutes())}-${this.formatNumStr(date.getSeconds())}`
|
||||||
date.getFullYear() +
|
|
||||||
'-' +
|
|
||||||
(date.getMonth() + 1) +
|
|
||||||
'-' +
|
|
||||||
date.getDate() +
|
|
||||||
'-' +
|
|
||||||
this.formatNumStr(date.getHours()) +
|
|
||||||
'-' +
|
|
||||||
this.formatNumStr(date.getMinutes()) +
|
|
||||||
'-' +
|
|
||||||
this.formatNumStr(date.getSeconds())
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// timestamp:1453094034000 2018-1-31
|
// timestamp:1453094034000 2018-1-31
|
||||||
//根据时间戳返回 2018-1-31
|
// 根据时间戳返回 2018-1-31
|
||||||
public static formatDateStr3(timestamp: number) {
|
public static formatDateStr3(timestamp: number) {
|
||||||
let date: Date = new Date(timestamp)
|
const date: Date = new Date(timestamp)
|
||||||
return (
|
return `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}`
|
||||||
date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// timestamp:1453094034000
|
// timestamp:1453094034000
|
||||||
//根据时间戳返回 19:53
|
// 根据时间戳返回 19:53
|
||||||
public static formatHourMinStr(timestamp: number) {
|
public static formatHourMinStr(timestamp: number) {
|
||||||
let date: Date = new Date(timestamp)
|
const date: Date = new Date(timestamp)
|
||||||
return (
|
return `${this.formatNumStr(date.getHours())}:${this.formatNumStr(date.getMinutes())}`
|
||||||
this.formatNumStr(date.getHours()) +
|
|
||||||
':' +
|
|
||||||
this.formatNumStr(date.getMinutes())
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// timestamp:1453094034000
|
// timestamp:1453094034000
|
||||||
//根据时间戳返回 19:53:11
|
// 根据时间戳返回 19:53:11
|
||||||
public static formatHourMinSecondStr(timestamp: number) {
|
public static formatHourMinSecondStr(timestamp: number) {
|
||||||
let date: Date = new Date(timestamp)
|
const date: Date = new Date(timestamp)
|
||||||
return (
|
return `${this.formatNumStr(date.getHours())}:${this.formatNumStr(date.getMinutes())}:${this.formatNumStr(date.getSeconds())}`
|
||||||
this.formatNumStr(date.getHours()) +
|
|
||||||
':' +
|
|
||||||
this.formatNumStr(date.getMinutes()) +
|
|
||||||
':' +
|
|
||||||
this.formatNumStr(date.getSeconds())
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static now(): number {
|
public static now(): number {
|
||||||
let date: Date = new Date()
|
const date: Date = new Date()
|
||||||
return date.getTime()
|
return date.getTime()
|
||||||
}
|
}
|
||||||
|
|
||||||
public static betweenTime(startTime: number, endTime: number) {
|
public static betweenTime(startTime: number, endTime: number) {
|
||||||
let date: Date = new Date()
|
const date: Date = new Date()
|
||||||
if (date.getTime() >= startTime && date.getTime() <= endTime) {
|
return date.getTime() >= startTime && date.getTime() <= endTime
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//根据时间戳返回 1天19:53:11
|
// 根据时间戳返回 1天19:53:11
|
||||||
public static formatLeftTime(timestamp: number) {
|
public static formatLeftTime(timestamp: number) {
|
||||||
let result: string = ''
|
const day: number = Math.floor(timestamp / (1000 * 60 * 60 * 24))
|
||||||
let day: number = Math.floor(timestamp / (1000 * 60 * 60 * 24))
|
const hour: number = Math.floor(timestamp / (1000 * 60 * 60)) % 24
|
||||||
let hour: number = Math.floor(timestamp / (1000 * 60 * 60)) % 24
|
const min: number = Math.floor(timestamp / (1000 * 60)) % 60
|
||||||
let min: number = Math.floor(timestamp / (1000 * 60)) % 60
|
const second: number = Math.floor(timestamp / 1000) % 60
|
||||||
let second: number = Math.floor(timestamp / 1000) % 60
|
return `${day}天${this.formatNumStr(hour)}:${this.formatNumStr(min)}:${this.formatNumStr(second)}`
|
||||||
result =
|
|
||||||
day +
|
|
||||||
'天' +
|
|
||||||
this.formatNumStr(hour) +
|
|
||||||
':' +
|
|
||||||
this.formatNumStr(min) +
|
|
||||||
':' +
|
|
||||||
this.formatNumStr(second)
|
|
||||||
return result
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static isToday(dateTime: number): boolean {
|
public static isToday(dateTime: number): boolean {
|
||||||
let nowDate: Date = new Date()
|
const nowDate: Date = new Date()
|
||||||
let checkDate: Date = new Date(dateTime)
|
const checkDate: Date = new Date(dateTime)
|
||||||
if (
|
return (
|
||||||
checkDate.getFullYear() == nowDate.getFullYear() &&
|
checkDate.getFullYear() === nowDate.getFullYear() &&
|
||||||
checkDate.getMonth() == nowDate.getMonth() &&
|
checkDate.getMonth() === nowDate.getMonth() &&
|
||||||
checkDate.getDate() == nowDate.getDate()
|
checkDate.getDate() === nowDate.getDate()
|
||||||
) {
|
)
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { Button, Color, Component, Node, Slider } from 'cc'
|
import { Button, Color, Component, Node, Slider } from 'cc'
|
||||||
|
|
||||||
import ColorHelper from './ColorHelper'
|
import ColorHelper from './ColorHelper'
|
||||||
|
|
||||||
export class HaoEvent {
|
export class HaoEvent {
|
||||||
@@ -18,20 +19,17 @@ export default class EventManager {
|
|||||||
|
|
||||||
private callbackList = {}
|
private callbackList = {}
|
||||||
|
|
||||||
public constructor() {
|
public constructor() {}
|
||||||
}
|
|
||||||
|
|
||||||
//注册事件
|
// 注册事件
|
||||||
public addListener(eventName: string, callback: Function, caller: any) {
|
public addListener(eventName: string, callback: Function, caller: any) {
|
||||||
if (this.callbackList[eventName]) {
|
if (this.callbackList[eventName]) {
|
||||||
let eventList: Array<HaoEvent> = this.callbackList[eventName]
|
const eventList: Array<HaoEvent> = this.callbackList[eventName]
|
||||||
//不同元件才放入,相同元件覆蓋
|
// 不同元件才放入,相同元件覆蓋
|
||||||
let add: boolean = true
|
let add: boolean = true
|
||||||
for (let i = 0; i < eventList.length; i++) {
|
for (let i = 0; i < eventList.length; i++) {
|
||||||
let event: HaoEvent = eventList[i]
|
const event: HaoEvent = eventList[i]
|
||||||
if (caller === event.caller) {
|
if (caller === event.caller) add = false
|
||||||
add = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (add) {
|
if (add) {
|
||||||
eventList.push(new HaoEvent(callback, caller))
|
eventList.push(new HaoEvent(callback, caller))
|
||||||
@@ -46,7 +44,7 @@ export default class EventManager {
|
|||||||
public removeListener(eventName: string, callback: Function) {
|
public removeListener(eventName: string, callback: Function) {
|
||||||
if (this.callbackList[eventName]) {
|
if (this.callbackList[eventName]) {
|
||||||
for (let i = this.callbackList[eventName].length - 1; i >= 0; i--) {
|
for (let i = this.callbackList[eventName].length - 1; i >= 0; i--) {
|
||||||
let event: HaoEvent = this.callbackList[eventName][i]
|
const event: HaoEvent = this.callbackList[eventName][i]
|
||||||
if (event.callback == callback) {
|
if (event.callback == callback) {
|
||||||
this.callbackList[eventName].splice(i, 1)
|
this.callbackList[eventName].splice(i, 1)
|
||||||
break
|
break
|
||||||
@@ -56,17 +54,15 @@ export default class EventManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public dispatchEvent(eventName, parameter?: any, ...restOfName: any[]) {
|
public dispatchEvent(eventName, parameter?: any, ...restOfName: any[]) {
|
||||||
let eventList: Array<HaoEvent> = this.callbackList[eventName]
|
const eventList: Array<HaoEvent> = this.callbackList[eventName]
|
||||||
if (eventList) {
|
if (eventList) {
|
||||||
for (let i = eventList.length - 1; i >= 0; i--) {
|
for (let i = eventList.length - 1; i >= 0; i--) {
|
||||||
let event: HaoEvent = eventList[i]
|
const event: HaoEvent = eventList[i]
|
||||||
event.callback.call(event.caller, event, parameter, ...restOfName)
|
event.callback.call(event.caller, event, parameter, ...restOfName)
|
||||||
if (event.isStop) {
|
if (event.isStop) break
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
for (let i = eventList.length - 1; i >= 0; i--) {
|
for (let i = eventList.length - 1; i >= 0; i--) {
|
||||||
let event: HaoEvent = eventList[i]
|
const event: HaoEvent = eventList[i]
|
||||||
event.isStop = false
|
event.isStop = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -77,12 +73,12 @@ export default class EventManager {
|
|||||||
objectNode: Node,
|
objectNode: Node,
|
||||||
scriptName: string,
|
scriptName: string,
|
||||||
eventName: string,
|
eventName: string,
|
||||||
data: any = null
|
data: any = null,
|
||||||
) {
|
) {
|
||||||
var btn: Button = objectNode.addComponent(Button)
|
const btn: Button = objectNode.addComponent(Button)
|
||||||
var clickEventHandler = new Component.EventHandler()
|
const clickEventHandler = new Component.EventHandler()
|
||||||
clickEventHandler.target = parentNode //这个 node 节点是你的事件处理代码组件所属的节点
|
clickEventHandler.target = parentNode // 这个 node 节点是你的事件处理代码组件所属的节点
|
||||||
clickEventHandler.component = scriptName //这个是代码文件名
|
clickEventHandler.component = scriptName // 这个是代码文件名
|
||||||
clickEventHandler.handler = eventName
|
clickEventHandler.handler = eventName
|
||||||
clickEventHandler.customEventData = data
|
clickEventHandler.customEventData = data
|
||||||
btn.clickEvents.push(clickEventHandler)
|
btn.clickEvents.push(clickEventHandler)
|
||||||
@@ -94,12 +90,12 @@ export default class EventManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public removeBtnEffect(objectNode: Node) {
|
public removeBtnEffect(objectNode: Node) {
|
||||||
var b = objectNode.getComponent(Button)
|
const b = objectNode.getComponent(Button)
|
||||||
b.transition = Button.Transition.NONE
|
b.transition = Button.Transition.NONE
|
||||||
}
|
}
|
||||||
|
|
||||||
public addBtnEffect(objectNode: Node, scale: number = 1.1) {
|
public addBtnEffect(objectNode: Node, scale: number = 1.1) {
|
||||||
var b = objectNode.getComponent(Button)
|
const b = objectNode.getComponent(Button)
|
||||||
b.transition = Button.Transition.SCALE
|
b.transition = Button.Transition.SCALE
|
||||||
b.zoomScale = scale
|
b.zoomScale = scale
|
||||||
}
|
}
|
||||||
@@ -107,24 +103,19 @@ export default class EventManager {
|
|||||||
public addBtnEffect_color(
|
public addBtnEffect_color(
|
||||||
objectNode: Node,
|
objectNode: Node,
|
||||||
normalC: Color = ColorHelper.getColor('#FFFFFF'),
|
normalC: Color = ColorHelper.getColor('#FFFFFF'),
|
||||||
pressC: Color = ColorHelper.getColor('#C0C0C0')
|
pressC: Color = ColorHelper.getColor('#C0C0C0'),
|
||||||
) {
|
) {
|
||||||
var b = objectNode.getComponent(Button)
|
const b = objectNode.getComponent(Button)
|
||||||
b.transition = Button.Transition.COLOR
|
b.transition = Button.Transition.COLOR
|
||||||
b.normalColor = normalC
|
b.normalColor = normalC
|
||||||
b.pressedColor = pressC
|
b.pressedColor = pressC
|
||||||
}
|
}
|
||||||
|
|
||||||
public addSliderEvent(
|
public addSliderEvent(parentNode: Node, objectNode: Node, EventName: string, data: any) {
|
||||||
parentNode: Node,
|
const b = objectNode.getComponent(Slider)
|
||||||
objectNode: Node,
|
const clickEventHandler = new Component.EventHandler()
|
||||||
EventName: string,
|
clickEventHandler.target = parentNode // 这个 node 节点是你的事件处理代码组件所属的节点
|
||||||
data: any
|
clickEventHandler.component = parentNode.name // 这个是代码文件名
|
||||||
) {
|
|
||||||
var b = objectNode.getComponent(Slider)
|
|
||||||
var clickEventHandler = new Component.EventHandler()
|
|
||||||
clickEventHandler.target = parentNode //这个 node 节点是你的事件处理代码组件所属的节点
|
|
||||||
clickEventHandler.component = parentNode.name //这个是代码文件名
|
|
||||||
clickEventHandler.handler = EventName
|
clickEventHandler.handler = EventName
|
||||||
clickEventHandler.customEventData = data
|
clickEventHandler.customEventData = data
|
||||||
b.slideEvents.push(clickEventHandler)
|
b.slideEvents.push(clickEventHandler)
|
||||||
|
|||||||
@@ -2,13 +2,11 @@ export default class HaoEncrypt {
|
|||||||
public static encode(str: string) {
|
public static encode(str: string) {
|
||||||
let result: string = ''
|
let result: string = ''
|
||||||
for (let i = 0; i < str.length; i++) {
|
for (let i = 0; i < str.length; i++) {
|
||||||
//遍历字符串
|
// 遍历字符串
|
||||||
let code: number = str.charCodeAt(i) // //逐个提取每个字符,并获取Unicode编码值
|
let code: number = str.charCodeAt(i) // //逐个提取每个字符,并获取Unicode编码值
|
||||||
if (i % 2 == 0) {
|
if (i % 2 === 0) code += 2
|
||||||
code += 2
|
else code += 1
|
||||||
} else {
|
|
||||||
code += 1
|
|
||||||
}
|
|
||||||
result += String.fromCharCode(code)
|
result += String.fromCharCode(code)
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
@@ -17,13 +15,10 @@ export default class HaoEncrypt {
|
|||||||
public static decode(str: string) {
|
public static decode(str: string) {
|
||||||
let result: string = ''
|
let result: string = ''
|
||||||
for (let i = 0; i < str.length; i++) {
|
for (let i = 0; i < str.length; i++) {
|
||||||
//遍历字符串
|
// 遍历字符串
|
||||||
let code: number = str.charCodeAt(i) // //逐个提取每个字符,并获取Unicode编码值
|
let code: number = str.charCodeAt(i) // //逐个提取每个字符,并获取Unicode编码值
|
||||||
if (i % 2 == 0) {
|
if (i % 2 === 0) code -= 2
|
||||||
code -= 2
|
else code -= 1
|
||||||
} else {
|
|
||||||
code -= 1
|
|
||||||
}
|
|
||||||
result += String.fromCharCode(code)
|
result += String.fromCharCode(code)
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
|
|||||||
@@ -1,18 +1,19 @@
|
|||||||
import { native, sys } from 'cc'
|
import { native, sys } from 'cc'
|
||||||
import { Logger } from './Logger'
|
|
||||||
import EventManager from './EventManager'
|
|
||||||
import VersionManager from './VersionManager'
|
|
||||||
import ManifestConfig from '../config/ManifestConfig'
|
import ManifestConfig from '../config/ManifestConfig'
|
||||||
import ResourcePreload from '../../game/utils/ResourcePreload'
|
|
||||||
import CommonTips from '../uicomponent/CommonTips'
|
import CommonTips from '../uicomponent/CommonTips'
|
||||||
|
|
||||||
|
import EventManager from './EventManager'
|
||||||
|
import { Logger } from './Logger'
|
||||||
|
import VersionManager from './VersionManager'
|
||||||
|
|
||||||
export default class HotUpdate {
|
export default class HotUpdate {
|
||||||
public static Event_CheckUpdate: string = 'Event_CheckUpdate'
|
public static Event_CheckUpdate: string = 'Event_CheckUpdate'
|
||||||
public static Event_On_Progress: string = 'HotUpdate_Event_On_Progress'
|
public static Event_On_Progress: string = 'HotUpdate_Event_On_Progress'
|
||||||
public static Event_On_NeedUpdate: string = 'HotUpdate_Event_On_NeedUpdate'
|
public static Event_On_NeedUpdate: string = 'HotUpdate_Event_On_NeedUpdate'
|
||||||
public static Event_Finish_Update: string = 'HotUpdate_Event_Finish'
|
public static Event_Finish_Update: string = 'HotUpdate_Event_Finish'
|
||||||
public static Event_On_ALREADY_UP_TO_DATE: string =
|
public static Event_On_ALREADY_UP_TO_DATE: string = 'HotUpdate_Event_On_ALREADY_UP_TO_DATE'
|
||||||
'HotUpdate_Event_On_ALREADY_UP_TO_DATE'
|
|
||||||
public static Event_On_Fail_Update: string = 'HotUpdate_Event_On_Fail_Update'
|
public static Event_On_Fail_Update: string = 'HotUpdate_Event_On_Fail_Update'
|
||||||
private _am: any
|
private _am: any
|
||||||
private _checkListener: null
|
private _checkListener: null
|
||||||
@@ -27,21 +28,16 @@ export default class HotUpdate {
|
|||||||
private key: string
|
private key: string
|
||||||
private hotupdateIndex: number
|
private hotupdateIndex: number
|
||||||
|
|
||||||
constructor() {
|
constructor() {}
|
||||||
}
|
|
||||||
|
|
||||||
public init(
|
public init(index: number, key: string = 'Code-remote-asset', manifestUrl: string) {
|
||||||
index: number,
|
|
||||||
key: string = 'Code-remote-asset',
|
|
||||||
manifestUrl: string
|
|
||||||
) {
|
|
||||||
if (sys.isNative) {
|
if (sys.isNative) {
|
||||||
this.hotupdateIndex = index
|
this.hotupdateIndex = index
|
||||||
this.key = key
|
this.key = key
|
||||||
this.manifestUrl = manifestUrl
|
this.manifestUrl = manifestUrl
|
||||||
this.storagePath = '获取this.storagePath报错了'
|
this.storagePath = '获取this.storagePath报错了'
|
||||||
|
|
||||||
Logger.log(this, 'init removeDirectory=', this.storagePath + '_temp')
|
Logger.log(this, 'init removeDirectory=', `${this.storagePath}_temp`)
|
||||||
}
|
}
|
||||||
this.needUpdate = false
|
this.needUpdate = false
|
||||||
this.isUpdating = false
|
this.isUpdating = false
|
||||||
@@ -52,38 +48,25 @@ export default class HotUpdate {
|
|||||||
private jumpToPack() {
|
private jumpToPack() {
|
||||||
let url: string
|
let url: string
|
||||||
if (sys.isNative) {
|
if (sys.isNative) {
|
||||||
if (sys.os == sys.OS.ANDROID) {
|
if (sys.os === sys.OS.ANDROID) url = VersionManager.instance.apkStoreUrl
|
||||||
url = VersionManager.instance.apkStoreUrl
|
else if (sys.os === sys.OS.IOS) url = VersionManager.instance.iosStoreUrl
|
||||||
} else if (sys.os == sys.OS.IOS) {
|
|
||||||
url = VersionManager.instance.iosStoreUrl
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Logger.info(
|
Logger.info(this, 'jumpToPack==androidurl===', VersionManager.instance.apkStoreUrl)
|
||||||
this,
|
Logger.info(this, 'jumpToPack==iosStoreUrl===', VersionManager.instance.iosStoreUrl)
|
||||||
'jumpToPack==androidurl===',
|
|
||||||
VersionManager.instance.apkStoreUrl
|
|
||||||
)
|
|
||||||
Logger.info(
|
|
||||||
this,
|
|
||||||
'jumpToPack==iosStoreUrl===',
|
|
||||||
VersionManager.instance.iosStoreUrl
|
|
||||||
)
|
|
||||||
Logger.info(this, 'jumpToPack=====', url)
|
Logger.info(this, 'jumpToPack=====', url)
|
||||||
sys.openURL(url)
|
sys.openURL(url)
|
||||||
// cc.game.end();
|
// cc.game.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
//显示强制更新,即更细包面板
|
// 显示强制更新,即更细包面板
|
||||||
private showPackUpdateDialog() {
|
private showPackUpdateDialog() {
|
||||||
CommonTips.showMsg(
|
CommonTips.showMsg('有新的版本需要更新,下载后请先卸载,以前的版本,再安装!')
|
||||||
'有新的版本需要更新,下载后请先卸载,以前的版本,再安装!'
|
|
||||||
)
|
|
||||||
this.jumpToPack()
|
this.jumpToPack()
|
||||||
this.showPackUpdateDialog()
|
this.showPackUpdateDialog()
|
||||||
}
|
}
|
||||||
|
|
||||||
private checkCb(event: any) {
|
private checkCb(event: any) {
|
||||||
Logger.log(this, 'checkCb Code: =================' + event.getEventCode())
|
Logger.log(this, `checkCb Code: =================${event.getEventCode()}`)
|
||||||
switch (event.getEventCode()) {
|
switch (event.getEventCode()) {
|
||||||
case native.EventAssetsManager.ERROR_NO_LOCAL_MANIFEST:
|
case native.EventAssetsManager.ERROR_NO_LOCAL_MANIFEST:
|
||||||
Logger.info(this, 'No local manifest file found, hot update skipped.')
|
Logger.info(this, 'No local manifest file found, hot update skipped.')
|
||||||
@@ -103,18 +86,18 @@ export default class HotUpdate {
|
|||||||
this,
|
this,
|
||||||
'new version found, please try to update.',
|
'new version found, please try to update.',
|
||||||
this.localBigVersion,
|
this.localBigVersion,
|
||||||
this.remoteBigVersion
|
this.remoteBigVersion,
|
||||||
)
|
)
|
||||||
if (
|
if (
|
||||||
this.key == VersionManager.Config_Key[0] &&
|
this.key === VersionManager.Config_Key[0] &&
|
||||||
this.localBigVersion < this.remoteBigVersion
|
this.localBigVersion < this.remoteBigVersion
|
||||||
) {
|
) {
|
||||||
//更新大版本
|
// 更新大版本
|
||||||
Logger.info(
|
Logger.info(
|
||||||
this,
|
this,
|
||||||
'new version found, please try to update======packupdate=',
|
'new version found, please try to update======packupdate=',
|
||||||
this.localBigVersion,
|
this.localBigVersion,
|
||||||
this.remoteBigVersion
|
this.remoteBigVersion,
|
||||||
)
|
)
|
||||||
this.showPackUpdateDialog()
|
this.showPackUpdateDialog()
|
||||||
} else {
|
} else {
|
||||||
@@ -122,14 +105,11 @@ export default class HotUpdate {
|
|||||||
this,
|
this,
|
||||||
'new version found, please try to update======hotupdate=',
|
'new version found, please try to update======hotupdate=',
|
||||||
this.localBigVersion,
|
this.localBigVersion,
|
||||||
this.remoteBigVersion
|
this.remoteBigVersion,
|
||||||
)
|
)
|
||||||
// this._am.update();
|
// this._am.update();
|
||||||
this.needUpdate = true
|
this.needUpdate = true
|
||||||
EventManager.instance.dispatchEvent(
|
EventManager.instance.dispatchEvent(HotUpdate.Event_On_NeedUpdate, this.key)
|
||||||
HotUpdate.Event_On_NeedUpdate,
|
|
||||||
this.key
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case native.EventAssetsManager.UPDATE_PROGRESSION:
|
case native.EventAssetsManager.UPDATE_PROGRESSION:
|
||||||
@@ -142,14 +122,14 @@ export default class HotUpdate {
|
|||||||
'UPDATE_PROGRESSION2222==========',
|
'UPDATE_PROGRESSION2222==========',
|
||||||
this.key,
|
this.key,
|
||||||
event.getDownloadedBytes(),
|
event.getDownloadedBytes(),
|
||||||
event.getTotalBytes()
|
event.getTotalBytes(),
|
||||||
)
|
)
|
||||||
if (event.getTotalBytes() > 0) {
|
if (event.getTotalBytes() > 0) {
|
||||||
EventManager.instance.dispatchEvent(
|
EventManager.instance.dispatchEvent(
|
||||||
HotUpdate.Event_On_Progress,
|
HotUpdate.Event_On_Progress,
|
||||||
event.getDownloadedBytes(),
|
event.getDownloadedBytes(),
|
||||||
event.getTotalBytes(),
|
event.getTotalBytes(),
|
||||||
this.key
|
this.key,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
@@ -162,23 +142,16 @@ export default class HotUpdate {
|
|||||||
this.failUpdate()
|
this.failUpdate()
|
||||||
break
|
break
|
||||||
case native.EventAssetsManager.ERROR_UPDATING:
|
case native.EventAssetsManager.ERROR_UPDATING:
|
||||||
let fullFilePath: string = this.storagePath + '/' + event.getAssetId()
|
const fullFilePath: string = `${this.storagePath}/${event.getAssetId()}`
|
||||||
let tempFilePath: string =
|
const tempFilePath: string = `${this.storagePath}_temp/${event.getAssetId()}`
|
||||||
this.storagePath + '_temp/' + event.getAssetId()
|
|
||||||
Logger.warn(this, 'fullFilePath====', fullFilePath)
|
Logger.warn(this, 'fullFilePath====', fullFilePath)
|
||||||
Logger.warn(this, 'tempFilePath====', tempFilePath)
|
Logger.warn(this, 'tempFilePath====', tempFilePath)
|
||||||
// jsb.fileUtils.removeFile(tempFilePath);
|
// jsb.fileUtils.removeFile(tempFilePath);
|
||||||
Logger.warn(
|
Logger.warn(this, 'ERROR_UPDATING=============', event.getAssetId(), event.getMessage())
|
||||||
this,
|
|
||||||
'ERROR_UPDATING=============',
|
|
||||||
event.getAssetId(),
|
|
||||||
event.getMessage()
|
|
||||||
)
|
|
||||||
this.failUpdate()
|
this.failUpdate()
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
// this.failUpdate();
|
// this.failUpdate();
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -187,21 +160,20 @@ export default class HotUpdate {
|
|||||||
Logger.log(this, 'Checking or updating ...')
|
Logger.log(this, 'Checking or updating ...')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let hotupdateUrlKey: string =
|
const hotupdateUrlKey: string = VersionManager.Config_Url_Key[this.hotupdateIndex]
|
||||||
VersionManager.Config_Url_Key[this.hotupdateIndex]
|
|
||||||
Logger.log(this, 'checkoutUpdate=====', this.manifestUrl, hotupdateUrlKey)
|
Logger.log(this, 'checkoutUpdate=====', this.manifestUrl, hotupdateUrlKey)
|
||||||
if (!this._am) {
|
if (!this._am) {
|
||||||
this._am = new native.AssetsManager(
|
this._am = new native.AssetsManager(
|
||||||
'',
|
'',
|
||||||
this.storagePath,
|
this.storagePath,
|
||||||
this.versionCompareHandle.bind(this)
|
this.versionCompareHandle.bind(this),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
// this._am.setMaxConcurrentTask(1);
|
// this._am.setMaxConcurrentTask(1);
|
||||||
let manifestStr: string = ManifestConfig.getManifestStr(hotupdateUrlKey)
|
const manifestStr: string = ManifestConfig.getManifestStr(hotupdateUrlKey)
|
||||||
Logger.log(this, 'checkUpdate=======manifestStr=======', manifestStr)
|
Logger.log(this, 'checkUpdate=======manifestStr=======', manifestStr)
|
||||||
let manifest = new native.Manifest(manifestStr, this.storagePath)
|
const manifest = new native.Manifest(manifestStr, this.storagePath)
|
||||||
this._am.setVerifyCallback(function(filePath, asset) {
|
this._am.setVerifyCallback((filePath, asset) => {
|
||||||
return true
|
return true
|
||||||
// var md5 = calculateMD5(filePath);
|
// var md5 = calculateMD5(filePath);
|
||||||
// if (md5 === asset.md5)
|
// if (md5 === asset.md5)
|
||||||
@@ -223,46 +195,33 @@ export default class HotUpdate {
|
|||||||
private versionCompareHandle(versionA: string, versionB: string) {
|
private versionCompareHandle(versionA: string, versionB: string) {
|
||||||
const vA = versionA.split('.')
|
const vA = versionA.split('.')
|
||||||
const vB = versionB.split('.')
|
const vB = versionB.split('.')
|
||||||
Logger.log(
|
Logger.log(this, 'versionCompareHandle======', this.key, VersionManager.Config_Key[0])
|
||||||
this,
|
if (this.key === VersionManager.Config_Key[0]) {
|
||||||
'versionCompareHandle======',
|
|
||||||
this.key,
|
|
||||||
VersionManager.Config_Key[0]
|
|
||||||
)
|
|
||||||
if (this.key == VersionManager.Config_Key[0]) {
|
|
||||||
Logger.log(this, 'versionCompareHandle22===', versionA, versionB)
|
Logger.log(this, 'versionCompareHandle22===', versionA, versionB)
|
||||||
VersionManager.instance.nowVersion = versionA
|
VersionManager.instance.nowVersion = versionA
|
||||||
VersionManager.instance.targetVersion = versionB
|
VersionManager.instance.targetVersion = versionB
|
||||||
}
|
}
|
||||||
this.localBigVersion = parseInt(vA[0])
|
this.localBigVersion = Number.parseInt(vA[0])
|
||||||
this.remoteBigVersion = parseInt(vB[0])
|
this.remoteBigVersion = Number.parseInt(vB[0])
|
||||||
for (let i = 0; i < vA.length; ++i) {
|
for (let i = 0; i < vA.length; ++i) {
|
||||||
const a = parseInt(vA[i])
|
const a = Number.parseInt(vA[i])
|
||||||
const b = parseInt(vB[i] || '0')
|
const b = Number.parseInt(vB[i] || '0')
|
||||||
if (a !== b) return a - b
|
if (a !== b) return a - b
|
||||||
}
|
}
|
||||||
if (vB.length > vA.length) {
|
if (vB.length > vA.length) return -1
|
||||||
return -1
|
else return 0
|
||||||
} else {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public startUpdate() {
|
public startUpdate() {
|
||||||
if (this.isUpdating) return
|
if (this.isUpdating) return
|
||||||
let localManifest = this._am.getLocalManifest()
|
const localManifest = this._am.getLocalManifest()
|
||||||
let remoteManifest = this._am.getRemoteManifest()
|
const remoteManifest = this._am.getRemoteManifest()
|
||||||
Logger.log(this, 'startUpdate111===', localManifest.getVersionFileUrl())
|
Logger.log(this, 'startUpdate111===', localManifest.getVersionFileUrl())
|
||||||
Logger.log(this, 'startUpdate2222===', localManifest.getManifestFileUrl())
|
Logger.log(this, 'startUpdate2222===', localManifest.getManifestFileUrl())
|
||||||
Logger.log(this, 'startUpdate3333===', remoteManifest.getVersionFileUrl())
|
Logger.log(this, 'startUpdate3333===', remoteManifest.getVersionFileUrl())
|
||||||
Logger.log(this, 'startUpdate4444===', remoteManifest.getManifestFileUrl())
|
Logger.log(this, 'startUpdate4444===', remoteManifest.getManifestFileUrl())
|
||||||
this.isUpdating = true
|
this.isUpdating = true
|
||||||
EventManager.instance.dispatchEvent(
|
EventManager.instance.dispatchEvent(HotUpdate.Event_On_Progress, 0, 100, this.key)
|
||||||
HotUpdate.Event_On_Progress,
|
|
||||||
0,
|
|
||||||
100,
|
|
||||||
this.key
|
|
||||||
)
|
|
||||||
this._am.update()
|
this._am.update()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -280,42 +239,19 @@ export default class HotUpdate {
|
|||||||
private failUpdate() {
|
private failUpdate() {
|
||||||
this.disposeUpdate()
|
this.disposeUpdate()
|
||||||
this.isCheck = false
|
this.isCheck = false
|
||||||
EventManager.instance.dispatchEvent(
|
EventManager.instance.dispatchEvent(HotUpdate.Event_On_Fail_Update, this.key)
|
||||||
HotUpdate.Event_On_Fail_Update,
|
|
||||||
this.key
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private alreadyUpToDate() {
|
private alreadyUpToDate() {
|
||||||
this.disposeUpdate()
|
this.disposeUpdate()
|
||||||
this.isFinishUpdate = true
|
this.isFinishUpdate = true
|
||||||
EventManager.instance.dispatchEvent(
|
EventManager.instance.dispatchEvent(HotUpdate.Event_On_ALREADY_UP_TO_DATE, this.key)
|
||||||
HotUpdate.Event_On_ALREADY_UP_TO_DATE,
|
|
||||||
this.key
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private finishUpdate(needRestart: boolean) {
|
private finishUpdate(needRestart: boolean) {
|
||||||
Logger.info(this, '更新完成=====', needRestart)
|
Logger.info(this, '更新完成=====', needRestart)
|
||||||
this.disposeUpdate()
|
this.disposeUpdate()
|
||||||
this.isFinishUpdate = true
|
this.isFinishUpdate = true
|
||||||
EventManager.instance.dispatchEvent(
|
EventManager.instance.dispatchEvent(HotUpdate.Event_Finish_Update, this.key, needRestart)
|
||||||
HotUpdate.Event_Finish_Update,
|
|
||||||
this.key,
|
|
||||||
needRestart
|
|
||||||
)
|
|
||||||
if (false && needRestart) {
|
|
||||||
//暂时不想修 fileUtils 这个报错
|
|
||||||
var searchPaths = '' //jsb.fileUtils.getSearchPaths();暂时注释
|
|
||||||
Logger.info(this, '更新完成====searchPaths======', searchPaths)
|
|
||||||
sys.localStorage.setItem(
|
|
||||||
'HotUpdateSearchPaths',
|
|
||||||
JSON.stringify(searchPaths)
|
|
||||||
)
|
|
||||||
//jsb.fileUtils.setSearchPaths(searchPaths);暂时注释
|
|
||||||
if (this.key == VersionManager.Config_Key[0]) {
|
|
||||||
ResourcePreload.instance.restartGame()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
import { _decorator } from 'cc'
|
import { _decorator } from 'cc'
|
||||||
|
|
||||||
import { Logger } from './Logger'
|
import { Logger } from './Logger'
|
||||||
|
|
||||||
const { ccclass } = _decorator
|
const { ccclass } = _decorator
|
||||||
|
|
||||||
@ccclass('HttpClient')
|
@ccclass('HttpClient')
|
||||||
export default class HttpClient {
|
export default class HttpClient {
|
||||||
public static instance: HttpClient //= new HttpClient();
|
public static instance: HttpClient // = new HttpClient();
|
||||||
|
|
||||||
//example
|
// example
|
||||||
// HttpClient.instance.request("http://localhost:8080/haohttp/test", ()=>{
|
// HttpClient.instance.request("http://localhost:8080/haohttp/test", ()=>{
|
||||||
// console.log("http 请求 end=============");
|
// console.log("http 请求 end=============");
|
||||||
// }, {"nickName":"jhao", "hh":1, "id":9527});
|
// }, {"nickName":"jhao", "hh":1, "id":9527});
|
||||||
@@ -27,12 +28,10 @@ export default class HttpClient {
|
|||||||
let resParams = ''
|
let resParams = ''
|
||||||
let nowIndex = 1
|
let nowIndex = 1
|
||||||
for (const key in paramsObj) {
|
for (const key in paramsObj) {
|
||||||
if (paramsObj.hasOwnProperty(key)) {
|
if (Object.prototype.hasOwnProperty.call(paramsObj, key)) {
|
||||||
if (nowIndex == 1) {
|
if (nowIndex === 1) resParams += `${key}=${paramsObj[key]}`
|
||||||
resParams += key + '=' + paramsObj[key]
|
else resParams += `&${key}=${paramsObj[key]}`
|
||||||
} else {
|
|
||||||
resParams += '&' + key + '=' + paramsObj[key]
|
|
||||||
}
|
|
||||||
nowIndex += 1
|
nowIndex += 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -44,41 +43,29 @@ export default class HttpClient {
|
|||||||
this.responseType = responseType
|
this.responseType = responseType
|
||||||
}
|
}
|
||||||
|
|
||||||
public setContentType() {
|
public setContentType() {}
|
||||||
}
|
|
||||||
|
|
||||||
public request(
|
public request(url: string, callback: Function, params: any = null, timeOut: number = 5 * 1000) {
|
||||||
url: string,
|
if (params && this.methodType === 'GET') {
|
||||||
callback: Function,
|
|
||||||
params: any = null,
|
|
||||||
timeOut: number = 5 * 1000
|
|
||||||
) {
|
|
||||||
if (params && this.methodType == 'GET') {
|
|
||||||
let getParams: string = this.setParams(params)
|
let getParams: string = this.setParams(params)
|
||||||
// getParams = StringUtil:encodeURI(params)
|
// getParams = StringUtil:encodeURI(params)
|
||||||
getParams = encodeURI(getParams)
|
getParams = encodeURI(getParams)
|
||||||
url += '?' + getParams
|
url += `?${getParams}`
|
||||||
}
|
}
|
||||||
this.xhr = new XMLHttpRequest() // http请求 fget
|
this.xhr = new XMLHttpRequest() // http请求 fget
|
||||||
//this.xhr = cc.loader.getXMLHttpRequest();
|
// this.xhr = cc.loader.getXMLHttpRequest();
|
||||||
let xhr: XMLHttpRequest = this.xhr
|
const xhr: XMLHttpRequest = this.xhr
|
||||||
xhr.responseType = this.responseType
|
xhr.responseType = this.responseType
|
||||||
xhr.timeout = timeOut
|
xhr.timeout = timeOut
|
||||||
// xhr.setRequestHeader("Content-Type", "text/plain");
|
// xhr.setRequestHeader("Content-Type", "text/plain");
|
||||||
xhr.onreadystatechange = () => {
|
xhr.onreadystatechange = () => {
|
||||||
Logger.log(
|
Logger.log(this, 'status======', xhr.status, xhr.readyState, xhr.statusText)
|
||||||
this,
|
|
||||||
'status======',
|
|
||||||
xhr.status,
|
|
||||||
xhr.readyState,
|
|
||||||
xhr.statusText
|
|
||||||
)
|
|
||||||
// if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status < 400)) {
|
// if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status < 400)) {
|
||||||
if (xhr.readyState == 4 && xhr.status == 200) {
|
if (xhr.readyState === 4 && xhr.status === 200) {
|
||||||
let response = xhr.response
|
const response = xhr.response
|
||||||
Logger.log(this, 'http response1============', xhr)
|
Logger.log(this, 'http response1============', xhr)
|
||||||
try {
|
try {
|
||||||
let testJson = JSON.stringify(response)
|
const testJson = JSON.stringify(response)
|
||||||
Logger.log(this, 'http response json============', testJson)
|
Logger.log(this, 'http response json============', testJson)
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback(true, response)
|
callback(true, response)
|
||||||
@@ -91,31 +78,21 @@ export default class HttpClient {
|
|||||||
callback = null
|
callback = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (xhr.readyState == 4 && xhr.status == 301) {
|
} else if (xhr.readyState === 4 && xhr.status === 301) {
|
||||||
//域名转移
|
// 域名转移
|
||||||
Logger.log(
|
Logger.log(this, 'http response222============', xhr.getResponseHeader('Location'))
|
||||||
this,
|
|
||||||
'http response222============',
|
|
||||||
xhr.getResponseHeader('Location')
|
|
||||||
)
|
|
||||||
// console.log("http response333============", xhr.getAllResponseHeaders());
|
// console.log("http response333============", xhr.getAllResponseHeaders());
|
||||||
if (HttpClient.instance == null) HttpClient.instance = new HttpClient()
|
if (HttpClient.instance == null) HttpClient.instance = new HttpClient()
|
||||||
HttpClient.instance.request(xhr.getResponseHeader('Location'), callback)
|
HttpClient.instance.request(xhr.getResponseHeader('Location'), callback)
|
||||||
} else if (xhr.readyState == 4 && xhr.status == 404) {
|
} else if (xhr.readyState === 4 && xhr.status === 404) {
|
||||||
Logger.log(this, 'http onError============')
|
Logger.log(this, 'http onError============')
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback(false)
|
callback(false)
|
||||||
callback = null
|
callback = null
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Logger.log(
|
Logger.log(this, 'onreadystatechange else====', xhr.status, xhr.readyState, xhr.response)
|
||||||
this,
|
if (xhr.readyState === 4) {
|
||||||
'onreadystatechange else====',
|
|
||||||
xhr.status,
|
|
||||||
xhr.readyState,
|
|
||||||
xhr.response
|
|
||||||
)
|
|
||||||
if (xhr.readyState == 4) {
|
|
||||||
Logger.log(this, 'http onError else============')
|
Logger.log(this, 'http onError else============')
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback(false)
|
callback(false)
|
||||||
@@ -125,13 +102,7 @@ export default class HttpClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
xhr.onprogress = () => {
|
xhr.onprogress = () => {
|
||||||
Logger.log(
|
Logger.log(this, 'http onprogress===', xhr.status, xhr.readyState, xhr.response)
|
||||||
this,
|
|
||||||
'http onprogress===',
|
|
||||||
xhr.status,
|
|
||||||
xhr.readyState,
|
|
||||||
xhr.response
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
xhr.onerror = () => {
|
xhr.onerror = () => {
|
||||||
Logger.log(this, 'http onError============')
|
Logger.log(this, 'http onError============')
|
||||||
@@ -155,6 +126,5 @@ export default class HttpClient {
|
|||||||
xhr.send(params)
|
xhr.send(params)
|
||||||
}
|
}
|
||||||
|
|
||||||
public getInfo(callback: Function = null) {
|
public getInfo(callback: Function = null) {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,11 +16,10 @@ export default class LocalStorage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static getInt(key: string): number {
|
public static getInt(key: string): number {
|
||||||
let tempValue: string = LocalStorage.getItem(key)
|
const tempValue: string = LocalStorage.getItem(key)
|
||||||
let result: number = 0
|
let result: number = 0
|
||||||
if (tempValue) {
|
if (tempValue) result = Number.parseInt(tempValue)
|
||||||
result = parseInt(tempValue)
|
|
||||||
}
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,11 +28,10 @@ export default class LocalStorage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static getFloat(key: string): number {
|
public static getFloat(key: string): number {
|
||||||
let tempValue: string = LocalStorage.getItem(key)
|
const tempValue: string = LocalStorage.getItem(key)
|
||||||
let result: number = 0
|
let result: number = 0
|
||||||
if (tempValue) {
|
if (tempValue) result = Number.parseFloat(tempValue)
|
||||||
result = parseFloat(tempValue)
|
|
||||||
}
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -42,19 +40,13 @@ export default class LocalStorage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static getBoolean(key: string): boolean {
|
public static getBoolean(key: string): boolean {
|
||||||
let temp: number = LocalStorage.getInt(key)
|
const temp: number = LocalStorage.getInt(key)
|
||||||
if (temp == 1) {
|
return temp === 1
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static setBoolean(key: string, value: boolean) {
|
public static setBoolean(key: string, value: boolean) {
|
||||||
if (value) {
|
if (value) LocalStorage.setInt(key, 1)
|
||||||
LocalStorage.setInt(key, 1)
|
else LocalStorage.setInt(key, 0)
|
||||||
} else {
|
|
||||||
LocalStorage.setInt(key, 0)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static clear() {
|
public static clear() {
|
||||||
|
|||||||