Commit c714c7db authored by 李维's avatar 李维

Dev commit

parent e6f69244
...@@ -83,6 +83,11 @@ export default class GameLogic { ...@@ -83,6 +83,11 @@ export default class GameLogic {
console.log(bgNode_A.height, bgNode_A.width) console.log(bgNode_A.height, bgNode_A.width)
} }
resetPosition() {
const bottomButtons = this.g_cartoon.getCartoonElement("bottomButtons");
bottomButtons.node.y = -cc.winSize.height / 2 + 50
}
initTheme() { initTheme() {
let themeType = this.g_formData.theme; let themeType = this.g_formData.theme;
...@@ -219,7 +224,6 @@ export default class GameLogic { ...@@ -219,7 +224,6 @@ export default class GameLogic {
} }
} }
let rightDragon = this.g_cartoon.getCartoonElement("rightDragonContainer") let rightDragon = this.g_cartoon.getCartoonElement("rightDragonContainer")
rightDragon.node.opacity = 255; rightDragon.node.opacity = 255;
rightDragon.show = (callBack) => { rightDragon.show = (callBack) => {
...@@ -305,11 +309,6 @@ export default class GameLogic { ...@@ -305,11 +309,6 @@ export default class GameLogic {
return true; return true;
} }
resetPosition() {
const bottomButtons = this.g_cartoon.getCartoonElement("bottomButtons");
bottomButtons.node.y = -cc.winSize.height / 2 + 50
}
initBottomButtons() { initBottomButtons() {
const btnLeft = this.g_cartoon.getCartoonElement("btn_left"); const btnLeft = this.g_cartoon.getCartoonElement("btn_left");
const btnRight = this.g_cartoon.getCartoonElement("btn_right"); const btnRight = this.g_cartoon.getCartoonElement("btn_right");
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "ccc67bab-a66a-48e6-accc-dd8a0b686f19", "uuid": "a374be4f-54b8-4c60-9f78-c476c2a3f12b",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
...@@ -11,18 +11,18 @@ ...@@ -11,18 +11,18 @@
"height": 720, "height": 720,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_bg_A": { "bg_A": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "8fca9173-2c3b-4a8a-a2fe-3c97908a3bd9", "uuid": "64f90f87-7032-4fce-88b0-6da5e1afe092",
"rawTextureUuid": "ccc67bab-a66a-48e6-accc-dd8a0b686f19", "rawTextureUuid": "a374be4f-54b8-4c60-9f78-c476c2a3f12b",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 7,
"trimY": 0, "trimY": 0,
"width": 1280, "width": 1266,
"height": 720, "height": 720,
"rawWidth": 1280, "rawWidth": 1280,
"rawHeight": 720, "rawHeight": 720,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "ab4418f0-0475-4af7-a944-5396cfb0301c", "uuid": "bd3a8eec-e34c-434e-9da2-a1d90add2e34",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 1280, "width": 2560,
"height": 720, "height": 2560,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_bg_new_A": { "bg_color": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "efc7ad6f-e504-4a62-b16d-aefef18faad3", "uuid": "03fecb54-2cbe-4bb3-ba83-e4b044796be4",
"rawTextureUuid": "ab4418f0-0475-4af7-a944-5396cfb0301c", "rawTextureUuid": "bd3a8eec-e34c-434e-9da2-a1d90add2e34",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 1280, "width": 2560,
"height": 720, "height": 2560,
"rawWidth": 1280, "rawWidth": 2560,
"rawHeight": 720, "rawHeight": 2560,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
cd ../form & npm install & npm run publish & cd ../play & C:/CocosDashboard_1.0.7/resources/.editors/Creator/2.4.0/CocosCreator.exe --path "./" --build "platform=web-desktop;debug=true" --force & cd ../publish & node build.js
pause
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