Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Sbx_Pronunciation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
Sbx_Pronunciation
Commits
c714c7db
Commit
c714c7db
authored
Dec 07, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dev commit
parent
e6f69244
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
24 deletions
+21
-24
GameLogic.js
play/assets/tmpGame/script/GameLogic.js
+5
-6
bg_A.png
play/assets/tmpGame/textures/bg_A.png
+0
-0
bg_A.png.meta
play/assets/tmpGame/textures/bg_A.png.meta
+6
-6
bg_bg_A.png
play/assets/tmpGame/textures/bg_bg_A.png
+0
-0
bg_bg_new_A.png
play/assets/tmpGame/textures/bg_bg_new_A.png
+0
-0
bg_color.png
play/assets/tmpGame/textures/bg_color.png
+0
-0
bg_color.png.meta
play/assets/tmpGame/textures/bg_color.png.meta
+10
-10
CocosDashboard.exe
publish/CocosDashboard.exe
+0
-0
myBuild.cmd
publish/myBuild.cmd
+0
-2
No files found.
play/assets/tmpGame/script/GameLogic.js
View file @
c714c7db
...
@@ -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
"
);
...
...
play/assets/tmpGame/textures/bg_A.png
0 → 100644
View file @
c714c7db
51.4 KB
play/assets/tmpGame/textures/bg_
bg_
A.png.meta
→
play/assets/tmpGame/textures/bg_A.png.meta
View file @
c714c7db
{
{
"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": 12
80
,
"width": 12
66
,
"height": 720,
"height": 720,
"rawWidth": 1280,
"rawWidth": 1280,
"rawHeight": 720,
"rawHeight": 720,
...
...
play/assets/tmpGame/textures/bg_bg_A.png
deleted
100644 → 0
View file @
e6f69244
37.3 KB
play/assets/tmpGame/textures/bg_bg_new_A.png
deleted
100644 → 0
View file @
e6f69244
42.2 KB
play/assets/tmpGame/textures/bg_color.png
0 → 100644
View file @
c714c7db
32.9 KB
play/assets/tmpGame/textures/bg_
bg_new_A
.png.meta
→
play/assets/tmpGame/textures/bg_
color
.png.meta
View file @
c714c7db
{
{
"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":
128
0,
"width":
256
0,
"height":
72
0,
"height":
256
0,
"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":
128
0,
"width":
256
0,
"height":
72
0,
"height":
256
0,
"rawWidth":
128
0,
"rawWidth":
256
0,
"rawHeight":
72
0,
"rawHeight":
256
0,
"borderTop": 0,
"borderTop": 0,
"borderBottom": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderLeft": 0,
...
...
publish/CocosDashboard.exe
deleted
100644 → 0
View file @
e6f69244
File deleted
publish/myBuild.cmd
deleted
100644 → 0
View file @
e6f69244
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment