Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LWD_3
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
LWD_3
Commits
58e76e87
Commit
58e76e87
authored
Dec 31, 2021
by
Lwd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
247ea653
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
11 deletions
+17
-11
LWD_3.fire
assets/LWD_3/scene/LWD_3.fire
+4
-4
LWD_3.js
assets/LWD_3/scene/LWD_3.js
+3
-1
item.js
assets/LWD_3/script/game/item.js
+6
-2
icon_hand.png
assets/LWD_3/textures/icon_hand.png
+0
-0
icon_hand.png.meta
assets/LWD_3/textures/icon_hand.png.meta
+4
-4
No files found.
assets/LWD_3/scene/LWD_3.fire
View file @
58e76e87
...
...
@@ -859,13 +859,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
88
,
"height": 1
85
"width":
142
,
"height": 1
60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0
.5
,
"y":
0
"x": 0,
"y":
1
},
"_trs": {
"__type__": "TypedArray",
...
...
assets/LWD_3/scene/LWD_3.js
View file @
58e76e87
...
...
@@ -132,7 +132,9 @@ var game = cc.Class({
//隐藏剩余物品并跳转下一题
resetQues
:
function
()
{
if
(
LWD_3
.
data_mgr
.
quesId
>=
4
)
{
this
.
finish
();
this
.
_timeoutIds
.
push
(
setTimeout
(()
=>
{
this
.
finish
();
},
1000
));
LWD_3
.
data_mgr
.
gameState
=
2
}
else
{
for
(
var
i
=
0
;
i
<
this
.
contentArr
.
childrenCount
;
i
++
)
{
...
...
assets/LWD_3/script/game/item.js
View file @
58e76e87
...
...
@@ -37,7 +37,7 @@ cc.Class({
LWD_3
.
data_mgr
.
time
=
0
;
//如果有提示手则停止
LWD_3
.
game
.
inst
.
handTween
&&
LWD_3
.
game
.
inst
.
handTween
.
stop
();
LWD_3
.
game
.
inst
.
handTween
&&
LWD_3
.
game
.
inst
.
handTween
.
stop
()
&&
(
LWD_3
.
game
.
inst
.
handTip
.
active
=
false
)
;
//狮子猫动画
LWD_3
.
game
.
inst
.
playLionDragon
(
"
openmouth
"
);
...
...
@@ -93,7 +93,11 @@ cc.Class({
if
(
!
this
.
isMove
)
{
cc
.
log
(
"
点击了
"
);
// this.onBtnRotate();
this
.
handTip
+=
1
;
if
(
this
.
handTip
>=
2
)
{
LWD_3
.
game
.
inst
.
setHandTip
(
this
.
node
.
parent
);
this
.
handTip
=
0
;
}
//回到原来的位置
this
.
node
.
x
=
0
;
this
.
node
.
y
=
0
;
...
...
assets/LWD_3/textures/icon_hand.png
View replaced file @
247ea653
View file @
58e76e87
13.4 KB
|
W:
|
H:
16.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/LWD_3/textures/icon_hand.png.meta
View file @
58e76e87
...
...
@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width":
88
,
"height": 1
85
,
"rawWidth":
88
,
"rawHeight": 1
85
,
"width":
142
,
"height": 1
60
,
"rawWidth":
142
,
"rawHeight": 1
60
,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
...
...
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