Commit d74fbaab authored by 李帅's avatar 李帅

+ 录音动画

parent c31c6268
......@@ -3175,7 +3175,7 @@
"__id__": 66
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 68
......@@ -3192,8 +3192,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 90,
"height": 83
"width": 205,
"height": 208
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3205,7 +3205,7 @@
"ctor": "Float64Array",
"array": [
0,
-300,
-240,
0,
0,
0,
......@@ -3227,10 +3227,10 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "daOQLwniBPYokKNgGPFxtK"
"_id": "6f5IpqEClFwaKyo48pdbHP"
},
{
"__type__": "cc.Sprite",
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
......@@ -3242,24 +3242,32 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5b67343e-8927-4b5f-9653-3aa36a67c245"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "18pzExhKhE8bQr0V0P+oaC"
"_armatureName": "Armature",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "98532705-4bf7-43f5-8016-6d82b5d468b5#3495d729-5f8e-4b65-847c-765a457a73af",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "98532705-4bf7-43f5-8016-6d82b5d468b5"
},
"_N$dragonAtlasAsset": {
"__uuid__": "3495d729-5f8e-4b65-847c-765a457a73af"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "13N8Wx0d5KpaWGqJw5ibYa"
},
{
"__type__": "cc.Widget",
......
/*
* @Author: ls
* @Date: 2022-05-15 18:22:18
* @LastEditTime: 2022-05-22 19:21:58
* @LastEditTime: 2022-05-23 12:39:28
* @LastEditors: ls
* @Description:
* @FilePath: \ls_gramophone\assets\ls_gramophone\scene\ls_gramophone.ts
......@@ -166,6 +166,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 录音界面
let mask = cc.find('Canvas/mask');
mask.active = false;
let icon_record = cc.find('Canvas/mask/icon_record');
icon_record.active = false;
let record_start = cc.find('Canvas/btn_record_start');
let record_stop = cc.find('Canvas/btn_record_stop');
record_start.active = false;
......@@ -176,6 +179,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.playLocalAudio('btn');
mask.active = true;
icon_record.active = true;
record_start.active = false;
record_stop.active = true;
......@@ -189,6 +194,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.playLocalAudio('btn');
mask.active = false;
icon_record.active = false;
record_start.active = false;
record_stop.active = false;
......
{
"ver": "1.1.2",
"uuid": "66e78df2-a6ed-4f05-a15a-62bbd749b258",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"name":"录音动画","version":"5.5","armature":[{"name":"Armature","slot":[{"name":"椭圆_11","color":{},"parent":"big"},{"name":"椭圆_11_拷贝","color":{},"z":1,"parent":"small"},{"name":"组_1","color":{},"z":2,"parent":"root"}],"bone":[{"name":"root","transform":{"x":0.4842,"skY":-0.0188,"y":0.4842,"skX":-0.0188}},{"name":"big","transform":{"x":-0.5,"skY":89.9812,"y":-1,"skX":89.9812},"parent":"root"},{"name":"small","transform":{"x":1.9369,"skY":179.9812,"y":0.0006,"skX":179.9812},"parent":"root"}],"aabb":{"x":-101.5312185134179,"height":208,"y":-103.03171071912247,"width":205},"defaultActions":[{"gotoAndPlay":"newAnimation"}],"animation":[{"name":"newAnimation","frame":[],"bone":[{"name":"root","rotateFrame":[],"translateFrame":[],"scaleFrame":[]},{"name":"big","rotateFrame":[],"translateFrame":[],"scaleFrame":[{"tweenEasing":0,"duration":18},{"x":1.5,"y":1.5,"duration":0}]},{"name":"small","rotateFrame":[],"translateFrame":[],"scaleFrame":[{"tweenEasing":0,"duration":18},{"x":1.4,"y":1.4,"duration":0}]}],"playTimes":0,"ffd":[],"ik":[],"slot":[{"name":"椭圆_11","displayFrame":[],"colorFrame":[{"duration":18,"tweenEasing":0},{"duration":0,"color":{"aM":0}}]},{"name":"椭圆_11_拷贝","displayFrame":[],"colorFrame":[{"duration":18,"tweenEasing":0},{"duration":0,"color":{"aM":12}}]},{"name":"组_1","displayFrame":[],"colorFrame":[]}],"duration":18}],"ik":[],"skin":[{"name":"","slot":[{"name":"椭圆_11","display":[{"name":"提示/椭圆_11","transform":{"x":1.4845,"skY":-90,"y":-0.9839,"skX":-90},"type":"image","path":"提示/椭圆_11"}]},{"name":"椭圆_11_拷贝","display":[{"name":"提示/椭圆_11_拷贝","transform":{"x":-0.0038,"skY":-179.9215,"y":5.8107,"skX":-179.9215},"type":"image","path":"提示/椭圆_11_拷贝"}]},{"name":"组_1","display":[{"name":"提示/组_1","transform":{"x":1.0034,"y":-5.0077},"type":"image","path":"提示/组_1"}]}]}],"frameRate":24,"type":"Armature"}],"frameRate":24,"isGlobal":0}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "98532705-4bf7-43f5-8016-6d82b5d468b5",
"subMetas": {}
}
\ No newline at end of file
{"name":"录音动画","SubTexture":[{"name":"提示/椭圆_11","x":1,"height":208,"y":1,"width":205},{"name":"提示/椭圆_11_拷贝","x":208,"height":156,"y":1,"width":156},{"name":"提示/组_1","x":366,"height":130,"y":1,"width":90}],"height":256,"imagePath":"录音动画_tex.png","width":512}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "3495d729-5f8e-4b65-847c-765a457a73af",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d7e3ff14-27f9-42a6-be35-b87c5395383b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 256,
"platformSettings": {},
"subMetas": {
"录音动画_tex": {
"ver": "1.0.4",
"uuid": "ac106ac6-db96-4a08-9375-36bf50588bb0",
"rawTextureUuid": "d7e3ff14-27f9-42a6-be35-b87c5395383b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -27.5,
"offsetY": 23,
"trimX": 1,
"trimY": 1,
"width": 455,
"height": 208,
"rawWidth": 512,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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