Commit 36b06aff authored by haiyoucuv's avatar haiyoucuv

上传

parent c0575648
import Panel from "../../Module/Panel";
import { _decorator, Button, Node } from "cc";
import { observer, render } from "../store/decorators";
const {ccclass, property} = _decorator;
import { popWindow } from "../AppTool";
@observer
@ccclass('BackPanel')
export default class BackPanel extends Panel {
static skin = "BackPanel";
static group = "BackPanel";
@property(Node) closeBtn: Node = null;
@property(Node) yes: Node = null;
@property(Node) no: Node = null;
onLoad() {
this.closeBtn.on(Button.EventType.CLICK, this.clickClose);
this.no.on(Button.EventType.CLICK, this.clickClose);
this.yes.on(Button.EventType.CLICK, this.clickYes);
}
clickClose = () => {
this.hidePanel();
}
clickYes = () => {
popWindow();
}
}
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"e5585b7a-910d-44c9-b376-319c311ab59f","files":[],"subMetas":{},"userData":{}}
......@@ -9,7 +9,7 @@ import { GuideScene } from "./GuideScene";
import GameMgr from "../GameMgr";
import RankPanel from "../Panels/RankPanel";
import { UIMgr } from "../../Module/UIMgr";
import { popWindow } from "../AppTool";
import { AudioMgr } from "../../core_tgx/base/AudioMgr";
const {ccclass, property} = _decorator;
......@@ -35,6 +35,11 @@ export class HomeScene extends Scene {
}
async start() {
AudioMgr.ins.play("audio/飞球背景音乐", true);
await store.updateIndex();
UIMgr.ins.preloadScene(MainGame);
......
......@@ -2,7 +2,7 @@ import {
_decorator,
Collider,
Color,
easing, EPhysicsDrawFlags,
easing, EPhysicsDrawFlags, game,
ICollisionEvent,
Input,
input,
......@@ -25,6 +25,7 @@ import Scene from "db://assets/Module/Scene";
import { Wall } from "./Wall";
import { sleep } from "../../Utils/Utils";
import GameMgr from "../../GameMgr";
import { AudioMgr } from "../../../core_tgx/base/AudioMgr";
const {ccclass, property} = _decorator;
......@@ -98,8 +99,6 @@ export class MainGame extends Scene {
maxZ = 0;
onLoad() {
const playerCollider = this.player.getComponent(Collider);
playerCollider.on("onCollisionEnter", this.onPlayerCollision, this);
playerCollider.on('onTriggerEnter', this.onTriggerEnter, this);
......@@ -111,7 +110,6 @@ export class MainGame extends Scene {
this.playerBody = this.player.getComponent(RigidBody);
this.playerConstraint = this.linkPoint.getComponent(PointToPointConstraint);
}
async start() {
......@@ -251,6 +249,8 @@ export class MainGame extends Scene {
this.isTouch = true;
AudioMgr.ins.playOneShot("audio/点击音效");
this.line.active = true;
const pPos = this.player.position;
......@@ -293,7 +293,7 @@ export class MainGame extends Scene {
onTouchEnd(event: any) {
if (this.isOver) return;
if(!this.isTouch)return;
if (!this.isTouch) return;
this.isTouch = false;
this.line.active = false;
......@@ -359,7 +359,7 @@ export class MainGame extends Scene {
updateScore() {
this.score = ~~(this.maxZ * 15) + this.propScore;
if(this.score > 9999){
if (this.score > 9999) {
this.score = 9999;
PhysicsSystem.instance.enable = false;
this.gameOver();
......@@ -374,6 +374,17 @@ export class MainGame extends Scene {
return Math.min(this.score, 5000) / 5000;
}
protected lateUpdate(dt: number) {
// PhysicsSystem.instance.physicsWorld.syncSceneToPhysics();
//
// // PhysicsSystem.instance.fixedTimeStep = dt;
// // PhysicsSystem.instance.update(dt);
// PhysicsSystem.instance.step(1/60, dt);
//
// PhysicsSystem.instance.physicsWorld.emitEvents();
// PhysicsSystem.instance.physicsWorld.syncAfterEvents();
}
update(dt: number) {
if (this.isOver) return;
......
......@@ -6,6 +6,7 @@ import { HomeScene } from "db://assets/Scripts/Scenes/HomeScene";
import { sendWebNet, WebNetName } from "../Scripts/Utils/WebNet/WebNet";
import { getUrlParams } from "../Scripts/Utils/WebNet/web/webTools";
import store from "../Scripts/store/store";
import { AudioMgr } from "../core_tgx/base/AudioMgr";
const {ccclass, property} = _decorator;
......@@ -37,7 +38,6 @@ export class Start extends Component {
UIMgr.ins.setup(this.uiPrefab);
document.body.style.visibility = "visible";
}
......
//AudioMgr.ts
import { Node, AudioSource, AudioClip, resources, director, assetManager } from 'cc';
/**
* @en
* this is a sington class for audio play, can be easily called from anywhere in you project.
......@@ -8,18 +9,19 @@ import { Node, AudioSource, AudioClip, resources, director, assetManager } from
*/
export class AudioMgr {
private static _inst: AudioMgr;
public static get inst(): AudioMgr {
if (this._inst == null) {
this._inst = new AudioMgr();
private static _ins: AudioMgr;
public static get ins(): AudioMgr {
if (!this._ins) {
this._ins = new AudioMgr();
}
return this._inst;
return this._ins;
}
private _audioSource: AudioSource;
private _musicVolume = 1.0;
private _musicVolumeScale = 1.0;
private _soundVolume = 1.0;
constructor() {
//@en create a node as audioMgr
//@zh 创建一个节点作为 audioMgr
......@@ -58,20 +60,18 @@ export class AudioMgr {
* @zh
* 播放短音频,比如 打击音效,爆炸音效等
* @param sound clip or url for the audio
* @param volume
* @param volume
*/
playOneShot(sound: AudioClip | string, volume: number = 1.0, bundleName: string = 'resources') {
if (sound instanceof AudioClip) {
this._audioSource.volume = 1.0;
this._audioSource.playOneShot(sound, volume * this._soundVolume);
}
else {
} else {
let bundle = assetManager.getBundle(bundleName);
bundle.load(sound, (err, clip: AudioClip) => {
if (err) {
console.log(err);
}
else {
} else {
this._audioSource.volume = 1.0;
this._audioSource.playOneShot(clip, volume * this._soundVolume);
}
......@@ -85,23 +85,25 @@ export class AudioMgr {
* @zh
* 播放长音频,比如 背景音乐
* @param sound clip or url for the sound
* @param volume
* @param loop
* @param volume
* @param bundleName
*/
play(sound: AudioClip | string, volume: number = 1.0, bundleName: string = 'resources') {
play(sound: AudioClip | string, loop: boolean = false, volume: number = 1.0, bundleName: string = 'resources') {
this._musicVolumeScale = volume;
if (sound instanceof AudioClip) {
this._audioSource.clip = sound;
this._audioSource.loop = loop;
this._audioSource.play();
this.audioSource.volume = this._musicVolume * this._musicVolumeScale;
}
else {
} else {
let bundle = assetManager.getBundle(bundleName);
bundle.load(sound, (err, clip: AudioClip) => {
if (err) {
console.log(err);
}
else {
} else {
this._audioSource.clip = clip;
this._audioSource.loop = loop;
this._audioSource.play();
this.audioSource.volume = this._musicVolume * this._musicVolumeScale;
}
......
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"8bb0f8e1-4b82-4896-8741-1c77ba5cb975","files":[],"subMetas":{},"userData":{}}
This diff is collapsed.
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "0fe5b446-0dca-460d-99f1-cf13098f7777",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "BackPanel"
}
}
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "2b51ad0b-f8b1-4dab-96c6-8678d2acdc26",
"files": [],
"subMetas": {},
"userData": {}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "9f11c074-9c34-4963-aa56-cbb650c7db27",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "9f11c074-9c34-4963-aa56-cbb650c7db27@6c48a",
"displayName": "BackPanel",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "9f11c074-9c34-4963-aa56-cbb650c7db27",
"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": "9f11c074-9c34-4963-aa56-cbb650c7db27@f9941",
"displayName": "BackPanel",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 625,
"height": 488,
"rawWidth": 625,
"rawHeight": 488,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-312.5,
-244,
0,
312.5,
-244,
0,
-312.5,
244,
0,
312.5,
244,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
488,
625,
488,
0,
0,
625,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-312.5,
-244,
0
],
"maxPos": [
312.5,
244,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "9f11c074-9c34-4963-aa56-cbb650c7db27@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "9f11c074-9c34-4963-aa56-cbb650c7db27@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f5976a2b-422e-404c-98e0-d028d384717d",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f5976a2b-422e-404c-98e0-d028d384717d@6c48a",
"displayName": "no",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f5976a2b-422e-404c-98e0-d028d384717d",
"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": "f5976a2b-422e-404c-98e0-d028d384717d@f9941",
"displayName": "no",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 213,
"height": 71,
"rawWidth": 213,
"rawHeight": 71,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-106.5,
-35.5,
0,
106.5,
-35.5,
0,
-106.5,
35.5,
0,
106.5,
35.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
71,
213,
71,
0,
0,
213,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-106.5,
-35.5,
0
],
"maxPos": [
106.5,
35.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f5976a2b-422e-404c-98e0-d028d384717d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f5976a2b-422e-404c-98e0-d028d384717d@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "80351fa4-5441-42b8-ae10-70ec2452a194",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "80351fa4-5441-42b8-ae10-70ec2452a194@6c48a",
"displayName": "yes",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "80351fa4-5441-42b8-ae10-70ec2452a194",
"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": "80351fa4-5441-42b8-ae10-70ec2452a194@f9941",
"displayName": "yes",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 213,
"height": 71,
"rawWidth": 213,
"rawHeight": 71,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-106.5,
-35.5,
0,
106.5,
-35.5,
0,
-106.5,
35.5,
0,
106.5,
35.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
71,
213,
71,
0,
0,
213,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-106.5,
-35.5,
0
],
"maxPos": [
106.5,
35.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "80351fa4-5441-42b8-ae10-70ec2452a194@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "80351fa4-5441-42b8-ae10-70ec2452a194@6c48a"
}
}
......@@ -96,7 +96,7 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 375,
"x": 375.00000000000006,
"y": 812,
"z": 0
},
......@@ -391,7 +391,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 665.84,
"y": 649.6,
"z": 0
},
"_lrot": {
......@@ -442,7 +442,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 3,
"y": -289.286,
"y": -272.5,
"z": 0
},
"_lrot": {
......@@ -541,9 +541,9 @@
"__prefab": null,
"_alignFlags": 9,
"_target": null,
"_left": 119,
"_left": 119.00000000000006,
"_right": 0,
"_top": 156.786,
"_top": 140,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
......@@ -586,8 +586,8 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 375,
"y": -107.286,
"x": 375.00000000000006,
"y": 0,
"z": 0
},
"_lrot": {
......@@ -625,8 +625,8 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 173,
"height": 63
"width": 138,
"height": 49
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -688,7 +688,7 @@
"_target": null,
"_left": 288.5,
"_right": 0,
"_top": 75.786,
"_top": -24.5,
"_bottom": 218,
"_horizontalCenter": 0,
"_verticalCenter": 0,
......@@ -781,8 +781,8 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -321.5,
"y": -28.5,
"x": -328.00000000000006,
"y": 0,
"z": 0
},
"_lrot": {
......@@ -820,8 +820,8 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 57,
"height": 57
"width": 48,
"height": 48
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -881,9 +881,9 @@
"__prefab": null,
"_alignFlags": 9,
"_target": null,
"_left": 25,
"_left": 23,
"_right": 0,
"_top": 0,
"_top": -24,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
......@@ -951,7 +951,7 @@
},
{
"__type__": "cc.Node",
"_name": "rule",
"_name": "tutorial",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
......@@ -976,8 +976,8 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -375,
"y": -107.286,
"x": -204.00000000000006,
"y": 0,
"z": 0
},
"_lrot": {
......@@ -1015,12 +1015,12 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 221,
"height": 63
"width": 172,
"height": 48
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"x": 0.5,
"y": 0.5
},
"_id": "e7q23NiylB7ozGfoI7Ojm2"
......@@ -1076,9 +1076,9 @@
"__prefab": null,
"_alignFlags": 9,
"_target": null,
"_left": 0,
"_left": 85,
"_right": 0,
"_top": 75.786,
"_top": -24,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
......@@ -1158,7 +1158,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"width": 750.0000000000001,
"height": 0
},
"_anchorPoint": {
......@@ -1182,7 +1182,7 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0.09,
"_top": 0.1,
"_bottom": 812,
"_horizontalCenter": 0,
"_verticalCenter": -0.2,
......@@ -1393,7 +1393,7 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 13,
"x": 12.999999999999943,
"y": -108,
"z": 0
},
......@@ -1569,7 +1569,7 @@
"y": -180,
"z": -19.35996391123362
},
"_id": "26tsSxhAJJG5V/Mix0doJc"
"_id": "d6Pu4bIm5Fg6B+4SV5sSez"
},
{
"__type__": "cc.UITransform",
......@@ -1591,7 +1591,7 @@
"x": 0,
"y": 1
},
"_id": "caYXxCXYRF7pD2zGa+nc7C"
"_id": "11+NwKpsVKuJF+KW7TpK5x"
},
{
"__type__": "cc.Sprite",
......@@ -1627,7 +1627,7 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "0e7VD8aNtDGYmHPnq9aM1G"
"_id": "d2AB41YxROQqeppR3xq9AV"
},
{
"__type__": "cc.Node",
......@@ -1675,7 +1675,7 @@
"y": 180,
"z": 0
},
"_id": "45QwcTro9Ky4/CsxQvJqgX"
"_id": "38iOOYNwVItZknHLq+Bt/e"
},
{
"__type__": "cc.UITransform",
......@@ -1697,7 +1697,7 @@
"x": 0,
"y": 1
},
"_id": "b889rrowxNTasOVlCl2IwT"
"_id": "aduorvarNDZLU5QOWfVR6b"
},
{
"__type__": "cc.Sprite",
......@@ -1733,7 +1733,7 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "35FB0TzztFip7LdatH4SkU"
"_id": "88VSR5PrFBz5KkWJQOg9QA"
},
{
"__type__": "cc.Node",
......@@ -1781,7 +1781,7 @@
"y": 180,
"z": 0
},
"_id": "e2NaW0wa9AppPMbRkRYyLW"
"_id": "d6Z50Zm1ZASKaiFMX6eNuC"
},
{
"__type__": "cc.UITransform",
......@@ -1803,7 +1803,7 @@
"x": 0,
"y": 1
},
"_id": "42Pms7v7pJL5FN04NDe9YU"
"_id": "75dcuvTK5KAaD1hW9TVSth"
},
{
"__type__": "cc.Sprite",
......@@ -1839,7 +1839,7 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "55YbQvrqtAz4toKXktEeqQ"
"_id": "3am3e4aMxEBoZukcfa18vZ"
},
{
"__type__": "cc.UITransform",
......@@ -2105,7 +2105,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"width": 750.0000000000001,
"height": 0
},
"_anchorPoint": {
......@@ -2157,7 +2157,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"width": 750.0000000000001,
"height": 1624
},
"_anchorPoint": {
......
assets/resources/HomeScene/png/rank.png

14.5 KB | W: | H:

assets/resources/HomeScene/png/rank.png

9.94 KB | W: | H:

assets/resources/HomeScene/png/rank.png
assets/resources/HomeScene/png/rank.png
assets/resources/HomeScene/png/rank.png
assets/resources/HomeScene/png/rank.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -46,10 +46,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 173,
"height": 63,
"rawWidth": 173,
"rawHeight": 63,
"width": 138,
"height": 49,
"rawWidth": 138,
"rawHeight": 49,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -61,17 +61,17 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-86.5,
-31.5,
-69,
-24.5,
0,
86.5,
-31.5,
69,
-24.5,
0,
-86.5,
31.5,
-69,
24.5,
0,
86.5,
31.5,
69,
24.5,
0
],
"indexes": [
......@@ -84,12 +84,12 @@
],
"uv": [
0,
63,
173,
63,
49,
138,
49,
0,
0,
173,
138,
0
],
"nuv": [
......@@ -103,13 +103,13 @@
1
],
"minPos": [
-86.5,
-31.5,
-69,
-24.5,
0
],
"maxPos": [
86.5,
31.5,
69,
24.5,
0
]
},
......
......@@ -46,10 +46,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 221,
"height": 63,
"rawWidth": 221,
"rawHeight": 63,
"width": 172,
"height": 48,
"rawWidth": 172,
"rawHeight": 48,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -61,17 +61,17 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-110.5,
-31.5,
-86,
-24,
0,
110.5,
-31.5,
86,
-24,
0,
-110.5,
31.5,
-86,
24,
0,
110.5,
31.5,
86,
24,
0
],
"indexes": [
......@@ -84,12 +84,12 @@
],
"uv": [
0,
63,
221,
63,
48,
172,
48,
0,
0,
221,
172,
0
],
"nuv": [
......@@ -103,13 +103,13 @@
1
],
"minPos": [
-110.5,
-31.5,
-86,
-24,
0
],
"maxPos": [
110.5,
31.5,
86,
24,
0
]
},
......
......@@ -46,10 +46,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 57,
"height": 57,
"rawWidth": 57,
"rawHeight": 57,
"width": 48,
"height": 48,
"rawWidth": 48,
"rawHeight": 48,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -61,17 +61,17 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-28.5,
-28.5,
-24,
-24,
0,
28.5,
-28.5,
24,
-24,
0,
-28.5,
28.5,
-24,
24,
0,
28.5,
28.5,
24,
24,
0
],
"indexes": [
......@@ -84,12 +84,12 @@
],
"uv": [
0,
57,
57,
57,
48,
48,
48,
0,
0,
57,
48,
0
],
"nuv": [
......@@ -103,13 +103,13 @@
1
],
"minPos": [
-28.5,
-28.5,
-24,
-24,
0
],
"maxPos": [
28.5,
28.5,
24,
24,
0
]
},
......
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "0b3040bb-f48a-45f2-80e7-ca0714dff2c7",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}
......@@ -33,12 +33,12 @@
<!--<link rel="apple-touch-icon" href=".png" />-->
<!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726057349058/src/assets/plugin/zepto.min.js"></script>
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726057349058/src/assets/plugin/declare-process.js"></script>
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726057349058/src/assets/plugin/SVGA.Lite.v2.1.1.js"></script>
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726128905034/src/assets/plugin/zepto.min.js"></script>
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726128905034/src/assets/plugin/declare-process.js"></script>
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726128905034/src/assets/plugin/SVGA.Lite.v2.1.1.js"></script>
<link rel="stylesheet" type="text/css" href="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726057349058/style.css" />
<link rel="stylesheet" type="text/css" href="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726057349058/custom.css" />
<link rel="stylesheet" type="text/css" href="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726128905034/style.css" />
<link rel="stylesheet" type="text/css" href="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726128905034/custom.css" />
<script type="text/javascript" src="https://appx/web-view.min.js"></script>
......@@ -51,16 +51,16 @@
</div>
<!-- Polyfills bundle. -->
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726057349058/src/polyfills.bundle.js" charset="utf-8"></script>
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726128905034/src/polyfills.bundle.js" charset="utf-8"></script>
<!-- SystemJS support. -->
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726057349058/src/system.bundle.js" charset="utf-8"></script>
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726128905034/src/system.bundle.js" charset="utf-8"></script>
<!-- Import map -->
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726057349058/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>
<script src="//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726128905034/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>
<script>
System.import('//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726057349058/index.js').catch(function (err) {
System.import('//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1726128905034/index.js').catch(function (err) {
console.error(err);
})
</script>
......
......@@ -83,7 +83,7 @@
"_value": false
},
"audio": {
"_value": false
"_value": true
},
"video": {
"_value": false
......@@ -136,6 +136,7 @@
"2d",
"3d",
"animation",
"audio",
"base",
"debug-renderer",
"geometry-renderer",
......
......@@ -31,8 +31,10 @@
"3": 20,
"4": 8
},
"maxSubSteps": 2,
"defaultMaterial": "ba21476f-2866-4f81-9c4d-6e359316e448"
"maxSubSteps": 1,
"defaultMaterial": "ba21476f-2866-4f81-9c4d-6e359316e448",
"fixedTimeStep": 0.016666666666666666,
"autoSimulation": true
},
"layer": [],
"version": "2.4.10",
......
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