Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fucking_flirt
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
william
fucking_flirt
Commits
343efb3b
Commit
343efb3b
authored
May 05, 2018
by
william
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: order game node
parent
a456cd7e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
game.fire
assets/game.fire
+0
-0
Game.js
assets/scripts/Game.js
+2
-1
No files found.
assets/game.fire
View file @
343efb3b
This diff is collapsed.
Click to expand it.
assets/scripts/Game.js
View file @
343efb3b
...
...
@@ -29,6 +29,7 @@ cc.Class({
classroom
:
{
default
:
null
,
type
:
cc
.
Node
,
active
:
false
,
},
// hand节点
...
...
@@ -49,7 +50,7 @@ cc.Class({
this
.
flirtAnimationTime
=
0.5
;
//摸的动画时间(单向)
// 奖Game组件的实例传入开始按钮
var
startBtn
=
this
.
node
.
getChildByName
(
"start_btn"
);
var
startBtn
=
cc
.
find
(
"index/start_btn"
,
this
.
node
);
startBtn
.
getComponent
(
'Start'
).
game
=
this
;
...
...
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