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
1380672f
Commit
1380672f
authored
Jun 28, 2019
by
18신대성
Committed by
16이지혜
Jun 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Z index 설정함. 자세한 내용은 위키/프밍정보 체크할것
parent
de3f433d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Background.js
js/Background.js
+4
-4
Input.js
js/Input.js
+2
-2
WordSpace.js
js/WordSpace.js
+1
-1
No files found.
js/Background.js
View file @
1380672f
...
...
@@ -17,10 +17,10 @@ BackGround.drawBrain = function(scene)
{
brains
=
scene
.
physics
.
add
.
staticGroup
();
brains
.
create
(
400
,
500
,
'
brainGround0
'
).
setScale
(
1.5
).
refreshBody
();
brains
.
create
(
400
,
100
,
'
brainGround0
'
).
setScale
(
1.5
).
refreshBody
();
brains
.
create
(
100
,
300
,
'
brainGround1
'
).
setScale
(
0.5
).
refreshBody
();
brains
.
create
(
700
,
300
,
'
brainGround1
'
).
setScale
(
0.5
).
refreshBody
();
brains
.
create
(
400
,
500
,
'
brainGround0
'
).
setScale
(
1.5
).
setDepth
(
1
).
refreshBody
();
brains
.
create
(
400
,
100
,
'
brainGround0
'
).
setScale
(
1.5
).
setDepth
(
1
).
refreshBody
();
brains
.
create
(
100
,
300
,
'
brainGround1
'
).
setScale
(
0.5
).
setDepth
(
1
).
refreshBody
();
brains
.
create
(
700
,
300
,
'
brainGround1
'
).
setScale
(
0.5
).
setDepth
(
1
).
refreshBody
();
brains
.
immovable
=
true
;
...
...
js/Input.js
View file @
1380672f
...
...
@@ -260,8 +260,8 @@ Input.inputField =
{
generate
:
function
(
scene
)
{
this
.
background
=
scene
.
add
.
sprite
(
400
,
500
,
'
inputFieldBackground
'
).
setScale
(
0.2
);
this
.
text
=
scene
.
add
.
text
(
400
,
500
,
"
안녕하세요
"
,
{
font
:
'
15pt 궁서
'
}).
setOrigin
(
0.5
,
0.5
).
setColor
(
'
#000000
'
);
this
.
background
=
scene
.
add
.
sprite
(
400
,
500
,
'
inputFieldBackground
'
).
setScale
(
0.2
)
.
setDepth
(
10
)
;
this
.
text
=
scene
.
add
.
text
(
400
,
500
,
"
안녕하세요
"
,
{
font
:
'
15pt 궁서
'
}).
setOrigin
(
0.5
,
0.5
).
setColor
(
'
#000000
'
)
.
setDepth
(
10
)
;
scene
.
input
.
keyboard
.
on
(
'
keyup
'
,
function
()
{
Input
.
pressCount
--
;
Input
.
justPressed
=
''
})
scene
.
input
.
keyboard
.
on
(
'
keydown-SHIFT
'
,
function
()
{
Input
.
isShifted
=
true
});
...
...
js/WordSpace.js
View file @
1380672f
...
...
@@ -56,7 +56,7 @@ WordSpace.attackGauge =
};
this
.
currentCycle
=
scene
.
time
.
addEvent
(
option
);
this
.
text
=
scene
.
add
.
text
(
100
,
100
,
'
게이지:
'
+
this
.
value
.
toFixed
(
1
)).
setColor
(
'
#ffffff
'
);
this
.
text
=
scene
.
add
.
text
(
100
,
100
,
'
게이지:
'
+
this
.
value
.
toFixed
(
1
)).
setColor
(
'
#ffffff
'
)
.
setDepth
(
10
)
;
},
pauseCycle
:
function
(
bool
)
{
this
.
currentCycle
.
paused
=
bool
;}
// showValue: 아래쪽에 바의 길이로 게이지 표시, 색으로 게이지의 강도 표현
...
...
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