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
7e654e47
Commit
7e654e47
authored
May 06, 2018
by
william
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: control game volumn
parent
e8d8f1d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
Game.js
assets/scripts/Game.js
+1
-0
Start.js
assets/scripts/Start.js
+1
-0
No files found.
assets/scripts/Game.js
View file @
7e654e47
...
@@ -318,6 +318,7 @@ cc.Class({
...
@@ -318,6 +318,7 @@ cc.Class({
this
.
board
.
active
=
false
this
.
board
.
active
=
false
this
.
teacher
.
active
=
false
this
.
teacher
.
active
=
false
this
.
gameState
=
'waiting'
this
.
gameState
=
'waiting'
this
.
bgMusic
.
volume
=
1
var
remoteDomain
=
'https://nzr2ybsda.qnssl.com/images/153823/'
var
remoteDomain
=
'https://nzr2ybsda.qnssl.com/images/153823/'
var
pictures
=
[
var
pictures
=
[
...
...
assets/scripts/Start.js
View file @
7e654e47
...
@@ -17,6 +17,7 @@ cc.Class({
...
@@ -17,6 +17,7 @@ cc.Class({
self
.
game
.
level
.
progress
=
1
self
.
game
.
level
.
progress
=
1
self
.
game
.
gameState
=
'action'
self
.
game
.
gameState
=
'action'
self
.
game
.
teacher
.
getComponent
(
"Teacher"
).
startSwivel
()
self
.
game
.
teacher
.
getComponent
(
"Teacher"
).
startSwivel
()
self
.
game
.
bgMusic
.
volume
=
0.5
})
})
},
},
...
...
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