Commit 98bf81c4 authored by Tt's avatar Tt

移除多余资源

parent 43fae5e6
{
"ver": "2.0.1",
"uuid": "ab18e61c-6c95-4e0c-b146-c78ddac1b7f6",
"downloadMode": 0,
"duration": 1.201633,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "035a716d-d415-4858-bbfb-d9b1b5502fb4",
"downloadMode": 0,
"duration": 0.130612,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "4fa8fc4d-349a-44e2-af4e-bc4363ddc62b",
"downloadMode": 0,
"duration": 0.940417,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f5844d35-0953-4952-83b3-bbf0e3d7e1dc",
"downloadMode": 0,
"duration": 1.645714,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "4acd55e7-3c61-4159-9fb3-d631425bf96a",
"downloadMode": 0,
"duration": 1.959184,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f80a0f77-cc86-4e95-a415-2a6ab662a3ef",
"downloadMode": 0,
"duration": 0.277125,
"subMetas": {}
}
\ No newline at end of file
{"name":"speak","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"}],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"aabb":{"x":-101.5312185134179,"height":204,"y":-101.03171071912247,"width":205},"skin":[{"name":"","slot":[{"name":"组_1","display":[{"name":"提示/组_1","transform":{"x":1.0034,"y":-5.0077},"type":"image","path":"提示/组_1"}]},{"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_拷贝"}]}]}],"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}],"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"}],"frameRate":24,"type":"Armature","ik":[]}],"frameRate":24,"isGlobal":0}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "85a3e5a1-bf85-47db-bad8-c0d69dc70fa9",
"subMetas": {}
}
\ No newline at end of file
{"name":"speak","imagePath":"speak_tex.png","SubTexture":[{"name":"提示/椭圆_11","x":1,"height":204,"y":1,"width":205},{"name":"提示/椭圆_11_拷贝","x":1,"height":156,"y":207,"width":156},{"name":"提示/组_1","x":159,"height":130,"y":207,"width":90}],"height":512,"width":256}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "a3958b69-5ef3-4afb-9207-0ed4f8ba281a",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e4a58d8e-b76c-4ac4-912c-8be680013557",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 512,
"platformSettings": {},
"subMetas": {
"speak_tex": {
"ver": "1.0.4",
"uuid": "fcd3c154-1bef-47f0-8721-2a034b195dd3",
"rawTextureUuid": "e4a58d8e-b76c-4ac4-912c-8be680013557",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -3,
"offsetY": 74,
"trimX": 1,
"trimY": 1,
"width": 248,
"height": 362,
"rawWidth": 256,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
...@@ -9,9 +9,9 @@ import { asyncDelay, onHomeworkFinish, RandomInt } from "../script/util"; ...@@ -9,9 +9,9 @@ import { asyncDelay, onHomeworkFinish, RandomInt } from "../script/util";
// 导入基础场景组件 // 导入基础场景组件
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent"; import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
// 导入游戏管理类和相关枚举 // 导入游戏管理类和相关枚举
import Game, { GAME_STATE, Option } from "./tool/Game"; import Game, { GAME_STATE, Option } from "./tool/SSAPP2501_Game";
// 导入工具类 // 导入工具类
import pg from "./tool/pg"; import pg from "./tool/SSAPP2501_pg";
const { ccclass, property } = cc._decorator; const { ccclass, property } = cc._decorator;
...@@ -122,15 +122,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -122,15 +122,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
/** 语音布局节点 */ /** 语音布局节点 */
@property(cc.Node) @property(cc.Node)
layout_speak: cc.Node = null; layout_speak: cc.Node = null;
/** 音频关闭按钮 */
@property(cc.Node)
btn_audio_off: cc.Node = null;
/** 音频开启按钮 */
@property(cc.Node)
btn_audio_on: cc.Node = null;
/** 卡片布局节点 */
@property(cc.Node)
layout_card: cc.Node = null;
@property({ displayName: "消防车", type: cc.Node }) node_firetruck: cc.Node = null; @property({ displayName: "消防车", type: cc.Node }) node_firetruck: cc.Node = null;
...@@ -191,7 +182,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -191,7 +182,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.audioId > -1 && Game.getIns().state == GAME_STATE.RUNNING) { if (this.audioId > -1 && Game.getIns().state == GAME_STATE.RUNNING) {
cc.audioEngine.stopAllEffects(); cc.audioEngine.stopAllEffects();
pg.audio.stopAudio(this.audioId); pg.audio.stopAudio(this.audioId);
} }
} }
/** /**
* 初始化事件监听 * 初始化事件监听
...@@ -199,8 +190,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -199,8 +190,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
*/ */
initEvent() { initEvent() {
// 音频控制按钮事件 // 音频控制按钮事件
this.btn_audio_off.on(cc.Node.EventType.TOUCH_END, this.onAudioOff, this);
this.btn_audio_on.on(cc.Node.EventType.TOUCH_END, this.onAudioOn, this);
this.btn_close.on(cc.Node.EventType.TOUCH_END, this.onTouchSpeakClose, this); this.btn_close.on(cc.Node.EventType.TOUCH_END, this.onTouchSpeakClose, this);
// 添加消防车点击事件 // 添加消防车点击事件
...@@ -1030,8 +1019,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -1030,8 +1019,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
* 关闭背景音乐 * 关闭背景音乐
*/ */
private onAudioOn() { private onAudioOn() {
this.btn_audio_off.active = true;
this.btn_audio_on.active = false;
this.isPlayBgAudio = false; this.isPlayBgAudio = false;
this.stopBgAudio(); this.stopBgAudio();
} }
...@@ -1041,8 +1028,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -1041,8 +1028,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
* 开启背景音乐 * 开启背景音乐
*/ */
private onAudioOff() { private onAudioOff() {
this.btn_audio_on.active = true;
this.btn_audio_off.active = false;
this.isPlayBgAudio = true; this.isPlayBgAudio = true;
this.playBgAudio(); this.playBgAudio();
} }
......
{
"ver": "2.3.5",
"uuid": "f81321f0-27f9-4f62-be87-e748343f72fe",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 405,
"height": 222,
"platformSettings": {},
"subMetas": {
"bg_comeon": {
"ver": "1.0.4",
"uuid": "c9808dbf-7ec8-4ca6-a8e5-82a13e777b63",
"rawTextureUuid": "f81321f0-27f9-4f62-be87-e748343f72fe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 405,
"height": 222,
"rawWidth": 405,
"rawHeight": 222,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "16597f3d-6d24-4f15-910e-121058699027",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 106,
"height": 88,
"platformSettings": {},
"subMetas": {
"bg_countdown": {
"ver": "1.0.4",
"uuid": "5050aaa3-c0ac-4e51-a5cb-02385a47e274",
"rawTextureUuid": "16597f3d-6d24-4f15-910e-121058699027",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 106,
"height": 88,
"rawWidth": 106,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6443a158-0dff-4c2a-8630-fff6ca47b0ce",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 828,
"height": 343,
"platformSettings": {},
"subMetas": {
"bg_di": {
"ver": "1.0.4",
"uuid": "6d0b62d4-08e4-4392-a38c-dc35b7469c29",
"rawTextureUuid": "6443a158-0dff-4c2a-8630-fff6ca47b0ce",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 828,
"height": 343,
"rawWidth": 828,
"rawHeight": 343,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "12975cf4-2fbb-4076-bad4-1f7092e559cd",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 268,
"height": 339,
"platformSettings": {},
"subMetas": {
"bg_egg1-broken": {
"ver": "1.0.4",
"uuid": "79b07b76-7e30-4bab-9df2-3df040a8e339",
"rawTextureUuid": "12975cf4-2fbb-4076-bad4-1f7092e559cd",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -40.5,
"trimX": 0,
"trimY": 81,
"width": 268,
"height": 258,
"rawWidth": 268,
"rawHeight": 339,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c61e105a-54d2-4c1b-af70-16e5114414ec",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 268,
"height": 339,
"platformSettings": {},
"subMetas": {
"bg_egg1-di": {
"ver": "1.0.4",
"uuid": "a389bac4-aee9-4758-9c67-ce5aaddc7fb0",
"rawTextureUuid": "c61e105a-54d2-4c1b-af70-16e5114414ec",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -20,
"trimX": 0,
"trimY": 40,
"width": 268,
"height": 299,
"rawWidth": 268,
"rawHeight": 339,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "06496eae-ee4d-49b9-85f8-2e86a1a63996",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 268,
"height": 339,
"platformSettings": {},
"subMetas": {
"bg_egg1": {
"ver": "1.0.4",
"uuid": "d06f3ecd-62ca-4276-8b65-0219448d910e",
"rawTextureUuid": "06496eae-ee4d-49b9-85f8-2e86a1a63996",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 9.5,
"offsetY": 0,
"trimX": 19,
"trimY": 0,
"width": 249,
"height": 339,
"rawWidth": 268,
"rawHeight": 339,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a1117737-0410-4037-a8a4-23edec747119",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 275,
"height": 339,
"platformSettings": {},
"subMetas": {
"bg_egg2-broken": {
"ver": "1.0.4",
"uuid": "08a8c2d4-91a2-44c7-ae4f-e23d0f25a026",
"rawTextureUuid": "a1117737-0410-4037-a8a4-23edec747119",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -15,
"trimX": 0,
"trimY": 30,
"width": 275,
"height": 309,
"rawWidth": 275,
"rawHeight": 339,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f9397d32-9d09-4a80-99ab-4991055606f2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 275,
"height": 339,
"platformSettings": {},
"subMetas": {
"bg_egg2-di": {
"ver": "1.0.4",
"uuid": "b99b7815-8ae9-4c0a-ab14-3f2aaa93c708",
"rawTextureUuid": "f9397d32-9d09-4a80-99ab-4991055606f2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -15,
"trimX": 0,
"trimY": 30,
"width": 275,
"height": 309,
"rawWidth": 275,
"rawHeight": 339,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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