After Width: | Height: | Size: 1.9 KiB |
@ -0,0 +1,38 @@ |
||||
{ |
||||
"ver": "2.3.7", |
||||
"uuid": "5b5731ac-7aa0-4693-bf32-d42a808ba775", |
||||
"importer": "texture", |
||||
"type": "sprite", |
||||
"wrapMode": "clamp", |
||||
"filterMode": "bilinear", |
||||
"premultiplyAlpha": false, |
||||
"genMipmaps": false, |
||||
"packable": true, |
||||
"width": 49, |
||||
"height": 49, |
||||
"platformSettings": {}, |
||||
"subMetas": { |
||||
"当前任务(未完成)": { |
||||
"ver": "1.0.6", |
||||
"uuid": "1fc8bda6-d295-4ecd-b6f9-7ca567083981", |
||||
"importer": "sprite-frame", |
||||
"rawTextureUuid": "5b5731ac-7aa0-4693-bf32-d42a808ba775", |
||||
"trimType": "auto", |
||||
"trimThreshold": 1, |
||||
"rotated": false, |
||||
"offsetX": 0, |
||||
"offsetY": 0, |
||||
"trimX": 0, |
||||
"trimY": 0, |
||||
"width": 49, |
||||
"height": 49, |
||||
"rawWidth": 49, |
||||
"rawHeight": 49, |
||||
"borderTop": 0, |
||||
"borderBottom": 0, |
||||
"borderLeft": 0, |
||||
"borderRight": 0, |
||||
"subMetas": {} |
||||
} |
||||
} |
||||
} |
After Width: | Height: | Size: 3.7 KiB |
@ -0,0 +1,38 @@ |
||||
{ |
||||
"ver": "2.3.7", |
||||
"uuid": "270f582b-3648-4142-8d64-b40389d70d4f", |
||||
"importer": "texture", |
||||
"type": "sprite", |
||||
"wrapMode": "clamp", |
||||
"filterMode": "bilinear", |
||||
"premultiplyAlpha": false, |
||||
"genMipmaps": false, |
||||
"packable": true, |
||||
"width": 174, |
||||
"height": 74, |
||||
"platformSettings": {}, |
||||
"subMetas": { |
||||
"按钮购买": { |
||||
"ver": "1.0.6", |
||||
"uuid": "501465f6-8f07-460f-9116-c1fc8cf9c3ee", |
||||
"importer": "sprite-frame", |
||||
"rawTextureUuid": "270f582b-3648-4142-8d64-b40389d70d4f", |
||||
"trimType": "auto", |
||||
"trimThreshold": 1, |
||||
"rotated": false, |
||||
"offsetX": 0, |
||||
"offsetY": 0, |
||||
"trimX": 0, |
||||
"trimY": 0, |
||||
"width": 174, |
||||
"height": 74, |
||||
"rawWidth": 174, |
||||
"rawHeight": 74, |
||||
"borderTop": 0, |
||||
"borderBottom": 0, |
||||
"borderLeft": 0, |
||||
"borderRight": 0, |
||||
"subMetas": {} |
||||
} |
||||
} |
||||
} |
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 222 KiB |
@ -0,0 +1,13 @@ |
||||
{ |
||||
"ver": "1.1.3", |
||||
"uuid": "5d9fdd42-3370-47c3-b02a-26f7f823a7c7", |
||||
"importer": "folder", |
||||
"isBundle": false, |
||||
"bundleName": "", |
||||
"priority": 1, |
||||
"compressionType": {}, |
||||
"optimizeHotUpdate": {}, |
||||
"inlineSpriteFrames": {}, |
||||
"isRemoteBundle": {}, |
||||
"subMetas": {} |
||||
} |
@ -0,0 +1,13 @@ |
||||
{ |
||||
"ver": "1.1.3", |
||||
"uuid": "e0c9d2fb-0bc1-44dc-985c-50614fc52e49", |
||||
"importer": "folder", |
||||
"isBundle": false, |
||||
"bundleName": "", |
||||
"priority": 1, |
||||
"compressionType": {}, |
||||
"optimizeHotUpdate": {}, |
||||
"inlineSpriteFrames": {}, |
||||
"isRemoteBundle": {}, |
||||
"subMetas": {} |
||||
} |
@ -0,0 +1,9 @@ |
||||
{ |
||||
"ver": "1.3.2", |
||||
"uuid": "2546e336-2f40-4c81-81ed-e4b4a4381ce0", |
||||
"importer": "prefab", |
||||
"optimizationPolicy": "AUTO", |
||||
"asyncLoadAssets": false, |
||||
"readonly": false, |
||||
"subMetas": {} |
||||
} |
@ -0,0 +1,13 @@ |
||||
{ |
||||
"ver": "1.1.3", |
||||
"uuid": "8d747218-cdf3-42ea-8c44-43a189987d2e", |
||||
"importer": "folder", |
||||
"isBundle": false, |
||||
"bundleName": "", |
||||
"priority": 1, |
||||
"compressionType": {}, |
||||
"optimizeHotUpdate": {}, |
||||
"inlineSpriteFrames": {}, |
||||
"isRemoteBundle": {}, |
||||
"subMetas": {} |
||||
} |
After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,38 @@ |
||||
{ |
||||
"ver": "2.3.7", |
||||
"uuid": "91b3513f-b336-4edd-bb73-55dcaee8ac35", |
||||
"importer": "texture", |
||||
"type": "sprite", |
||||
"wrapMode": "clamp", |
||||
"filterMode": "bilinear", |
||||
"premultiplyAlpha": false, |
||||
"genMipmaps": false, |
||||
"packable": true, |
||||
"width": 84, |
||||
"height": 96, |
||||
"platformSettings": {}, |
||||
"subMetas": { |
||||
"×": { |
||||
"ver": "1.0.6", |
||||
"uuid": "cbc1b414-fd91-4f74-87f0-129e30c11176", |
||||
"importer": "sprite-frame", |
||||
"rawTextureUuid": "91b3513f-b336-4edd-bb73-55dcaee8ac35", |
||||
"trimType": "auto", |
||||
"trimThreshold": 1, |
||||
"rotated": false, |
||||
"offsetX": 0, |
||||
"offsetY": 0, |
||||
"trimX": 0, |
||||
"trimY": 0, |
||||
"width": 84, |
||||
"height": 96, |
||||
"rawWidth": 84, |
||||
"rawHeight": 96, |
||||
"borderTop": 0, |
||||
"borderBottom": 0, |
||||
"borderLeft": 0, |
||||
"borderRight": 0, |
||||
"subMetas": {} |
||||
} |
||||
} |
||||
} |
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,38 @@ |
||||
{ |
||||
"ver": "2.3.7", |
||||
"uuid": "9e0d9aea-8e98-4b27-845d-78b996e27a3f", |
||||
"importer": "texture", |
||||
"type": "sprite", |
||||
"wrapMode": "clamp", |
||||
"filterMode": "bilinear", |
||||
"premultiplyAlpha": false, |
||||
"genMipmaps": false, |
||||
"packable": true, |
||||
"width": 164, |
||||
"height": 126, |
||||
"platformSettings": {}, |
||||
"subMetas": { |
||||
"店铺图片(临时)": { |
||||
"ver": "1.0.6", |
||||
"uuid": "b6c5072d-7dc1-4397-81ef-bc7f295e257f", |
||||
"importer": "sprite-frame", |
||||
"rawTextureUuid": "9e0d9aea-8e98-4b27-845d-78b996e27a3f", |
||||
"trimType": "auto", |
||||
"trimThreshold": 1, |
||||
"rotated": false, |
||||
"offsetX": 0, |
||||
"offsetY": 0, |
||||
"trimX": 0, |
||||
"trimY": 0, |
||||
"width": 164, |
||||
"height": 126, |
||||
"rawWidth": 164, |
||||
"rawHeight": 126, |
||||
"borderTop": 0, |
||||
"borderBottom": 0, |
||||
"borderLeft": 0, |
||||
"borderRight": 0, |
||||
"subMetas": {} |
||||
} |
||||
} |
||||
} |
After Width: | Height: | Size: 19 KiB |
@ -0,0 +1,38 @@ |
||||
{ |
||||
"ver": "2.3.7", |
||||
"uuid": "6ecf6a46-d626-42ce-9da4-8f7b15d4031c", |
||||
"importer": "texture", |
||||
"type": "sprite", |
||||
"wrapMode": "clamp", |
||||
"filterMode": "bilinear", |
||||
"premultiplyAlpha": false, |
||||
"genMipmaps": false, |
||||
"packable": true, |
||||
"width": 472, |
||||
"height": 617, |
||||
"platformSettings": {}, |
||||
"subMetas": { |
||||
"弹窗建造产业": { |
||||
"ver": "1.0.6", |
||||
"uuid": "33866011-8a19-46dd-9195-1129cc10c586", |
||||
"importer": "sprite-frame", |
||||
"rawTextureUuid": "6ecf6a46-d626-42ce-9da4-8f7b15d4031c", |
||||
"trimType": "auto", |
||||
"trimThreshold": 1, |
||||
"rotated": false, |
||||
"offsetX": 0, |
||||
"offsetY": 0, |
||||
"trimX": 0, |
||||
"trimY": 0, |
||||
"width": 472, |
||||
"height": 617, |
||||
"rawWidth": 472, |
||||
"rawHeight": 617, |
||||
"borderTop": 0, |
||||
"borderBottom": 0, |
||||
"borderLeft": 0, |
||||
"borderRight": 0, |
||||
"subMetas": {} |
||||
} |
||||
} |
||||
} |
After Width: | Height: | Size: 3.2 KiB |
@ -0,0 +1,38 @@ |
||||
{ |
||||
"ver": "2.3.7", |
||||
"uuid": "2cd067d5-da18-4393-87de-6316636d586e", |
||||
"importer": "texture", |
||||
"type": "sprite", |
||||
"wrapMode": "clamp", |
||||
"filterMode": "bilinear", |
||||
"premultiplyAlpha": false, |
||||
"genMipmaps": false, |
||||
"packable": true, |
||||
"width": 157, |
||||
"height": 66, |
||||
"platformSettings": {}, |
||||
"subMetas": { |
||||
"按钮建造": { |
||||
"ver": "1.0.6", |
||||
"uuid": "32e6b115-e879-4e2f-b67a-063af43aaaba", |
||||
"importer": "sprite-frame", |
||||
"rawTextureUuid": "2cd067d5-da18-4393-87de-6316636d586e", |
||||
"trimType": "auto", |
||||
"trimThreshold": 1, |
||||
"rotated": false, |
||||
"offsetX": 0, |
||||
"offsetY": 0, |
||||
"trimX": 0, |
||||
"trimY": 0, |
||||
"width": 157, |
||||
"height": 66, |
||||
"rawWidth": 157, |
||||
"rawHeight": 66, |
||||
"borderTop": 0, |
||||
"borderBottom": 0, |
||||
"borderLeft": 0, |
||||
"borderRight": 0, |
||||
"subMetas": {} |
||||
} |
||||
} |
||||
} |
After Width: | Height: | Size: 2.8 KiB |
@ -0,0 +1,38 @@ |
||||
{ |
||||
"ver": "2.3.7", |
||||
"uuid": "27650c06-1abd-47d9-acee-9a6f3b6afe3c", |
||||
"importer": "texture", |
||||
"type": "sprite", |
||||
"wrapMode": "clamp", |
||||
"filterMode": "bilinear", |
||||
"premultiplyAlpha": false, |
||||
"genMipmaps": false, |
||||
"packable": true, |
||||
"width": 157, |
||||
"height": 66, |
||||
"platformSettings": {}, |
||||
"subMetas": { |
||||
"按钮建造置灰": { |
||||
"ver": "1.0.6", |
||||
"uuid": "95ad92f7-6c2b-491f-a8eb-a206a39094a9", |
||||
"importer": "sprite-frame", |
||||
"rawTextureUuid": "27650c06-1abd-47d9-acee-9a6f3b6afe3c", |
||||
"trimType": "auto", |
||||
"trimThreshold": 1, |
||||
"rotated": false, |
||||
"offsetX": 0, |
||||
"offsetY": 0, |
||||
"trimX": 0, |
||||
"trimY": 0, |
||||
"width": 157, |
||||
"height": 66, |
||||
"rawWidth": 157, |
||||
"rawHeight": 66, |
||||
"borderTop": 0, |
||||
"borderBottom": 0, |
||||
"borderLeft": 0, |
||||
"borderRight": 0, |
||||
"subMetas": {} |
||||
} |
||||
} |
||||
} |
After Width: | Height: | Size: 1.3 KiB |
@ -0,0 +1,38 @@ |
||||
{ |
||||
"ver": "2.3.7", |
||||
"uuid": "220a4ca2-1c8a-4b5d-a5f2-0068fd93e1ac", |
||||
"importer": "texture", |
||||
"type": "sprite", |
||||
"wrapMode": "clamp", |
||||
"filterMode": "bilinear", |
||||
"premultiplyAlpha": false, |
||||
"genMipmaps": false, |
||||
"packable": true, |
||||
"width": 27, |
||||
"height": 19, |
||||
"platformSettings": {}, |
||||
"subMetas": { |
||||
"钞票": { |
||||
"ver": "1.0.6", |
||||
"uuid": "e81507a0-19d2-4d1a-b5e5-f456735180a4", |
||||
"importer": "sprite-frame", |
||||
"rawTextureUuid": "220a4ca2-1c8a-4b5d-a5f2-0068fd93e1ac", |
||||
"trimType": "auto", |
||||
"trimThreshold": 1, |
||||
"rotated": false, |
||||
"offsetX": 0, |
||||
"offsetY": 0, |
||||
"trimX": 0, |
||||
"trimY": 0, |
||||
"width": 27, |
||||
"height": 19, |
||||
"rawWidth": 27, |
||||
"rawHeight": 19, |
||||
"borderTop": 0, |
||||
"borderBottom": 0, |
||||
"borderLeft": 0, |
||||
"borderRight": 0, |
||||
"subMetas": {} |
||||
} |
||||
} |
||||
} |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 303 B |
@ -0,0 +1,38 @@ |
||||
{ |
||||
"ver": "2.3.7", |
||||
"uuid": "2de65ef6-7800-4d3c-b775-24e1b638dc79", |
||||
"importer": "texture", |
||||
"type": "sprite", |
||||
"wrapMode": "clamp", |
||||
"filterMode": "bilinear", |
||||
"premultiplyAlpha": false, |
||||
"genMipmaps": false, |
||||
"packable": true, |
||||
"width": 90, |
||||
"height": 23, |
||||
"platformSettings": {}, |
||||
"subMetas": { |
||||
"秒赚条": { |
||||
"ver": "1.0.6", |
||||
"uuid": "41f80717-a662-4764-9060-56d3f3d79451", |
||||
"importer": "sprite-frame", |
||||
"rawTextureUuid": "2de65ef6-7800-4d3c-b775-24e1b638dc79", |
||||
"trimType": "auto", |
||||
"trimThreshold": 1, |
||||
"rotated": false, |
||||
"offsetX": 0, |
||||
"offsetY": 0, |
||||
"trimX": 0, |
||||
"trimY": 0, |
||||
"width": 90, |
||||
"height": 23, |
||||
"rawWidth": 90, |
||||
"rawHeight": 23, |
||||
"borderTop": 0, |
||||
"borderBottom": 0, |
||||
"borderLeft": 0, |
||||
"borderRight": 0, |
||||
"subMetas": {} |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,13 @@ |
||||
{ |
||||
"ver": "1.1.3", |
||||
"uuid": "c3ca0dce-e0a3-4c1a-bdf5-a034bb154def", |
||||
"importer": "folder", |
||||
"isBundle": false, |
||||
"bundleName": "", |
||||
"priority": 1, |
||||
"compressionType": {}, |
||||
"optimizeHotUpdate": {}, |
||||
"inlineSpriteFrames": {}, |
||||
"isRemoteBundle": {}, |
||||
"subMetas": {} |
||||
} |
@ -0,0 +1,56 @@ |
||||
// Learn TypeScript:
|
||||
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
|
||||
// Learn Attribute:
|
||||
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
|
||||
// Learn life-cycle callbacks:
|
||||
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html
|
||||
|
||||
import UserManager from "../Manager/UserManager"; |
||||
|
||||
const { ccclass, property } = cc._decorator; |
||||
|
||||
@ccclass |
||||
export default class JianZao extends cc.Component { |
||||
|
||||
@property({ type: cc.Label, displayName: '产业名字' }) |
||||
name_Label: cc.Label = null; |
||||
|
||||
@property({ type: cc.Label, displayName: '店铺收入' }) |
||||
shouru_Label: cc.Label = null; |
||||
|
||||
@property({ type: cc.Label, displayName: '开设提示' }) |
||||
kaishe_Label: cc.Label = null; |
||||
|
||||
@property({ type: cc.Label, displayName: '需要资金' }) |
||||
price_Label: cc.Label = null; |
||||
price: number; |
||||
|
||||
|
||||
// LIFE-CYCLE CALLBACKS:
|
||||
|
||||
// onLoad () {}
|
||||
|
||||
start() { |
||||
|
||||
} |
||||
|
||||
init(name, shouru, price) { |
||||
this.name_Label.string = `${name}` |
||||
this.shouru_Label.string = `${shouru}` |
||||
this.kaishe_Label.string = `开设${name}需要资金:` |
||||
this.price_Label.string = `${price}` |
||||
this.price = price |
||||
} |
||||
|
||||
onTouchJianZao() { |
||||
UserManager.subMoney(this.price) |
||||
this.onTouchClose() |
||||
} |
||||
|
||||
onTouchClose() { |
||||
this.node.removeFromParent() |
||||
this.node.destroy() |
||||
} |
||||
|
||||
// update (dt) {}
|
||||
} |
@ -0,0 +1,10 @@ |
||||
{ |
||||
"ver": "1.1.0", |
||||
"uuid": "dd7e5aac-74d0-47dc-a62a-6ea54c0dcb68", |
||||
"importer": "typescript", |
||||
"isPlugin": false, |
||||
"loadPluginInWeb": true, |
||||
"loadPluginInNative": true, |
||||
"loadPluginInEditor": false, |
||||
"subMetas": {} |
||||
} |