首页 布局代码
This commit is contained in:
parent
350917fb12
commit
8d01e6cecd
|
|
@ -0,0 +1,19 @@
|
||||||
|
import { _decorator, Component, Node } from 'cc';
|
||||||
|
import { ScriptMyAnimation } from './ScriptMyAnimation';
|
||||||
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
|
@ccclass('AnimationNode')
|
||||||
|
export class AnimationNode extends Node{
|
||||||
|
|
||||||
|
constructor(AnimationPath: string) {
|
||||||
|
super();
|
||||||
|
|
||||||
|
let aniNode = new Node();
|
||||||
|
aniNode.addComponent( ScriptMyAnimation).AnimationPath = AnimationPath;
|
||||||
|
|
||||||
|
this.addChild(aniNode);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"ver": "4.0.23",
|
||||||
|
"importer": "typescript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "158c563d-2556-4c10-a9e1-f0d9b62db198",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
|
|
@ -110,14 +110,15 @@ export class BaseButton extends Component {
|
||||||
this.ButtonState = 1;
|
this.ButtonState = 1;
|
||||||
// this.UploadSpriteFrame(this.HoverImgSpriteFrame);
|
// this.UploadSpriteFrame(this.HoverImgSpriteFrame);
|
||||||
}
|
}
|
||||||
OnEnd(event: EventTouch) {
|
OnEnd(event: EventMouse) {
|
||||||
|
if (event.getButton() != EventMouse.BUTTON_LEFT) return;
|
||||||
this.ButtonState = 0;
|
this.ButtonState = 0;
|
||||||
// this.UploadSpriteFrame(this.NormalImgSpriteFrame);
|
// this.UploadSpriteFrame(this.NormalImgSpriteFrame);
|
||||||
}
|
}
|
||||||
|
|
||||||
OnPress(event: EventMouse) {
|
OnPress(event: EventMouse) {
|
||||||
//必须是鼠标左键
|
//必须是鼠标左键
|
||||||
if (event.getButton() != 0) return;
|
if (event.getButton() != EventMouse.BUTTON_LEFT) return;
|
||||||
|
|
||||||
|
|
||||||
this.ButtonState = 2;
|
this.ButtonState = 2;
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,17 @@ export class BaseSprite extends Component {
|
||||||
SpriteObj: Sprite;
|
SpriteObj: Sprite;
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
if (this.ImgPath.length > 0 ){
|
||||||
|
this.updateSpriteFrame(this.ImgPath,this.ImgIndex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
updateSpriteFrame(imgPath: string, imgIndex: number){
|
||||||
|
|
||||||
|
this.ImgIndex = imgIndex;
|
||||||
|
this.ImgPath = imgPath;
|
||||||
|
|
||||||
//判断是否有精灵 如果没有 就给他搞一个
|
//判断是否有精灵 如果没有 就给他搞一个
|
||||||
if (this.node.getComponent(Sprite))
|
if (this.node.getComponent(Sprite))
|
||||||
this.SpriteObj = this.node.getComponent(Sprite);
|
this.SpriteObj = this.node.getComponent(Sprite);
|
||||||
|
|
@ -29,7 +40,7 @@ export class BaseSprite extends Component {
|
||||||
//设置
|
//设置
|
||||||
this.SpriteObj.trim = false;
|
this.SpriteObj.trim = false;
|
||||||
|
|
||||||
new BaseSpriteFrame(this.ImgPath.toLocaleLowerCase(), this.ImgIndex, (_SpriteFrame) => {
|
new BaseSpriteFrame(imgPath.toLocaleLowerCase(), imgIndex, (_SpriteFrame) => {
|
||||||
this.SpriteObj.spriteFrame = _SpriteFrame;
|
this.SpriteObj.spriteFrame = _SpriteFrame;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,107 @@
|
||||||
|
// import { _decorator, CCInteger, CCString, Component, Node, Sprite, SpriteFrame, UITransform, v2 } from 'cc';
|
||||||
|
// import { BaseSpriteFrame } from '../GlobalScript/CommonComponent/BaseSpriteFrame';
|
||||||
|
// const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
|
// @ccclass('Gamer')
|
||||||
|
// export class Gamer extends Component {
|
||||||
|
// @property({ type: CCString, displayName: 'img路径', tooltip: "img路径" })
|
||||||
|
// ImgPath: string;
|
||||||
|
|
||||||
|
// @property({ type: [CCInteger], displayName: '普通img编号', tooltip: "普通img编号" })
|
||||||
|
// NormalImgIndex: number;
|
||||||
|
|
||||||
|
// @property({ type: [CCInteger], displayName: '悬停img编号', tooltip: "悬停img编号" })
|
||||||
|
// HoverImgIndex: number;
|
||||||
|
|
||||||
|
// @property({ type: [CCInteger], displayName: '按下img编号', tooltip: "按下img编号" })
|
||||||
|
// PressImgIndex: number;
|
||||||
|
|
||||||
|
// @property({ type: [CCInteger], displayName: '失效img编号', tooltip: "失效img编号" })
|
||||||
|
// DisableImgIndex: number;
|
||||||
|
|
||||||
|
// //普通精灵帧
|
||||||
|
// NormalImgSpriteFrame: SpriteFrame;
|
||||||
|
|
||||||
|
// //悬停精灵帧
|
||||||
|
// HoverImgSpriteFrame: SpriteFrame;
|
||||||
|
|
||||||
|
// //按下精灵帧
|
||||||
|
// PressImgSpriteFrame: SpriteFrame;
|
||||||
|
|
||||||
|
// //失效精灵帧
|
||||||
|
// DisableImgSpriteFrame: SpriteFrame;
|
||||||
|
|
||||||
|
// //精灵对象
|
||||||
|
// SpriteObj: Sprite;
|
||||||
|
|
||||||
|
// //初始化状态
|
||||||
|
// InitState = false;
|
||||||
|
|
||||||
|
// //按钮状态
|
||||||
|
// ButtonState = 0; // 0 普通 1悬停 2按下 8失效
|
||||||
|
|
||||||
|
// start() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// //判断是否有精灵 如果没有 就给他搞一个
|
||||||
|
// if (this.node.getComponent(Sprite))
|
||||||
|
// this.SpriteObj = this.node.getComponent(Sprite);
|
||||||
|
// else
|
||||||
|
// this.SpriteObj = this.node.addComponent(Sprite);
|
||||||
|
|
||||||
|
// //设置节点锚点为左上角
|
||||||
|
// this.node.getComponent(UITransform).anchorPoint = v2(0, 1);
|
||||||
|
// //设置类型
|
||||||
|
// this.SpriteObj.sizeMode = Sprite.SizeMode.RAW;
|
||||||
|
// //设置
|
||||||
|
// this.SpriteObj.trim = false;
|
||||||
|
|
||||||
|
// new BaseSpriteFrame(this.ImgPath, this.NormalImgIndex, _SpriteFrame => { this.NormalImgSpriteFrame = _SpriteFrame });
|
||||||
|
// new BaseSpriteFrame(this.ImgPath, this.HoverImgIndex, _SpriteFrame => { this.HoverImgSpriteFrame = _SpriteFrame });
|
||||||
|
// new BaseSpriteFrame(this.ImgPath, this.PressImgIndex, _SpriteFrame => { this.PressImgSpriteFrame = _SpriteFrame });
|
||||||
|
// new BaseSpriteFrame(this.ImgPath, this.DisableImgIndex, _SpriteFrame => { this.DisableImgSpriteFrame = _SpriteFrame });
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
// UploadSpriteFrame(_SpriteFrame) {
|
||||||
|
// if (this.SpriteObj.spriteFrame != _SpriteFrame) {
|
||||||
|
// this.SpriteObj.spriteFrame = _SpriteFrame;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// update(deltaTime: number) {
|
||||||
|
// if (!this.InitState) {
|
||||||
|
// if (this.NormalImgSpriteFrame && this.HoverImgSpriteFrame && this.PressImgSpriteFrame) {
|
||||||
|
// this.InitState = true;
|
||||||
|
// this.UploadSpriteFrame(this.NormalImgSpriteFrame);
|
||||||
|
|
||||||
|
// // this.node.on(Input.EventType.TOUCH_START, this.OnPress, this);
|
||||||
|
// // this.node.on(Input.EventType.TOUCH_END, this.OnEnd, this);
|
||||||
|
// this.node.on(Node.EventType.MOUSE_ENTER, this.OnHever, this);
|
||||||
|
// this.node.on(Node.EventType.MOUSE_LEAVE, this.OffHever, this);
|
||||||
|
// this.node.on(Node.EventType.MOUSE_DOWN, this.OnPress, this);
|
||||||
|
// this.node.on(Node.EventType.MOUSE_UP, this.OnEnd, this);
|
||||||
|
// }
|
||||||
|
// } else {
|
||||||
|
// switch (this.ButtonState) {
|
||||||
|
// case 0:
|
||||||
|
// this.UploadSpriteFrame(this.NormalImgSpriteFrame);
|
||||||
|
// break;
|
||||||
|
// case 1:
|
||||||
|
// this.UploadSpriteFrame(this.HoverImgSpriteFrame);
|
||||||
|
// break;
|
||||||
|
// case 2:
|
||||||
|
// this.UploadSpriteFrame(this.PressImgSpriteFrame);
|
||||||
|
// break;
|
||||||
|
// case 8:
|
||||||
|
// this.UploadSpriteFrame(this.DisableImgSpriteFrame);
|
||||||
|
// break;
|
||||||
|
// default:
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"ver": "4.0.23",
|
||||||
|
"importer": "typescript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "790760a1-d532-45f7-89e4-d81781d5466b",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
import { _decorator, Button, Component, EventTouch, instantiate, Node, Prefab } from 'cc';
|
|
||||||
const { ccclass, property } = _decorator;
|
|
||||||
|
|
||||||
@ccclass('StartGameRoot')
|
|
||||||
export class StartGameRoot extends Component {
|
|
||||||
|
|
||||||
/// 玩法介绍按钮
|
|
||||||
@property(Node) PressenButton: Node;
|
|
||||||
|
|
||||||
/// 玩法介绍UI预制件
|
|
||||||
@property(Prefab) pressenPrefab: Prefab;
|
|
||||||
|
|
||||||
//// 开始游戏按钮
|
|
||||||
@property(Node) StartButton: Node;
|
|
||||||
|
|
||||||
/// UI层预制件
|
|
||||||
@property(Prefab) UIPrefab: Prefab;
|
|
||||||
|
|
||||||
start() {
|
|
||||||
this.PressenButton.on(Node.EventType.TOUCH_END,this.pressenOnTouchEnd,this);
|
|
||||||
this.StartButton.on(Node.EventType.TOUCH_END,this.startOnTouchEnd,this);
|
|
||||||
}
|
|
||||||
|
|
||||||
pressenOnTouchEnd(event:Event){
|
|
||||||
const pressent = instantiate(this.pressenPrefab);
|
|
||||||
this.node.addChild(pressent);
|
|
||||||
pressent.setPosition(0,0);
|
|
||||||
}
|
|
||||||
|
|
||||||
startOnTouchEnd(event:Event){
|
|
||||||
this.node.destroy();
|
|
||||||
const ui = instantiate(this.UIPrefab);
|
|
||||||
this.node.parent.addChild(ui);
|
|
||||||
}
|
|
||||||
|
|
||||||
update(deltaTime: number) {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,175 @@
|
||||||
|
import { _decorator, BlockInputEvents, Button, Color, EventMouse, Label, Node, sp, Sprite, UITransform, v2 } from 'cc';
|
||||||
|
import { BaseSprite } from '../GlobalScript/CommonComponent/BaseSprite';
|
||||||
|
import { NpkImage } from '../Tool/NPKImage';
|
||||||
|
import { BaseButton } from '../GlobalScript/CommonComponent/BaseButton';
|
||||||
|
import { AnimationNode } from '../GlobalScript/Animation/AnimationNode';
|
||||||
|
const { ccclass } = _decorator;
|
||||||
|
|
||||||
|
/// 开始游戏按钮界面
|
||||||
|
@ccclass('StartGameUINode')
|
||||||
|
export class StartGameUINode extends Node {
|
||||||
|
|
||||||
|
/// 玩法介绍
|
||||||
|
private _pressenNode: Node;
|
||||||
|
|
||||||
|
set pressenNode(node: Node){
|
||||||
|
if (this._pressenNode){
|
||||||
|
this._pressenNode.destroy();
|
||||||
|
this._pressenNode = null;
|
||||||
|
}
|
||||||
|
this._pressenNode = node;
|
||||||
|
}
|
||||||
|
get pressenNode(): Node{
|
||||||
|
return this._pressenNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
constructor(){
|
||||||
|
super();
|
||||||
|
|
||||||
|
this.addComponent(UITransform).setContentSize(1067,600);
|
||||||
|
|
||||||
|
this.init();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 初始化子节点
|
||||||
|
init(){
|
||||||
|
|
||||||
|
this.initBackground();
|
||||||
|
this.initTitle();
|
||||||
|
this.initStartButton();
|
||||||
|
this.initLabel();
|
||||||
|
this.initPressenButton();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 背景
|
||||||
|
initBackground(){
|
||||||
|
/// 背景节点
|
||||||
|
const backgroundNode = new Node('StartBackgroundNode');
|
||||||
|
this.addChild(backgroundNode);
|
||||||
|
|
||||||
|
/// 给背景节点添加 baseSprite 组件
|
||||||
|
const backgroundComponent = backgroundNode.addComponent( BaseSprite );
|
||||||
|
backgroundComponent.updateSpriteFrame(NpkImage.main,24);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 标题动画
|
||||||
|
initTitle(){
|
||||||
|
let titleNode = new AnimationNode('ani/title_loop.ani');
|
||||||
|
titleNode.setPosition(544.5,-305);
|
||||||
|
this.addChild(titleNode);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 开始游戏
|
||||||
|
initStartButton(){
|
||||||
|
/// 按钮节点
|
||||||
|
const startButtonNode = new Node('StartButton');
|
||||||
|
startButtonNode.setPosition(441.5,-450);
|
||||||
|
|
||||||
|
/// 给节点添加 button 组件
|
||||||
|
const buttonComponent = startButtonNode.addComponent( BaseButton );
|
||||||
|
buttonComponent.ImgPath = NpkImage.main;
|
||||||
|
buttonComponent.NormalImgIndex = 1;
|
||||||
|
buttonComponent.HoverImgIndex = 2;
|
||||||
|
buttonComponent.PressImgIndex = 3;
|
||||||
|
buttonComponent.DisableImgIndex = 4;
|
||||||
|
|
||||||
|
startButtonNode.addComponent( Button)
|
||||||
|
startButtonNode.on(Button.EventType.CLICK,this.startOnTouchEnd,this);
|
||||||
|
|
||||||
|
this.addChild(startButtonNode);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 入场次数
|
||||||
|
initLabel(){
|
||||||
|
const labelNode = new Node('Label');
|
||||||
|
labelNode.setPosition(550,-421);
|
||||||
|
|
||||||
|
const labelComponent = labelNode.addComponent( Label );
|
||||||
|
labelComponent.string = '∞';
|
||||||
|
labelComponent.color = new Color('24a5cd');
|
||||||
|
labelComponent.fontSize = 18;
|
||||||
|
|
||||||
|
this.addChild(labelNode);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 玩法介绍按钮
|
||||||
|
initPressenButton(){
|
||||||
|
/// 按钮节点
|
||||||
|
const pressenButtonNode = new Node('PressenButton');
|
||||||
|
pressenButtonNode.setPosition(1020,-10);
|
||||||
|
|
||||||
|
/// 给节点添加 button 组件
|
||||||
|
const buttonComponent = pressenButtonNode.addComponent( BaseButton );
|
||||||
|
buttonComponent.ImgPath = NpkImage.main;
|
||||||
|
buttonComponent.NormalImgIndex = 9;
|
||||||
|
buttonComponent.HoverImgIndex = 10;
|
||||||
|
buttonComponent.PressImgIndex = 11;
|
||||||
|
buttonComponent.DisableImgIndex = 12;
|
||||||
|
|
||||||
|
pressenButtonNode.on(Node.EventType.MOUSE_UP,this.pressenOnTouchEnd,this);
|
||||||
|
|
||||||
|
this.addChild(pressenButtonNode);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 玩法介绍
|
||||||
|
initPressen(){
|
||||||
|
/// 节点
|
||||||
|
this.pressenNode = new Node('Pressen');
|
||||||
|
this.pressenNode.setPosition(0,0);
|
||||||
|
this.pressenNode.addComponent( UITransform).setContentSize(1067,600);
|
||||||
|
this.pressenNode.getComponent(UITransform).anchorPoint = v2(0, 1);
|
||||||
|
|
||||||
|
/// 拦截下层的点击事件
|
||||||
|
this.pressenNode.addComponent( BlockInputEvents );
|
||||||
|
|
||||||
|
/// 给节点添加 img 节点
|
||||||
|
const imgNode = new Node('PressenImage');
|
||||||
|
imgNode.setPosition(134,-21.5);
|
||||||
|
const imgComponent = imgNode.addComponent( BaseSprite );
|
||||||
|
imgComponent.updateSpriteFrame(NpkImage.main,25);
|
||||||
|
this.pressenNode.addChild(imgNode);
|
||||||
|
|
||||||
|
/// 关闭按钮
|
||||||
|
const closeButtonNode = new Node('closeButton');
|
||||||
|
closeButtonNode.setPosition(767,-10);
|
||||||
|
imgNode.addChild(closeButtonNode);
|
||||||
|
|
||||||
|
/// 给节点添加 button 组件
|
||||||
|
const buttonComponent = closeButtonNode.addComponent( BaseButton );
|
||||||
|
buttonComponent.ImgPath = NpkImage.ingame;
|
||||||
|
buttonComponent.NormalImgIndex = 39;
|
||||||
|
buttonComponent.HoverImgIndex = 40;
|
||||||
|
buttonComponent.PressImgIndex = 41;
|
||||||
|
buttonComponent.DisableImgIndex = 42;
|
||||||
|
|
||||||
|
closeButtonNode.on(Node.EventType.MOUSE_UP,this.closeOnTouchEnd,this);
|
||||||
|
|
||||||
|
this.addChild(this.pressenNode);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 打开玩法介绍
|
||||||
|
pressenOnTouchEnd(event:EventMouse){
|
||||||
|
console.log('BUTTON');
|
||||||
|
if ( event.getButton() === EventMouse.BUTTON_LEFT ){
|
||||||
|
this.initPressen();
|
||||||
|
console.log('BUTTON_LEFT');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 关闭玩法介绍
|
||||||
|
closeOnTouchEnd(event:EventMouse){
|
||||||
|
if ( event.getButton() === EventMouse.BUTTON_LEFT ){
|
||||||
|
this.pressenNode.destroy()
|
||||||
|
this.pressenNode = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// 开始游戏
|
||||||
|
startOnTouchEnd(event:Event){
|
||||||
|
|
||||||
|
console.log('开始游戏');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,15 +1,28 @@
|
||||||
import { _decorator, assetManager, Component, instantiate, Node, Prefab } from 'cc';
|
import { _decorator, assetManager, Component, instantiate, Node, Prefab, UITransform } from 'cc';
|
||||||
|
import { StartGameUINode } from './StartGameUINode';
|
||||||
const { ccclass, property } = _decorator;
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
@ccclass('UIRoot')
|
@ccclass('UIRoot')
|
||||||
export class UIRoot extends Component {
|
export class UIRoot extends Component {
|
||||||
|
|
||||||
@property({ type: Prefab, displayName: 'Ani帧数', tooltip: "Ani总共有多少帧" })
|
init(){
|
||||||
startGameRootPrefab:Prefab;
|
const startGameUINode = new StartGameUINode();
|
||||||
|
startGameUINode.addComponent( UITransform).setContentSize(1067,600);
|
||||||
|
|
||||||
|
|
||||||
|
this.node.addChild(startGameUINode);
|
||||||
|
|
||||||
|
console.log(this.node.parent.children);
|
||||||
|
|
||||||
|
console.log('StartUINode');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
|
||||||
this.node.addChild(instantiate(this.startGameRootPrefab));
|
this.node.addComponent( UITransform ).setContentSize(1067,600);
|
||||||
|
|
||||||
|
this.init();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"ver": "1.2.0",
|
"ver": "1.2.0",
|
||||||
"importer": "directory",
|
"importer": "directory",
|
||||||
"imported": true,
|
"imported": true,
|
||||||
"uuid": "eaa1d08a-5e6f-4341-9f6a-8e27ed47b322",
|
"uuid": "fe05b587-0b4f-4bf1-8d26-ebe451aa4c3c",
|
||||||
"files": [],
|
"files": [],
|
||||||
"subMetas": {},
|
"subMetas": {},
|
||||||
"userData": {}
|
"userData": {}
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
const path = 'interface2/event/chn_event_2020/200922_dnf_marble/'
|
||||||
|
|
||||||
|
export enum NpkImage {
|
||||||
|
main = path + '00_main.img',
|
||||||
|
ingame = path + '01_ingame.img',
|
||||||
|
board = path + '02_board.img',
|
||||||
|
gauge = path + '03_gauge.img',
|
||||||
|
character_sd = path + '04_character_sd.img',
|
||||||
|
monsternotice = path + '05_monsternotice.img',
|
||||||
|
specialplace = path + '06_specialplace.img',
|
||||||
|
conditionsofvictory = path + '07_conditionsofvictory.img',
|
||||||
|
calendar = path + '08_calendar.img',
|
||||||
|
bankruptcy = path + 'bankruptcy.img',
|
||||||
|
character_loop = path + 'character_loop.img',
|
||||||
|
count_font = path + 'count_font.img',
|
||||||
|
dice_1x1_db = path + 'dice_1x1_db.img',
|
||||||
|
dice_1x2 = path + 'dice_1x2.img',
|
||||||
|
dice_1x3 = path + 'dice_1x3.img',
|
||||||
|
dice_2x2_db = path + 'dice_2x2_db.img',
|
||||||
|
dice_2x3 = path + 'dice_2x3.img',
|
||||||
|
dice_2x4 = path + 'dice_2x4.img',
|
||||||
|
dice_3x3_db = path + 'dice_3x3_db.img',
|
||||||
|
dice_3x4 = path + 'dice_3x4.img',
|
||||||
|
dice_3x5 = path + 'dice_3x5.img',
|
||||||
|
dice_4x4_db = path + 'dice_4x4_db.img',
|
||||||
|
dice_4x5 = path + 'dice_4x5.img',
|
||||||
|
dice_4x6 = path + 'dice_4x6.img',
|
||||||
|
dice_5x5 = path + 'dice_5x5.img',
|
||||||
|
dice_5x6 = path + 'dice_5x6.img',
|
||||||
|
dice_6x6_db = path + 'dice_6x6_db.img',
|
||||||
|
dice_font = path + 'dice_font.img',
|
||||||
|
dungeonbg = path + 'dungeonbg.img',
|
||||||
|
fire_loop = path + 'fire_loop.img',
|
||||||
|
light01 = path + 'light01.img',
|
||||||
|
light02 = path + 'light02.img',
|
||||||
|
loading_loop = path + 'loading_loop.img',
|
||||||
|
luckycoin = path + 'luckycoin.img',
|
||||||
|
luckycoin_bg = path + 'luckycoin_bg.img',
|
||||||
|
point_loop = path + 'point_loop.img',
|
||||||
|
table_back = path + 'table_back.img',
|
||||||
|
table_dodge = path + 'table_dodge.img',
|
||||||
|
table_front = path + 'table_front.img',
|
||||||
|
title_loop = path + 'title_loop.img',
|
||||||
|
win = path + 'win.img',
|
||||||
|
};
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"ver": "4.0.23",
|
||||||
|
"importer": "typescript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "542d1221-5bd2-417d-a053-dc43836e74da",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
|
|
@ -1,259 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"__type__": "cc.Prefab",
|
|
||||||
"_name": "Gamer",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_native": "",
|
|
||||||
"data": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"optimizationPolicy": 0,
|
|
||||||
"persistent": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Gamer",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_parent": null,
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 2
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 8
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 10
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 12
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"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": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Role",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_children": [],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 5
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"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": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.UITransform",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 4
|
|
||||||
},
|
|
||||||
"_contentSize": {
|
|
||||||
"__type__": "cc.Size",
|
|
||||||
"width": 100,
|
|
||||||
"height": 100
|
|
||||||
},
|
|
||||||
"_anchorPoint": {
|
|
||||||
"__type__": "cc.Vec2",
|
|
||||||
"x": 0.5,
|
|
||||||
"y": 0.5
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "6206qxk1NFE5QmAvH3zvq1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "65epnVCaxNSIGMknmNdcpA",
|
|
||||||
"instance": null,
|
|
||||||
"targetOverrides": null,
|
|
||||||
"nestedPrefabInstanceRoots": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.UITransform",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 7
|
|
||||||
},
|
|
||||||
"_contentSize": {
|
|
||||||
"__type__": "cc.Size",
|
|
||||||
"width": 40,
|
|
||||||
"height": 36
|
|
||||||
},
|
|
||||||
"_anchorPoint": {
|
|
||||||
"__type__": "cc.Vec2",
|
|
||||||
"x": 0.5,
|
|
||||||
"y": 0.5
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "c6XJpShO1IiISvt/47nt+K"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Sprite",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 9
|
|
||||||
},
|
|
||||||
"_customMaterial": null,
|
|
||||||
"_srcBlendFactor": 2,
|
|
||||||
"_dstBlendFactor": 4,
|
|
||||||
"_color": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_spriteFrame": null,
|
|
||||||
"_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": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "f1HLPxYllBtLhId3RcwwDZ"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "a80463xbJJM5qU8FUhHK84e",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 11
|
|
||||||
},
|
|
||||||
"ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/01_ingame.img",
|
|
||||||
"ImgIndex": 32,
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "5fuqRs6VlLV6IWVYCnfh42"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "4dIR0b3MJAHIpU7ERJwTWq",
|
|
||||||
"instance": null,
|
|
||||||
"targetOverrides": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.50",
|
|
||||||
"importer": "prefab",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "7fb32db3-b3d6-44f1-abaa-f6063c24e07f",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"syncNodeName": "Gamer"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,540 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"__type__": "cc.Prefab",
|
|
||||||
"_name": "Present",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_native": "",
|
|
||||||
"data": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"optimizationPolicy": 0,
|
|
||||||
"persistent": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Present",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_parent": null,
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 10
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 18
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 20
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 22
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 24
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 26
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 28
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"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": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Sprite",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_children": [],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 7
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 9
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"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": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.UITransform",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 4
|
|
||||||
},
|
|
||||||
"_contentSize": {
|
|
||||||
"__type__": "cc.Size",
|
|
||||||
"width": 40,
|
|
||||||
"height": 36
|
|
||||||
},
|
|
||||||
"_anchorPoint": {
|
|
||||||
"__type__": "cc.Vec2",
|
|
||||||
"x": 0.5,
|
|
||||||
"y": 0.5
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "5eWu0X+FVNgI5z0WVe7YQ6"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Sprite",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 6
|
|
||||||
},
|
|
||||||
"_customMaterial": null,
|
|
||||||
"_srcBlendFactor": 2,
|
|
||||||
"_dstBlendFactor": 4,
|
|
||||||
"_color": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_spriteFrame": null,
|
|
||||||
"_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": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "fc0twlF1lOR4HK7BeyC25p"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "a80463xbJJM5qU8FUhHK84e",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 8
|
|
||||||
},
|
|
||||||
"ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/00_main.img",
|
|
||||||
"ImgIndex": 25,
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "e8MHts9wpBCLjui8vsEugz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "6f3bSlwHhGTrCoRP/4nXYb",
|
|
||||||
"instance": null,
|
|
||||||
"targetOverrides": null,
|
|
||||||
"nestedPrefabInstanceRoots": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "CancelButton",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_children": [],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 11
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 13
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 15
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 17
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 368,
|
|
||||||
"y": 270,
|
|
||||||
"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": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.UITransform",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 10
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 12
|
|
||||||
},
|
|
||||||
"_contentSize": {
|
|
||||||
"__type__": "cc.Size",
|
|
||||||
"width": 40,
|
|
||||||
"height": 36
|
|
||||||
},
|
|
||||||
"_anchorPoint": {
|
|
||||||
"__type__": "cc.Vec2",
|
|
||||||
"x": 0.5,
|
|
||||||
"y": 0.5
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "9ct7fqJXZPW72loHtkPyZI"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Sprite",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 10
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 14
|
|
||||||
},
|
|
||||||
"_customMaterial": null,
|
|
||||||
"_srcBlendFactor": 2,
|
|
||||||
"_dstBlendFactor": 4,
|
|
||||||
"_color": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_spriteFrame": null,
|
|
||||||
"_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": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "50krRdvUxGV5JwIT29GeY2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "227e93p2mxEV5zjvG1ofJkL",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 10
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 16
|
|
||||||
},
|
|
||||||
"ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/01_ingame.img",
|
|
||||||
"NormalImgIndex": 39,
|
|
||||||
"HoverImgIndex": 40,
|
|
||||||
"PressImgIndex": 41,
|
|
||||||
"DisableImgIndex": 42,
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "616ESzd7tK6azbhkiSn+wZ"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "19a5NWpspNOq0ziWf+VKn3",
|
|
||||||
"instance": null,
|
|
||||||
"targetOverrides": null,
|
|
||||||
"nestedPrefabInstanceRoots": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.UITransform",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 19
|
|
||||||
},
|
|
||||||
"_contentSize": {
|
|
||||||
"__type__": "cc.Size",
|
|
||||||
"width": 1067,
|
|
||||||
"height": 600
|
|
||||||
},
|
|
||||||
"_anchorPoint": {
|
|
||||||
"__type__": "cc.Vec2",
|
|
||||||
"x": 0.5,
|
|
||||||
"y": 0.5
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "84kljvQdpCXpvHHsZcsIfi"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Mask",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 21
|
|
||||||
},
|
|
||||||
"_type": 0,
|
|
||||||
"_inverted": false,
|
|
||||||
"_segments": 64,
|
|
||||||
"_alphaThreshold": 0.1,
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "d18TIUsPZJNor4depBAoLj"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Graphics",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 23
|
|
||||||
},
|
|
||||||
"_customMaterial": null,
|
|
||||||
"_srcBlendFactor": 2,
|
|
||||||
"_dstBlendFactor": 4,
|
|
||||||
"_color": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_lineWidth": 1,
|
|
||||||
"_strokeColor": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 0,
|
|
||||||
"g": 0,
|
|
||||||
"b": 0,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_lineJoin": 2,
|
|
||||||
"_lineCap": 0,
|
|
||||||
"_fillColor": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 0
|
|
||||||
},
|
|
||||||
"_miterLimit": 10,
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "abKlZKzBBOOIS0f81wPKoZ"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.BlockInputEvents",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 25
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "8eYsyz39JAFoU0NowSG2Us"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "fa300wCdRFJV5rVpFd/PxUk",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 27
|
|
||||||
},
|
|
||||||
"cancel": {
|
|
||||||
"__id__": 10
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "cf7mnl4l9L/7pkHBxOV4kG"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "45U0bsLzxF75ClciJzcbfs",
|
|
||||||
"instance": null,
|
|
||||||
"targetOverrides": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.50",
|
|
||||||
"importer": "prefab",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "345ab5d0-8a20-42ec-a630-62a235d82b34",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"syncNodeName": "Present"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.50",
|
|
||||||
"importer": "prefab",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "500c80cc-b47e-4a2d-98c7-4f6ce6113811",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"syncNodeName": "StartGameRoot"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,220 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"__type__": "cc.Prefab",
|
|
||||||
"_name": "UI",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_native": "",
|
|
||||||
"data": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"optimizationPolicy": 0,
|
|
||||||
"persistent": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "UI",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_parent": null,
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 2
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 10
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 12
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"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": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 3
|
|
||||||
},
|
|
||||||
"__editorExtras__": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__uuid__": "7fb32db3-b3d6-44f1-abaa-f6063c24e07f",
|
|
||||||
"__expectedType__": "cc.Prefab"
|
|
||||||
},
|
|
||||||
"fileId": "4dIR0b3MJAHIpU7ERJwTWq",
|
|
||||||
"instance": {
|
|
||||||
"__id__": 4
|
|
||||||
},
|
|
||||||
"targetOverrides": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInstance",
|
|
||||||
"fileId": "d7vgkaVD5OmapjIefZvdyK",
|
|
||||||
"prefabRootNode": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"mountedChildren": [],
|
|
||||||
"mountedComponents": [],
|
|
||||||
"propertyOverrides": [
|
|
||||||
{
|
|
||||||
"__id__": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 7
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 8
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 9
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"removedComponents": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "CCPropertyOverrideInfo",
|
|
||||||
"targetInfo": {
|
|
||||||
"__id__": 6
|
|
||||||
},
|
|
||||||
"propertyPath": [
|
|
||||||
"_name"
|
|
||||||
],
|
|
||||||
"value": "Gamer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.TargetInfo",
|
|
||||||
"localID": [
|
|
||||||
"4dIR0b3MJAHIpU7ERJwTWq"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "CCPropertyOverrideInfo",
|
|
||||||
"targetInfo": {
|
|
||||||
"__id__": 6
|
|
||||||
},
|
|
||||||
"propertyPath": [
|
|
||||||
"_lpos"
|
|
||||||
],
|
|
||||||
"value": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 266.766,
|
|
||||||
"y": 240.999,
|
|
||||||
"z": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "CCPropertyOverrideInfo",
|
|
||||||
"targetInfo": {
|
|
||||||
"__id__": 6
|
|
||||||
},
|
|
||||||
"propertyPath": [
|
|
||||||
"_lrot"
|
|
||||||
],
|
|
||||||
"value": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0,
|
|
||||||
"w": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "CCPropertyOverrideInfo",
|
|
||||||
"targetInfo": {
|
|
||||||
"__id__": 6
|
|
||||||
},
|
|
||||||
"propertyPath": [
|
|
||||||
"_euler"
|
|
||||||
],
|
|
||||||
"value": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.UITransform",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 11
|
|
||||||
},
|
|
||||||
"_contentSize": {
|
|
||||||
"__type__": "cc.Size",
|
|
||||||
"width": 100,
|
|
||||||
"height": 100
|
|
||||||
},
|
|
||||||
"_anchorPoint": {
|
|
||||||
"__type__": "cc.Vec2",
|
|
||||||
"x": 0.5,
|
|
||||||
"y": 0.5
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "ebXzZerpNCrpui6J6cpIgs"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "54XqsHof9Fxrxjq1dsKg2i",
|
|
||||||
"instance": null,
|
|
||||||
"targetOverrides": null,
|
|
||||||
"nestedPrefabInstanceRoots": [
|
|
||||||
{
|
|
||||||
"__id__": 2
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.50",
|
|
||||||
"importer": "prefab",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "b5b15b0a-c30d-4b95-aee9-b2798a9ad12d",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"syncNodeName": "UI"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue