Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sejong25
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Tear of Sejong
sejong25
Commits
17a26d46
Commit
17a26d46
authored
Aug 21, 2019
by
18손재민
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
임시 텍스트 없앰
parent
6818ac38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
WordSpace.js
js/WordSpace.js
+0
-8
No files found.
js/WordSpace.js
View file @
17a26d46
...
@@ -117,14 +117,12 @@ WordSpace.attackGauge =
...
@@ -117,14 +117,12 @@ WordSpace.attackGauge =
if
(
this
.
value
+
plus
>
11
)
this
.
value
=
11
;
if
(
this
.
value
+
plus
>
11
)
this
.
value
=
11
;
else
this
.
value
+=
plus
;
else
this
.
value
+=
plus
;
this
.
setRect
();
this
.
setRect
();
this
.
text
.
setText
(
'
게이지:
'
+
this
.
value
.
toFixed
(
1
));
},
},
sub
:
function
(
minus
)
sub
:
function
(
minus
)
{
{
if
(
this
.
value
-
minus
<
0
)
this
.
value
=
0
;
if
(
this
.
value
-
minus
<
0
)
this
.
value
=
0
;
else
this
.
value
-=
minus
;
else
this
.
value
-=
minus
;
this
.
setRect
();
this
.
setRect
();
this
.
text
.
setText
(
'
게이지:
'
+
this
.
value
.
toFixed
(
1
));
},
},
resetValue
:
function
()
{
this
.
value
=
0
;},
resetValue
:
function
()
{
this
.
value
=
0
;},
cutValue
:
function
(
cutOut
)
{
this
.
value
*=
(
1
-
cutOut
);},
cutValue
:
function
(
cutOut
)
{
this
.
value
*=
(
1
-
cutOut
);},
...
@@ -141,7 +139,6 @@ WordSpace.attackGauge =
...
@@ -141,7 +139,6 @@ WordSpace.attackGauge =
};
};
this
.
currentCycle
=
scene
.
time
.
addEvent
(
option
);
this
.
currentCycle
=
scene
.
time
.
addEvent
(
option
);
this
.
text
=
scene
.
add
.
text
(
100
,
100
,
'
게이지:
'
+
this
.
value
.
toFixed
(
1
)).
setDepth
(
9.9
).
setColor
(
'
#000000
'
);
//this.rectUI.setColor(this.gradeColor[0]);
//this.rectUI.setColor(this.gradeColor[0]);
},
},
pauseCycle
:
function
(
bool
)
{
this
.
currentCycle
.
paused
=
bool
;},
pauseCycle
:
function
(
bool
)
{
this
.
currentCycle
.
paused
=
bool
;},
...
@@ -337,13 +334,8 @@ WordSpace.setPlayerTyping =
...
@@ -337,13 +334,8 @@ WordSpace.setPlayerTyping =
{
{
this
.
totalTyping
+=
wordText
!=
null
?
WordReader
.
getWordTyping
(
wordText
)
:
0
;
this
.
totalTyping
+=
wordText
!=
null
?
WordReader
.
getWordTyping
(
wordText
)
:
0
;
WordSpace
.
playerTyping
=
this
.
totalTyping
/
WordSpace
.
gameTimer
.
now
*
60
*
1000
;
WordSpace
.
playerTyping
=
this
.
totalTyping
/
WordSpace
.
gameTimer
.
now
*
60
*
1000
;
this
.
text
.
setText
(
'
현재 타수 :
'
+
WordSpace
.
playerTyping
.
toFixed
(
1
));
this
.
writeWord
=
wordText
!=
''
?
true
:
false
;
this
.
writeWord
=
wordText
!=
''
?
true
:
false
;
},
},
initiate
:
function
(
scene
)
{
this
.
text
=
scene
.
add
.
text
(
100
,
200
,
'
현재 타수 :
'
+
WordSpace
.
playerTyping
.
toFixed
(
1
)).
setDepth
(
9.9
).
setColor
(
'
#000000
'
);
},
reset
:
function
()
reset
:
function
()
{
{
this
.
totalTyping
=
0
;
this
.
totalTyping
=
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