Commit 57192aa8 authored by haiyoucuv's avatar haiyoucuv

init

parent 2c3a3eef
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<excludedPredefinedLibrary name="241106_YOGURT_Snake/extensions/duiba-publish/node_modules" />
<excludedPredefinedLibrary name="241106_YOGURT_Snake/extensions/prefab-tab/node_modules" />
<includedPredefinedLibrary name="Node.js Core" />
<excludedPredefinedLibrary name="241106_YOGURT_Snake/node_modules" />
</component>
</project>
\ No newline at end of file
......@@ -26,7 +26,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 82
"__id__": 89
},
"_lpos": {
"__type__": "cc.Vec3",
......@@ -57,7 +57,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 86
"__id__": 93
},
"_id": "53947ca7-3484-4b53-800d-509405063d68"
},
......@@ -89,16 +89,16 @@
"_active": true,
"_components": [
{
"__id__": 78
"__id__": 85
},
{
"__id__": 79
"__id__": 86
},
{
"__id__": 80
"__id__": 87
},
{
"__id__": 81
"__id__": 88
}
],
"_prefab": null,
......@@ -190,7 +190,7 @@
"_priority": 40000,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 810.6237288135594,
"_orthoHeight": 807.8851351351351,
"_near": 0,
"_far": 2000,
"_color": {
......@@ -1412,10 +1412,7 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "5a57c4ce-88f6-4582-af09-4eff049952e0@9296f",
"__expectedType__": "cc.SpriteFrame"
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
......@@ -1541,10 +1538,10 @@
"_enabled": true,
"__prefab": null,
"handle": {
"__id__": 72
"__id__": 79
},
"bg": {
"__id__": 76
"__id__": 83
},
"normalSp": {
"__uuid__": "7f413237-4b73-4bae-bca7-7ab9e9742ebc@f9941",
......@@ -1566,22 +1563,22 @@
},
"_children": [
{
"__id__": 72
"__id__": 79
}
],
"_active": true,
"_components": [
{
"__id__": 75
"__id__": 82
},
{
"__id__": 76
"__id__": 83
},
{
"__id__": 37
},
{
"__id__": 77
"__id__": 84
}
],
"_prefab": null,
......@@ -1634,18 +1631,21 @@
},
{
"__id__": 48
},
{
"__id__": 69
}
],
"_active": true,
"_components": [
{
"__id__": 69
"__id__": 76
},
{
"__id__": 70
"__id__": 77
},
{
"__id__": 71
"__id__": 78
}
],
"_prefab": null,
......@@ -1737,7 +1737,7 @@
"_priority": 50000,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 810.6237288135594,
"_orthoHeight": 807.8851351351351,
"_near": 1,
"_far": 2000,
"_color": {
......@@ -2073,7 +2073,7 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 94.55999755859375,
"x": 99.56,
"y": 0,
"z": 0
},
......@@ -2112,8 +2112,8 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 94.55999755859375,
"height": 75.6
"width": 99.56,
"height": 62
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2158,11 +2158,11 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_cacheMode": 2,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
......@@ -2170,7 +2170,7 @@
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 1,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
......@@ -2212,7 +2212,7 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 102.55999755859375,
"x": 107.56,
"y": 0,
"z": 0
},
......@@ -2403,7 +2403,7 @@
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_cacheMode": 1,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
......@@ -2489,8 +2489,8 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 12.6719970703125,
"height": 27.72
"width": 14.17,
"height": 23
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2538,16 +2538,16 @@
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_cacheMode": 2,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"r": 255,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 0.5,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
......@@ -2576,7 +2576,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 61.6719970703125,
"width": 63.17,
"height": 27.72
},
"_anchorPoint": {
......@@ -2727,7 +2727,7 @@
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_cacheMode": 1,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
......@@ -2787,7 +2787,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 199.83999633789062,
"width": 204.83999877929688,
"height": 75.6
},
"_anchorPoint": {
......@@ -2859,6 +2859,287 @@
"_isAlign": true,
"_id": "bbpfXi9v9F24X/Ptbw6uCj"
},
{
"__type__": "cc.Node",
"_name": "福袋",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 39
},
"_children": [
{
"__id__": 70
}
],
"_active": true,
"_components": [
{
"__id__": 73
},
{
"__id__": 74
},
{
"__id__": 75
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 723.5000000000001,
"y": 288,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "19q8T4sGRGI4mMsJwwJtNo"
},
{
"__type__": "cc.Node",
"_name": "福袋数量",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 69
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 71
},
{
"__id__": 72
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -20,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "d4R7pRjbhG3LrtFD0HNrte"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 70
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 34.68798828125,
"height": 40.32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": "57KVl0+iFOeYEjHVOfkt18"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 70
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_string": "×0",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 32,
"_fontSize": 32,
"_fontFamily": "Arial",
"_lineHeight": 32,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "51c12289-a516-4991-8323-ac98cee8b520",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 1,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": "86tMJ5XN5I7qx/oTQ++pLr"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 69
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 177,
"height": 66
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "80r6R+abpL7Jgaxg7BaK4o"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 69
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "4575500b-29c2-444c-819b-86e44533b9f5@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "34fCUJD15GTqiZnpdQrDj+"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 69
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 54,
"_bottom": 54,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 66,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "b8mmGmKndE0LJBMZ6aYkgE"
},
{
"__type__": "cc.UITransform",
"_name": "",
......@@ -2871,7 +3152,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1624.0000000000002,
"width": 1624,
"height": 750
},
"_anchorPoint": {
......@@ -2939,10 +3220,10 @@
"_active": true,
"_components": [
{
"__id__": 73
"__id__": 80
},
{
"__id__": 74
"__id__": 81
}
],
"_prefab": null,
......@@ -2981,7 +3262,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 72
"__id__": 79
},
"_enabled": true,
"__prefab": null,
......@@ -3003,7 +3284,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 72
"__id__": 79
},
"_enabled": true,
"__prefab": null,
......@@ -3139,7 +3420,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1624.0000000000002,
"width": 1624,
"height": 750
},
"_anchorPoint": {
......@@ -3229,9 +3510,6 @@
"animalNode": {
"__id__": 23
},
"LTips": {
"__id__": 51
},
"camera": {
"__id__": 4
},
......@@ -3241,6 +3519,9 @@
"lengthTxt": {
"__id__": 59
},
"luckyNum": {
"__id__": 72
},
"_id": "212vDeP7dNBZXi0fJjPuCy"
},
{
......@@ -3251,7 +3532,7 @@
"instance": null,
"targetOverrides": [
{
"__id__": 83
"__id__": 90
}
]
},
......@@ -3261,7 +3542,7 @@
"__id__": 25
},
"sourceInfo": {
"__id__": 84
"__id__": 91
},
"propertyPath": [
"head"
......@@ -3270,7 +3551,7 @@
"__id__": 25
},
"targetInfo": {
"__id__": 85
"__id__": 92
}
},
{
......@@ -3288,28 +3569,28 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 87
"__id__": 94
},
"shadows": {
"__id__": 88
"__id__": 95
},
"_skybox": {
"__id__": 89
"__id__": 96
},
"fog": {
"__id__": 90
"__id__": 97
},
"octree": {
"__id__": 91
"__id__": 98
},
"skin": {
"__id__": 92
"__id__": 99
},
"lightProbeInfo": {
"__id__": 93
"__id__": 100
},
"postSettings": {
"__id__": 94
"__id__": 101
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
......
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "4575500b-29c2-444c-819b-86e44533b9f5",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4575500b-29c2-444c-819b-86e44533b9f5@6c48a",
"displayName": "福袋@1x",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "4575500b-29c2-444c-819b-86e44533b9f5",
"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": "4575500b-29c2-444c-819b-86e44533b9f5@f9941",
"displayName": "福袋@1x",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 177,
"height": 66,
"rawWidth": 177,
"rawHeight": 66,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-88.5,
-33,
0,
88.5,
-33,
0,
-88.5,
33,
0,
88.5,
33,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
66,
177,
66,
0,
0,
177,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-88.5,
-33,
0
],
"maxPos": [
88.5,
33,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4575500b-29c2-444c-819b-86e44533b9f5@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "4575500b-29c2-444c-819b-86e44533b9f5@6c48a"
}
}
......@@ -475,6 +475,7 @@
"__uuid__": "8c4f22c7-20c7-4868-88ea-dedb8004999f",
"__expectedType__": "cc.Prefab"
},
"difficulty": 4.6772417976120195,
"_id": ""
},
{
......
......@@ -115,10 +115,7 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "5a57c4ce-88f6-4582-af09-4eff049952e0@da8cd",
"__expectedType__": "cc.SpriteFrame"
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
......
......@@ -9,13 +9,13 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,1}</string>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{100,101}</string>
<string>{48,48}</string>
<key>spriteSourceSize</key>
<string>{100,103}</string>
<string>{48,48}</string>
<key>textureRect</key>
<string>{{1,211},{100,101}}</string>
<string>{{52,1},{48,48}}</string>
<key>textureRotated</key>
<false/>
</dict>
......@@ -26,11 +26,11 @@
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{100,103}</string>
<string>{48,48}</string>
<key>spriteSourceSize</key>
<string>{100,103}</string>
<string>{48,48}</string>
<key>textureRect</key>
<string>{{1,1},{100,103}}</string>
<string>{{102,1},{48,48}}</string>
<key>textureRotated</key>
<false/>
</dict>
......@@ -41,13 +41,13 @@
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{103,100}</string>
<string>{49,48}</string>
<key>spriteSourceSize</key>
<string>{103,100}</string>
<string>{49,48}</string>
<key>textureRect</key>
<string>{{1,106},{103,100}}</string>
<string>{{1,1},{49,48}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
</dict>
<key>metadata</key>
......@@ -59,11 +59,11 @@
<key>premultiplyAlpha</key>
<false/>
<key>realTextureFileName</key>
<string>default.png</string>
<string>s0.png</string>
<key>size</key>
<string>{102,313}</string>
<string>{151,50}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:e0a7963ab6250bee46680d49eb7b1ca1:156dc7ba41f81cd1436f4ce3a9b505a3:d258758acfd7c2dc4f771a427c5ecb8e$</string>
<string>$TexturePacker:SmartUpdate:52b036f600402527de4bd054b8420b69:28f84fb7e8d0519a40a1e5c109cc7e51:56fdd6e86510a688ac97d2b194699cec$</string>
<key>textureFileName</key>
<string>s0.png</string>
</dict>
......
......@@ -2,14 +2,14 @@
"ver": "1.0.8",
"importer": "sprite-atlas",
"imported": true,
"uuid": "bb73f165-0a4d-4a48-be3f-9c6b6eb01e04",
"uuid": "33125bd5-38b3-46ef-8f30-179db7b935fc",
"files": [
".json"
],
"subMetas": {
"da8cd": {
"importer": "sprite-frame",
"uuid": "bb73f165-0a4d-4a48-be3f-9c6b6eb01e04@da8cd",
"uuid": "33125bd5-38b3-46ef-8f30-179db7b935fc@da8cd",
"displayName": "",
"id": "da8cd",
"name": "body1",
......@@ -18,13 +18,13 @@
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 1,
"trimX": 1,
"trimY": 211,
"width": 100,
"height": 101,
"rawWidth": 100,
"rawHeight": 103,
"offsetY": 0,
"trimX": 52,
"trimY": 1,
"width": 48,
"height": 48,
"rawWidth": 48,
"rawHeight": 48,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -43,8 +43,8 @@
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "e58815ff-054a-4166-ada0-a9649a89a4f7@6c48a",
"atlasUuid": "bb73f165-0a4d-4a48-be3f-9c6b6eb01e04"
"imageUuidOrDatabaseUri": "f31b7585-3af8-4e68-a122-45b0060400d7@6c48a",
"atlasUuid": "33125bd5-38b3-46ef-8f30-179db7b935fc"
},
"ver": "1.0.12",
"imported": true,
......@@ -55,7 +55,7 @@
},
"7ca68": {
"importer": "sprite-frame",
"uuid": "bb73f165-0a4d-4a48-be3f-9c6b6eb01e04@7ca68",
"uuid": "33125bd5-38b3-46ef-8f30-179db7b935fc@7ca68",
"displayName": "",
"id": "7ca68",
"name": "body2",
......@@ -65,12 +65,12 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimX": 102,
"trimY": 1,
"width": 100,
"height": 103,
"rawWidth": 100,
"rawHeight": 103,
"width": 48,
"height": 48,
"rawWidth": 48,
"rawHeight": 48,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -89,8 +89,8 @@
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "e58815ff-054a-4166-ada0-a9649a89a4f7@6c48a",
"atlasUuid": "bb73f165-0a4d-4a48-be3f-9c6b6eb01e04"
"imageUuidOrDatabaseUri": "f31b7585-3af8-4e68-a122-45b0060400d7@6c48a",
"atlasUuid": "33125bd5-38b3-46ef-8f30-179db7b935fc"
},
"ver": "1.0.12",
"imported": true,
......@@ -101,22 +101,22 @@
},
"9296f": {
"importer": "sprite-frame",
"uuid": "bb73f165-0a4d-4a48-be3f-9c6b6eb01e04@9296f",
"uuid": "33125bd5-38b3-46ef-8f30-179db7b935fc@9296f",
"displayName": "",
"id": "9296f",
"name": "head",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 106,
"width": 103,
"height": 100,
"rawWidth": 103,
"rawHeight": 100,
"trimY": 1,
"width": 49,
"height": 48,
"rawWidth": 49,
"rawHeight": 48,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -135,8 +135,8 @@
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "e58815ff-054a-4166-ada0-a9649a89a4f7@6c48a",
"atlasUuid": "bb73f165-0a4d-4a48-be3f-9c6b6eb01e04"
"imageUuidOrDatabaseUri": "f31b7585-3af8-4e68-a122-45b0060400d7@6c48a",
"atlasUuid": "33125bd5-38b3-46ef-8f30-179db7b935fc"
},
"ver": "1.0.12",
"imported": true,
......@@ -147,9 +147,9 @@
}
},
"userData": {
"atlasTextureName": "default.png",
"atlasTextureName": "s0.png",
"format": 3,
"uuid": "bb73f165-0a4d-4a48-be3f-9c6b6eb01e04",
"textureUuid": "e58815ff-054a-4166-ada0-a9649a89a4f7@6c48a"
"uuid": "33125bd5-38b3-46ef-8f30-179db7b935fc",
"textureUuid": "f31b7585-3af8-4e68-a122-45b0060400d7@6c48a"
}
}
assets/Bundles/MainGame/skin/s0.png

16.3 KB | W: | H:

assets/Bundles/MainGame/skin/s0.png

6.65 KB | W: | H:

assets/Bundles/MainGame/skin/s0.png
assets/Bundles/MainGame/skin/s0.png
assets/Bundles/MainGame/skin/s0.png
assets/Bundles/MainGame/skin/s0.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -2,7 +2,7 @@
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "43c59b6a-9114-43aa-819f-e9e86aa3a0b0",
"uuid": "f31b7585-3af8-4e68-a122-45b0060400d7",
"files": [
".json",
".png"
......@@ -10,14 +10,14 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "43c59b6a-9114-43aa-819f-e9e86aa3a0b0@6c48a",
"uuid": "f31b7585-3af8-4e68-a122-45b0060400d7@6c48a",
"displayName": "s0",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "43c59b6a-9114-43aa-819f-e9e86aa3a0b0",
"imageUuidOrDatabaseUri": "f31b7585-3af8-4e68-a122-45b0060400d7",
"isUuid": true,
"visible": false,
"minfilter": "linear",
......@@ -34,7 +34,7 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "43c59b6a-9114-43aa-819f-e9e86aa3a0b0@f9941",
"uuid": "f31b7585-3af8-4e68-a122-45b0060400d7@f9941",
"displayName": "s0",
"id": "f9941",
"name": "spriteFrame",
......@@ -45,11 +45,11 @@
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 2,
"width": 102,
"height": 309,
"rawWidth": 102,
"rawHeight": 313,
"trimY": 0,
"width": 151,
"height": 50,
"rawWidth": 151,
"rawHeight": 50,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -61,17 +61,17 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-51,
-154.5,
-75.5,
-25,
0,
51,
-154.5,
75.5,
-25,
0,
-51,
154.5,
-75.5,
25,
0,
51,
154.5,
75.5,
25,
0
],
"indexes": [
......@@ -84,37 +84,37 @@
],
"uv": [
0,
311,
102,
311,
50,
151,
50,
0,
2,
102,
2
0,
151,
0
],
"nuv": [
0,
0.006389776357827476,
0,
1,
0.006389776357827476,
0,
0.9936102236421726,
0,
1,
1,
0.9936102236421726
1
],
"minPos": [
-51,
-154.5,
-75.5,
-25,
0
],
"maxPos": [
51,
154.5,
75.5,
25,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "43c59b6a-9114-43aa-819f-e9e86aa3a0b0@6c48a",
"imageUuidOrDatabaseUri": "f31b7585-3af8-4e68-a122-45b0060400d7@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
......@@ -129,6 +129,6 @@
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "43c59b6a-9114-43aa-819f-e9e86aa3a0b0@6c48a"
"redirect": "f31b7585-3af8-4e68-a122-45b0060400d7@6c48a"
}
}
const aiNick = [
"微信昵称",
"秋淩",
"一到胃",
"久醉绕心弦",
"羁绊ж",
"余香",
"[旋木]",
"梦游者 🌙✨",
"温暖的光 🌞️",
"静谧时光 🕰️🌸",
"微风轻拂",
"岁月如歌 🎶",
"晨曦初露 🌅",
"时间总能抚平一切",
"夏槿",
"浅笑心柔",
"绝不服输",
"九北折",
"末凉残念浮生若梦",
"幸福已无缘",
"厌倦了吗",
"眼波传意",
"心医",
"温凉少女",
"蹲街守寂寞",
"暮凉",
"甜崽",
"寄居人",
"書冩時光",
"比忠",
"凝鹰",
"街角迷惘",
"等待圉鍢",
"奶坤o(≧v≦、o",
"28、三知你冷暖",
"少女心英雄梦",
"笑衬心酸",
"素手挽清风",
"眉间万般柔情",
"千里故人稀",
"爱上孤独",
"独闯女儿国",
"绳情",
"夏天的巴比伦狠美",
"斗魂如焚",
"别挽留",
"Soul(灵魂)",
"浮华",
"十三预见离别",
"低调的爆发",
"度忆",
"月下凄凉",
"傻孩子",
"赤光旅行",
"血狂暴者",
"转身未来",
"薄幸つ。",
"倾听心跳的旋律",
"捶死心动",
"只知→坚持",
"想有一个有你的家",
"菰单嚤迗轮",
"一十里桃花不如你",
"天会亮心会暖",
"春来赏花",
"携君以终年",
"冥幽",
"把刀藏进衣袖",
"萌翻你",
"还好有你在",
"笑脸如初",
"入玫瑰林",
"浪推晚风",
"浮生醉清风",
"放飞的风筝",
"现世安稳",
"殇ㄨ到此止",
"语过添情",
"帅炸宇宙",
"十里温柔",
"平安喜乐",
"浅笙",
"吧唧你一口",
"暮色兮凉城",
"醉熏君心丶",
"清酒",
"月光下的甜蜜",
"不再入戏",
"一腔孤勇",
"争取第一",
"隔岸观火",
"但却是唯一",
"南巷清风",
"明媚殇",
"月野兔",
"吃不饱",
"笨死的猪",
"妳是的陽光",
"不告而别",
"无人像你"
];
const usedNick = [];
export function useNick(num: number = 1) {
num = Math.max(num, 0);
const nickArr = [];
while (num > 0) {
if (aiNick.length <= 0) {
nickArr.push("微信昵称");
} else {
const index = Math.floor(Math.random() * aiNick.length);
const nick = aiNick.splice(index, 1)[0];
nickArr.push(nick);
usedNick.push(nick);
}
num--;
}
return nickArr;
}
\ No newline at end of file
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "2d3da53d-4bbe-48ab-b891-ecfcb9043463",
"files": [],
"subMetas": {},
"userData": {}
}
......@@ -22,6 +22,7 @@ import { AISnake } from "./AISnake";
import { Quadtree } from "./QuadTree/QuadTree";
import { QuadTreeNode } from "./QuadTree/QuadTreeNode";
import { aiPool, clearAllPool, foodPool } from "./Manager/CommonPool";
import { useNick } from "./Common/AINick";
const { ccclass, property } = _decorator;
......@@ -49,30 +50,21 @@ export class MainGame extends Scene {
@property({ type: Joystick, displayName: "摇杆" }) joystick: Joystick = null;
@property({
type: FastBtn,
displayName: "快进按钮"
})
private fastBtn: FastBtn = null;
@property({ type: FastBtn, displayName: "快进按钮" }) private fastBtn: FastBtn = null;
@property(UITransform)
private uiBg: UITransform = null;
@property(UITransform) private uiBg: UITransform = null;
@property(Player)
player: Player = null;
@property(Player) player: Player = null;
@property(FoodManger)
fondManger: FoodManger = null;
@property(FoodManger) fondManger: FoodManger = null;
@property(Node)
animalNode: Node = null;
@property(Node) animalNode: Node = null;
@property(Camera)
camera: Camera = null;
@property(Camera) camera: Camera = null;
@property({ type: Label, group: "UI" }) killTxt: Label = null;
@property({ type: Label, group: "UI" }) lengthTxt: Label = null;
@property({ type: Label, group: "UI" }) luckyNum: Label = null;
private _killNum = 0;
set killNum(n: number) {
......@@ -136,6 +128,8 @@ export class MainGame extends Scene {
this.player.init({
// initEnergy: 10000
nickName: "我",
// skinName: "s0",
});
// 初始化食物和NPC
......@@ -252,25 +246,29 @@ export class MainGame extends Scene {
console.log("showGOver", this.player.getSnakeLen());
}
initItem = (index: number) => {
const node = aiPool.get() || instantiate(this.animalPrefab);
const x = math.randomRangeInt(-(Global.MAP_WIDTH / 2 - 50), Global.MAP_WIDTH / 2 - 50);
const y = math.randomRangeInt(-(Global.MAP_HEIGHT / 2 - 50), Global.MAP_HEIGHT / 2 - 50);
node.getComponent(AISnake)?.init({
x, y,
// x: 50,
// y: 50,
// bodyCount: 100,
angle: math.randomRangeInt(0, 360),
skinName: "default",
});
async initAnimal(count: number) {
this.animalNode.addChild(node);
};
const nickArr = useNick(count);
const initItem = (index: number) => {
const node = aiPool.get() || instantiate(this.animalPrefab);
const x = math.randomRangeInt(-(Global.MAP_WIDTH / 2 - 50), Global.MAP_WIDTH / 2 - 50);
const y = math.randomRangeInt(-(Global.MAP_HEIGHT / 2 - 50), Global.MAP_HEIGHT / 2 - 50);
async initAnimal(count: number) {
await executePreFrame(getItemGenerator(count, this.initItem), 1, this);
node.getComponent(AISnake)?.init({
nickName: nickArr[index],
x, y,
// x: 50,
// y: 50,
// bodyCount: 100,
angle: math.randomRangeInt(0, 360),
skinName: "s0",
});
this.animalNode.addChild(node);
};
await executePreFrame(getItemGenerator(count, initItem), 1, this);
}
}
\ No newline at end of file
......@@ -24,6 +24,7 @@ import { Food } from "./Props/Food";
const { ccclass, property } = _decorator;
export interface IInitConfig {
nickName: string,
x?: number;
y?: number;
angle?: number;
......@@ -37,6 +38,9 @@ export interface IInitConfig {
export class Snake extends Component {
static tag: number = 0;
static getTag() {
return Snake.tag++;
}
// 属性装饰器
@property({ type: Node, displayName: "头部" }) head: Node = null;
......@@ -60,6 +64,8 @@ export class Snake extends Component {
// 位置相关
private ready: boolean = false;
nickName: string;
private _length: number = 0;
get length() {
return this._length;
......@@ -75,21 +81,24 @@ export class Snake extends Component {
}
// 初始化方法
public async init(config: IInitConfig = {}) {
public async init(config: IInitConfig) {
const {
nickName,
x = 0, y = 0, angle = 0, scale = 0.5,
skinName = "default",
initEnergy = 5,
} = config;
this.nickName = nickName;
await this.setSkin(skinName);
this.ready = false;
this.energy = 0;
this.bodyArr = [];
this.scale = scale;
this.tag = Snake.tag++;
this.tag = Snake.getTag();
// 设置头部
this.head.angle = angle;
......
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Cave Cruiser</title>
<title>鸣鸣很忙</title>
<!--http://www.html5rocks.com/en/mobile/mobifying/-->
<meta name="viewport"
......
......@@ -12,6 +12,7 @@
"@types/node": "^14.5.2",
"ali-oss": "^6.19.0",
"fs-extra": "^10.0.0",
"jszip": "^3.10.1",
"progress": "^2.0.3",
"typescript": "^5.3.3"
}
......@@ -411,6 +412,11 @@
"node": ">=0.10.0"
}
},
"node_modules/immediate": {
"version": "3.0.6",
"resolved": "http://npm.dui88.com:80/immediate/-/immediate-3.0.6.tgz",
"integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps="
},
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "http://npm.dui88.com:80/inherits/-/inherits-2.0.4.tgz",
......@@ -485,6 +491,25 @@
"integrity": "sha512-OYWlK0j+roh+eyaMROlNbS5cd5R25Y+IUpdl7cNdB8HNrkgwQzIS7L9MegxOiWNBj9dQhA/yAxiMwCC5mwNoBw==",
"license": "MIT"
},
"node_modules/jszip": {
"version": "3.10.1",
"resolved": "http://npm.dui88.com:80/jszip/-/jszip-3.10.1.tgz",
"integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",
"dependencies": {
"lie": "~3.3.0",
"pako": "~1.0.2",
"readable-stream": "~2.3.6",
"setimmediate": "^1.0.5"
}
},
"node_modules/lie": {
"version": "3.3.0",
"resolved": "http://npm.dui88.com:80/lie/-/lie-3.3.0.tgz",
"integrity": "sha1-3Pgt7lRfRgdNryAMfBxaCOD0D2o=",
"dependencies": {
"immediate": "~3.0.5"
}
},
"node_modules/lodash": {
"version": "4.17.21",
"resolved": "http://npm.dui88.com:80/lodash/-/lodash-4.17.21.tgz",
......@@ -608,6 +633,11 @@
"node": ">=0.10.0"
}
},
"node_modules/pako": {
"version": "1.0.11",
"resolved": "http://npm.dui88.com:80/pako/-/pako-1.0.11.tgz",
"integrity": "sha1-bJWZ00DVTf05RjgCUqNXBaa5kr8="
},
"node_modules/pause-stream": {
"version": "0.0.11",
"resolved": "http://npm.dui88.com:80/pause-stream/-/pause-stream-0.0.11.tgz",
......@@ -733,6 +763,11 @@
"node": ">= 0.4"
}
},
"node_modules/setimmediate": {
"version": "1.0.5",
"resolved": "http://npm.dui88.com:80/setimmediate/-/setimmediate-1.0.5.tgz",
"integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
},
"node_modules/side-channel": {
"version": "1.0.4",
"resolved": "http://npm.dui88.com:80/side-channel/-/side-channel-1.0.4.tgz",
......@@ -1264,6 +1299,11 @@
"safer-buffer": ">= 2.1.2 < 3"
}
},
"immediate": {
"version": "3.0.6",
"resolved": "http://npm.dui88.com:80/immediate/-/immediate-3.0.6.tgz",
"integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps="
},
"inherits": {
"version": "2.0.4",
"resolved": "http://npm.dui88.com:80/inherits/-/inherits-2.0.4.tgz",
......@@ -1323,6 +1363,25 @@
"resolved": "http://npm.dui88.com:80/jstoxml/-/jstoxml-2.2.9.tgz",
"integrity": "sha512-OYWlK0j+roh+eyaMROlNbS5cd5R25Y+IUpdl7cNdB8HNrkgwQzIS7L9MegxOiWNBj9dQhA/yAxiMwCC5mwNoBw=="
},
"jszip": {
"version": "3.10.1",
"resolved": "http://npm.dui88.com:80/jszip/-/jszip-3.10.1.tgz",
"integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",
"requires": {
"lie": "~3.3.0",
"pako": "~1.0.2",
"readable-stream": "~2.3.6",
"setimmediate": "^1.0.5"
}
},
"lie": {
"version": "3.3.0",
"resolved": "http://npm.dui88.com:80/lie/-/lie-3.3.0.tgz",
"integrity": "sha1-3Pgt7lRfRgdNryAMfBxaCOD0D2o=",
"requires": {
"immediate": "~3.0.5"
}
},
"lodash": {
"version": "4.17.21",
"resolved": "http://npm.dui88.com:80/lodash/-/lodash-4.17.21.tgz",
......@@ -1401,6 +1460,11 @@
"minimist": "^1.1.0"
}
},
"pako": {
"version": "1.0.11",
"resolved": "http://npm.dui88.com:80/pako/-/pako-1.0.11.tgz",
"integrity": "sha1-bJWZ00DVTf05RjgCUqNXBaa5kr8="
},
"pause-stream": {
"version": "0.0.11",
"resolved": "http://npm.dui88.com:80/pause-stream/-/pause-stream-0.0.11.tgz",
......@@ -1495,6 +1559,11 @@
"has-property-descriptors": "^1.0.1"
}
},
"setimmediate": {
"version": "1.0.5",
"resolved": "http://npm.dui88.com:80/setimmediate/-/setimmediate-1.0.5.tgz",
"integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
},
"side-channel": {
"version": "1.0.4",
"resolved": "http://npm.dui88.com:80/side-channel/-/side-channel-1.0.4.tgz",
......
......@@ -267,8 +267,8 @@ iconv-lite@^0.4.15:
immediate@~3.0.5:
version "3.0.6"
resolved "https://registry.npmmirror.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b"
integrity sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==
resolved "http://npm.dui88.com:80/immediate/-/immediate-3.0.6.tgz"
integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=
inherits@^2.0.1, inherits@~2.0.3:
version "2.0.4"
......@@ -330,7 +330,7 @@ jstoxml@^2.0.0:
jszip@^3.10.1:
version "3.10.1"
resolved "https://registry.npmmirror.com/jszip/-/jszip-3.10.1.tgz#34aee70eb18ea1faec2f589208a157d1feb091c2"
resolved "http://npm.dui88.com:80/jszip/-/jszip-3.10.1.tgz"
integrity sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==
dependencies:
lie "~3.3.0"
......@@ -340,8 +340,8 @@ jszip@^3.10.1:
lie@~3.3.0:
version "3.3.0"
resolved "https://registry.npmmirror.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a"
integrity sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==
resolved "http://npm.dui88.com:80/lie/-/lie-3.3.0.tgz"
integrity sha1-3Pgt7lRfRgdNryAMfBxaCOD0D2o=
dependencies:
immediate "~3.0.5"
......@@ -372,6 +372,11 @@ mkdirp@^0.5.1:
dependencies:
minimist "^1.2.6"
ms@^2.0.0:
version "2.1.3"
resolved "http://npm.dui88.com:80/ms/-/ms-2.1.3.tgz"
integrity sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=
ms@2.0.0:
version "2.0.0"
resolved "http://npm.dui88.com:80/ms/-/ms-2.0.0.tgz"
......@@ -382,11 +387,6 @@ ms@2.1.2:
resolved "http://npm.dui88.com:80/ms/-/ms-2.1.2.tgz"
integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=
ms@^2.0.0:
version "2.1.3"
resolved "http://npm.dui88.com:80/ms/-/ms-2.1.3.tgz"
integrity sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=
mz@^2.7.0:
version "2.7.0"
resolved "http://npm.dui88.com:80/mz/-/mz-2.7.0.tgz"
......@@ -430,8 +430,8 @@ osx-release@^1.0.0:
pako@~1.0.2:
version "1.0.11"
resolved "https://registry.npmmirror.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf"
integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==
resolved "http://npm.dui88.com:80/pako/-/pako-1.0.11.tgz"
integrity sha1-bJWZ00DVTf05RjgCUqNXBaa5kr8=
pause-stream@~0.0.11:
version "0.0.11"
......@@ -523,8 +523,8 @@ set-function-length@^1.1.1:
setimmediate@^1.0.5:
version "1.0.5"
resolved "https://registry.npmmirror.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==
resolved "http://npm.dui88.com:80/setimmediate/-/setimmediate-1.0.5.tgz"
integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=
side-channel@^1.0.4:
version "1.0.4"
......
......@@ -3,172 +3,172 @@
"@babel/parser@^7.23.6":
"integrity" "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ=="
"resolved" "http://npm.dui88.com:80/@babel%2fparser/-/parser-7.23.6.tgz"
"version" "7.23.6"
version "7.23.6"
resolved "http://npm.dui88.com:80/@babel%2fparser/-/parser-7.23.6.tgz"
integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==
"@jridgewell/sourcemap-codec@^1.4.15":
"integrity" "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
"resolved" "http://npm.dui88.com:80/@jridgewell%2fsourcemap-codec/-/sourcemap-codec-1.4.15.tgz"
"version" "1.4.15"
version "1.4.15"
resolved "http://npm.dui88.com:80/@jridgewell%2fsourcemap-codec/-/sourcemap-codec-1.4.15.tgz"
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
"@vue/compiler-core@3.4.15":
"integrity" "sha512-XcJQVOaxTKCnth1vCxEChteGuwG6wqnUHxAm1DO3gCz0+uXKaJNx8/digSz4dLALCy8n2lKq24jSUs8segoqIw=="
"resolved" "http://npm.dui88.com:80/@vue%2fcompiler-core/-/compiler-core-3.4.15.tgz"
"version" "3.4.15"
version "3.4.15"
resolved "http://npm.dui88.com:80/@vue%2fcompiler-core/-/compiler-core-3.4.15.tgz"
integrity sha512-XcJQVOaxTKCnth1vCxEChteGuwG6wqnUHxAm1DO3gCz0+uXKaJNx8/digSz4dLALCy8n2lKq24jSUs8segoqIw==
dependencies:
"@babel/parser" "^7.23.6"
"@vue/shared" "3.4.15"
"entities" "^4.5.0"
"estree-walker" "^2.0.2"
"source-map-js" "^1.0.2"
entities "^4.5.0"
estree-walker "^2.0.2"
source-map-js "^1.0.2"
"@vue/compiler-dom@3.4.15":
"integrity" "sha512-wox0aasVV74zoXyblarOM3AZQz/Z+OunYcIHe1OsGclCHt8RsRm04DObjefaI82u6XDzv+qGWZ24tIsRAIi5MQ=="
"resolved" "http://npm.dui88.com:80/@vue%2fcompiler-dom/-/compiler-dom-3.4.15.tgz"
"version" "3.4.15"
version "3.4.15"
resolved "http://npm.dui88.com:80/@vue%2fcompiler-dom/-/compiler-dom-3.4.15.tgz"
integrity sha512-wox0aasVV74zoXyblarOM3AZQz/Z+OunYcIHe1OsGclCHt8RsRm04DObjefaI82u6XDzv+qGWZ24tIsRAIi5MQ==
dependencies:
"@vue/compiler-core" "3.4.15"
"@vue/shared" "3.4.15"
"@vue/compiler-sfc@3.4.15":
"integrity" "sha512-LCn5M6QpkpFsh3GQvs2mJUOAlBQcCco8D60Bcqmf3O3w5a+KWS5GvYbrrJBkgvL1BDnTp+e8q0lXCLgHhKguBA=="
"resolved" "http://npm.dui88.com:80/@vue%2fcompiler-sfc/-/compiler-sfc-3.4.15.tgz"
"version" "3.4.15"
version "3.4.15"
resolved "http://npm.dui88.com:80/@vue%2fcompiler-sfc/-/compiler-sfc-3.4.15.tgz"
integrity sha512-LCn5M6QpkpFsh3GQvs2mJUOAlBQcCco8D60Bcqmf3O3w5a+KWS5GvYbrrJBkgvL1BDnTp+e8q0lXCLgHhKguBA==
dependencies:
"@babel/parser" "^7.23.6"
"@vue/compiler-core" "3.4.15"
"@vue/compiler-dom" "3.4.15"
"@vue/compiler-ssr" "3.4.15"
"@vue/shared" "3.4.15"
"estree-walker" "^2.0.2"
"magic-string" "^0.30.5"
"postcss" "^8.4.33"
"source-map-js" "^1.0.2"
estree-walker "^2.0.2"
magic-string "^0.30.5"
postcss "^8.4.33"
source-map-js "^1.0.2"
"@vue/compiler-ssr@3.4.15":
"integrity" "sha512-1jdeQyiGznr8gjFDadVmOJqZiLNSsMa5ZgqavkPZ8O2wjHv0tVuAEsw5hTdUoUW4232vpBbL/wJhzVW/JwY1Uw=="
"resolved" "http://npm.dui88.com:80/@vue%2fcompiler-ssr/-/compiler-ssr-3.4.15.tgz"
"version" "3.4.15"
version "3.4.15"
resolved "http://npm.dui88.com:80/@vue%2fcompiler-ssr/-/compiler-ssr-3.4.15.tgz"
integrity sha512-1jdeQyiGznr8gjFDadVmOJqZiLNSsMa5ZgqavkPZ8O2wjHv0tVuAEsw5hTdUoUW4232vpBbL/wJhzVW/JwY1Uw==
dependencies:
"@vue/compiler-dom" "3.4.15"
"@vue/shared" "3.4.15"
"@vue/reactivity@3.4.15":
"integrity" "sha512-55yJh2bsff20K5O84MxSvXKPHHt17I2EomHznvFiJCAZpJTNW8IuLj1xZWMLELRhBK3kkFV/1ErZGHJfah7i7w=="
"resolved" "http://npm.dui88.com:80/@vue%2freactivity/-/reactivity-3.4.15.tgz"
"version" "3.4.15"
version "3.4.15"
resolved "http://npm.dui88.com:80/@vue%2freactivity/-/reactivity-3.4.15.tgz"
integrity sha512-55yJh2bsff20K5O84MxSvXKPHHt17I2EomHznvFiJCAZpJTNW8IuLj1xZWMLELRhBK3kkFV/1ErZGHJfah7i7w==
dependencies:
"@vue/shared" "3.4.15"
"@vue/runtime-core@3.4.15":
"integrity" "sha512-6E3by5m6v1AkW0McCeAyhHTw+3y17YCOKG0U0HDKDscV4Hs0kgNT5G+GCHak16jKgcCDHpI9xe5NKb8sdLCLdw=="
"resolved" "http://npm.dui88.com:80/@vue%2fruntime-core/-/runtime-core-3.4.15.tgz"
"version" "3.4.15"
version "3.4.15"
resolved "http://npm.dui88.com:80/@vue%2fruntime-core/-/runtime-core-3.4.15.tgz"
integrity sha512-6E3by5m6v1AkW0McCeAyhHTw+3y17YCOKG0U0HDKDscV4Hs0kgNT5G+GCHak16jKgcCDHpI9xe5NKb8sdLCLdw==
dependencies:
"@vue/reactivity" "3.4.15"
"@vue/shared" "3.4.15"
"@vue/runtime-dom@3.4.15":
"integrity" "sha512-EVW8D6vfFVq3V/yDKNPBFkZKGMFSvZrUQmx196o/v2tHKdwWdiZjYUBS+0Ez3+ohRyF8Njwy/6FH5gYJ75liUw=="
"resolved" "http://npm.dui88.com:80/@vue%2fruntime-dom/-/runtime-dom-3.4.15.tgz"
"version" "3.4.15"
version "3.4.15"
resolved "http://npm.dui88.com:80/@vue%2fruntime-dom/-/runtime-dom-3.4.15.tgz"
integrity sha512-EVW8D6vfFVq3V/yDKNPBFkZKGMFSvZrUQmx196o/v2tHKdwWdiZjYUBS+0Ez3+ohRyF8Njwy/6FH5gYJ75liUw==
dependencies:
"@vue/runtime-core" "3.4.15"
"@vue/shared" "3.4.15"
"csstype" "^3.1.3"
csstype "^3.1.3"
"@vue/server-renderer@3.4.15":
"integrity" "sha512-3HYzaidu9cHjrT+qGUuDhFYvF/j643bHC6uUN9BgM11DVy+pM6ATsG6uPBLnkwOgs7BpJABReLmpL3ZPAsUaqw=="
"resolved" "http://npm.dui88.com:80/@vue%2fserver-renderer/-/server-renderer-3.4.15.tgz"
"version" "3.4.15"
version "3.4.15"
resolved "http://npm.dui88.com:80/@vue%2fserver-renderer/-/server-renderer-3.4.15.tgz"
integrity sha512-3HYzaidu9cHjrT+qGUuDhFYvF/j643bHC6uUN9BgM11DVy+pM6ATsG6uPBLnkwOgs7BpJABReLmpL3ZPAsUaqw==
dependencies:
"@vue/compiler-ssr" "3.4.15"
"@vue/shared" "3.4.15"
"@vue/shared@3.4.15":
"integrity" "sha512-KzfPTxVaWfB+eGcGdbSf4CWdaXcGDqckoeXUh7SB3fZdEtzPCK2Vq9B/lRRL3yutax/LWITz+SwvgyOxz5V75g=="
"resolved" "http://npm.dui88.com:80/@vue%2fshared/-/shared-3.4.15.tgz"
"version" "3.4.15"
"csstype@^3.1.3":
"integrity" "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
"resolved" "http://npm.dui88.com:80/csstype/-/csstype-3.1.3.tgz"
"version" "3.1.3"
"entities@^4.5.0":
"integrity" "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="
"resolved" "http://npm.dui88.com:80/entities/-/entities-4.5.0.tgz"
"version" "4.5.0"
"estree-walker@^2.0.2":
"integrity" "sha1-UvAQF4wqTBF6d1fP6UKtt9LaTKw="
"resolved" "http://npm.dui88.com:80/estree-walker/-/estree-walker-2.0.2.tgz"
"version" "2.0.2"
"fs-extra@^10.0.0":
"integrity" "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ=="
"resolved" "http://npm.dui88.com:80/fs-extra/-/fs-extra-10.1.0.tgz"
"version" "10.1.0"
version "3.4.15"
resolved "http://npm.dui88.com:80/@vue%2fshared/-/shared-3.4.15.tgz"
integrity sha512-KzfPTxVaWfB+eGcGdbSf4CWdaXcGDqckoeXUh7SB3fZdEtzPCK2Vq9B/lRRL3yutax/LWITz+SwvgyOxz5V75g==
csstype@^3.1.3:
version "3.1.3"
resolved "http://npm.dui88.com:80/csstype/-/csstype-3.1.3.tgz"
integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
entities@^4.5.0:
version "4.5.0"
resolved "http://npm.dui88.com:80/entities/-/entities-4.5.0.tgz"
integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
estree-walker@^2.0.2:
version "2.0.2"
resolved "http://npm.dui88.com:80/estree-walker/-/estree-walker-2.0.2.tgz"
integrity sha1-UvAQF4wqTBF6d1fP6UKtt9LaTKw=
fs-extra@^10.0.0:
version "10.1.0"
resolved "http://npm.dui88.com:80/fs-extra/-/fs-extra-10.1.0.tgz"
integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==
dependencies:
"graceful-fs" "^4.2.0"
"jsonfile" "^6.0.1"
"universalify" "^2.0.0"
"graceful-fs@^4.1.6", "graceful-fs@^4.2.0":
"integrity" "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
"resolved" "http://npm.dui88.com:80/graceful-fs/-/graceful-fs-4.2.11.tgz"
"version" "4.2.11"
"jsonfile@^6.0.1":
"integrity" "sha1-vFWyY0eTxnnsZAMJTrE2mKbsCq4="
"resolved" "http://npm.dui88.com:80/jsonfile/-/jsonfile-6.1.0.tgz"
"version" "6.1.0"
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^2.0.0"
graceful-fs@^4.1.6, graceful-fs@^4.2.0:
version "4.2.11"
resolved "http://npm.dui88.com:80/graceful-fs/-/graceful-fs-4.2.11.tgz"
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
jsonfile@^6.0.1:
version "6.1.0"
resolved "http://npm.dui88.com:80/jsonfile/-/jsonfile-6.1.0.tgz"
integrity sha1-vFWyY0eTxnnsZAMJTrE2mKbsCq4=
dependencies:
"universalify" "^2.0.0"
universalify "^2.0.0"
optionalDependencies:
"graceful-fs" "^4.1.6"
graceful-fs "^4.1.6"
"magic-string@^0.30.5":
"integrity" "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA=="
"resolved" "http://npm.dui88.com:80/magic-string/-/magic-string-0.30.5.tgz"
"version" "0.30.5"
magic-string@^0.30.5:
version "0.30.5"
resolved "http://npm.dui88.com:80/magic-string/-/magic-string-0.30.5.tgz"
integrity sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==
dependencies:
"@jridgewell/sourcemap-codec" "^1.4.15"
"nanoid@^3.3.7":
"integrity" "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g=="
"resolved" "http://npm.dui88.com:80/nanoid/-/nanoid-3.3.7.tgz"
"version" "3.3.7"
nanoid@^3.3.7:
version "3.3.7"
resolved "http://npm.dui88.com:80/nanoid/-/nanoid-3.3.7.tgz"
integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==
"picocolors@^1.0.0":
"integrity" "sha1-y1vcdP8/UYkiNur3nWi8RFZKuBw="
"resolved" "http://npm.dui88.com:80/picocolors/-/picocolors-1.0.0.tgz"
"version" "1.0.0"
picocolors@^1.0.0:
version "1.0.0"
resolved "http://npm.dui88.com:80/picocolors/-/picocolors-1.0.0.tgz"
integrity sha1-y1vcdP8/UYkiNur3nWi8RFZKuBw=
"postcss@^8.4.33":
"integrity" "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg=="
"resolved" "http://npm.dui88.com:80/postcss/-/postcss-8.4.33.tgz"
"version" "8.4.33"
postcss@^8.4.33:
version "8.4.33"
resolved "http://npm.dui88.com:80/postcss/-/postcss-8.4.33.tgz"
integrity sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==
dependencies:
"nanoid" "^3.3.7"
"picocolors" "^1.0.0"
"source-map-js" "^1.0.2"
"source-map-js@^1.0.2":
"integrity" "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw=="
"resolved" "http://npm.dui88.com:80/source-map-js/-/source-map-js-1.0.2.tgz"
"version" "1.0.2"
"universalify@^2.0.0":
"integrity" "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw=="
"resolved" "http://npm.dui88.com:80/universalify/-/universalify-2.0.1.tgz"
"version" "2.0.1"
"vue@^3.1.4", "vue@3.4.15":
"integrity" "sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ=="
"resolved" "http://npm.dui88.com:80/vue/-/vue-3.4.15.tgz"
"version" "3.4.15"
nanoid "^3.3.7"
picocolors "^1.0.0"
source-map-js "^1.0.2"
source-map-js@^1.0.2:
version "1.0.2"
resolved "http://npm.dui88.com:80/source-map-js/-/source-map-js-1.0.2.tgz"
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
universalify@^2.0.0:
version "2.0.1"
resolved "http://npm.dui88.com:80/universalify/-/universalify-2.0.1.tgz"
integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==
vue@^3.1.4, vue@3.4.15:
version "3.4.15"
resolved "http://npm.dui88.com:80/vue/-/vue-3.4.15.tgz"
integrity sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ==
dependencies:
"@vue/compiler-dom" "3.4.15"
"@vue/compiler-sfc" "3.4.15"
......
<html>
<head>
<meta charset="utf-8" />
<title>Cave Cruiser</title>
<title>鸣鸣很忙</title>
<meta
name="viewport"
content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"
......
......@@ -26,3 +26,14 @@ mobx@^6.12.3:
version "6.12.3"
resolved "http://npm.dui88.com:80/mobx/-/mobx-6.12.3.tgz"
integrity sha512-c8NKkO4R2lShkSXZ2Ongj1ycjugjzFFo/UswHBnS62y07DMcTc9Rvo03/3nRyszIvwPNljlkd4S828zIBv/piw==
node-xlsx@^0.24.0:
version "0.24.0"
resolved "https://registry.npmmirror.com/node-xlsx/-/node-xlsx-0.24.0.tgz#a6a365acb18ad37c66c2b254b6ebe0c22dc9dc6f"
integrity sha512-1olwK48XK9nXZsyH/FCltvGrQYvXXZuxVitxXXv2GIuRm51aBi1+5KwR4rWM4KeO61sFU+00913WLZTD+AcXEg==
dependencies:
xlsx "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
"xlsx@https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz":
version "0.20.2"
resolved "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz#0f64eeed3f1a46e64724620c3553f2dbd3cd2d7d"
[
"微信昵称",
"秋淩",
"一到胃",
"久醉绕心弦",
"羁绊ж",
"余香",
"[旋木]",
"梦游者 🌙✨",
"温暖的光 🌞️",
"静谧时光 🕰️🌸",
"微风轻拂",
"岁月如歌 🎶",
"晨曦初露 🌅",
"时间总能抚平一切",
"夏槿",
"浅笑心柔",
"绝不服输",
"九北折",
"末凉残念浮生若梦",
"幸福已无缘",
"厌倦了吗",
"眼波传意",
"心医",
"温凉少女",
"蹲街守寂寞",
"暮凉",
"甜崽",
"寄居人",
"書冩時光",
"比忠",
"凝鹰",
"街角迷惘",
"等待圉鍢",
"奶坤o(≧v≦、o",
"28、三知你冷暖",
"少女心英雄梦",
"笑衬心酸",
"素手挽清风",
"眉间万般柔情",
"千里故人稀",
"爱上孤独",
"独闯女儿国",
"绳情",
"夏天的巴比伦狠美",
"斗魂如焚",
"别挽留",
"Soul(灵魂)",
"浮华",
"十三预见离别",
"低调的爆发",
"度忆",
"月下凄凉",
"傻孩子",
"赤光旅行",
"血狂暴者",
"转身未来",
"薄幸つ。",
"倾听心跳的旋律",
"捶死心动",
"只知→坚持",
"想有一个有你的家",
"菰单嚤迗轮",
"一十里桃花不如你",
"天会亮心会暖",
"春来赏花",
"携君以终年",
"冥幽",
"把刀藏进衣袖",
"萌翻你",
"还好有你在",
"笑脸如初",
"入玫瑰林",
"浪推晚风",
"浮生醉清风",
"放飞的风筝",
"现世安稳",
"殇ㄨ到此止",
"语过添情",
"帅炸宇宙",
"十里温柔",
"平安喜乐",
"浅笙",
"吧唧你一口",
"暮色兮凉城",
"醉熏君心丶",
"清酒",
"月光下的甜蜜",
"不再入戏",
"一腔孤勇",
"争取第一",
"隔岸观火",
"但却是唯一",
"南巷清风",
"明媚殇",
"月野兔",
"吃不饱",
"笨死的猪",
"妳是的陽光",
"不告而别",
"无人像你"
]
\ No newline at end of file
import xlsx from "node-xlsx";
import * as fs from "fs";
const workSheetsFromFile = xlsx.parse(`游戏假昵称100个.xlsx`);
const nickArr = workSheetsFromFile[0].data.map((row)=>{
return row[0];
});
fs.writeFileSync("游戏昵称.json", JSON.stringify(nickArr, null, 4));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment