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
bb3b4fdb
Commit
bb3b4fdb
authored
Jul 16, 2019
by
18손재민
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
이펙트 관련 위치 일부 수정
parent
7ed81329
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
Input.js
js/Input.js
+2
-2
ScenesData.js
js/ScenesData.js
+0
-1
WordObject.js
js/WordObject.js
+2
-2
WordSpace.js
js/WordSpace.js
+1
-1
No files found.
js/Input.js
View file @
bb3b4fdb
...
@@ -304,8 +304,8 @@ Input.inputField =
...
@@ -304,8 +304,8 @@ Input.inputField =
{
{
generate
:
function
(
scene
,
enterCallback
)
generate
:
function
(
scene
,
enterCallback
)
{
{
this
.
background
=
scene
.
add
.
sprite
(
640
,
5
5
0
,
'
inputfield
'
).
setDepth
(
10
);
this
.
background
=
scene
.
add
.
sprite
(
640
,
5
0
0
,
'
inputfield
'
).
setDepth
(
10
);
this
.
text
=
scene
.
add
.
text
(
640
,
5
50
,
"
안녕하세요
"
,
{
font
:
'
25pt 궁서
'
}).
setOrigin
(
0.5
,
0.5
).
setColor
(
'
#000000
'
).
setDepth
(
10
);
this
.
text
=
scene
.
add
.
text
(
640
,
5
00
,
"
"
,
{
font
:
'
25pt 궁서
'
}).
setOrigin
(
0.5
,
0.5
).
setColor
(
'
#000000
'
).
setDepth
(
10
);
scene
.
input
.
keyboard
.
on
(
'
keyup
'
,
function
()
{
Input
.
pressCount
--
;
Input
.
justPressed
=
''
})
scene
.
input
.
keyboard
.
on
(
'
keyup
'
,
function
()
{
Input
.
pressCount
--
;
Input
.
justPressed
=
''
})
scene
.
input
.
keyboard
.
on
(
'
keydown-SHIFT
'
,
function
()
{
Input
.
isShifted
=
true
});
scene
.
input
.
keyboard
.
on
(
'
keydown-SHIFT
'
,
function
()
{
Input
.
isShifted
=
true
});
...
...
js/ScenesData.js
View file @
bb3b4fdb
...
@@ -121,7 +121,6 @@ var gameScene = new Phaser.Class(
...
@@ -121,7 +121,6 @@ var gameScene = new Phaser.Class(
return
;
return
;
}
}
});
});
console
.
log
(
RoomData
.
myself
);
WordSpace
.
attackGauge
.
add
(
11
);
WordSpace
.
attackGauge
.
add
(
11
);
WordSpace
.
wordBreakAnim
=
this
.
anims
.
create
({
WordSpace
.
wordBreakAnim
=
this
.
anims
.
create
({
key
:
'
break
'
,
key
:
'
break
'
,
...
...
js/WordObject.js
View file @
bb3b4fdb
...
@@ -217,8 +217,8 @@ class NameWord extends WordObject
...
@@ -217,8 +217,8 @@ class NameWord extends WordObject
if
(
!
this
.
isStrong
)
WordSpace
.
attackGauge
.
add
(
this
.
wordTyping
*
0.1
);
if
(
!
this
.
isStrong
)
WordSpace
.
attackGauge
.
add
(
this
.
wordTyping
*
0.1
);
WordSpace
.
nameGroup
.
push
(
this
);
WordSpace
.
nameGroup
.
push
(
this
);
this
.
isActive
=
false
;
this
.
isActive
=
false
;
this
.
physicsObj
.
setVelocity
(
0
,
0
).
setDepth
(
2
);
this
.
physicsObj
.
setVelocity
(
0
,
0
).
setDepth
(
2
0
);
this
.
wordObj
.
setPosition
(
this
.
physicsObj
.
x
,
this
.
physicsObj
.
y
).
setDepth
(
2
);
this
.
wordObj
.
setPosition
(
this
.
physicsObj
.
x
,
this
.
physicsObj
.
y
).
setDepth
(
2
0
);
this
.
follower
=
{
t
:
0
,
vec
:
new
Phaser
.
Math
.
Vector2
()
};
this
.
follower
=
{
t
:
0
,
vec
:
new
Phaser
.
Math
.
Vector2
()
};
this
.
path
=
new
Phaser
.
Curves
.
Spline
([
this
.
path
=
new
Phaser
.
Curves
.
Spline
([
this
.
physicsObj
.
x
,
this
.
physicsObj
.
y
,
this
.
physicsObj
.
x
,
this
.
physicsObj
.
y
,
...
...
js/WordSpace.js
View file @
bb3b4fdb
...
@@ -160,7 +160,7 @@ WordSpace.attackGauge =
...
@@ -160,7 +160,7 @@ WordSpace.attackGauge =
setRect
:
function
()
setRect
:
function
()
{
{
this
.
rectUI
.
setSize
(
20
*
this
.
value
,
11
);
this
.
rectUI
.
setSize
(
20
*
this
.
value
,
11
);
this
.
rectUI
.
setPosition
(
640
-
10
*
this
.
value
,
5
9
7
);
this
.
rectUI
.
setPosition
(
640
-
10
*
this
.
value
,
5
4
7
);
let
tmp
=
this
.
getAttackOption
();
let
tmp
=
this
.
getAttackOption
();
this
.
rectUI
.
setFillStyle
(
Phaser
.
Display
.
Color
.
HexStringToColor
(
this
.
gradeColor
[
tmp
.
wordGrade
+
1
]).
color
);
this
.
rectUI
.
setFillStyle
(
Phaser
.
Display
.
Color
.
HexStringToColor
(
this
.
gradeColor
[
tmp
.
wordGrade
+
1
]).
color
);
},
},
...
...
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