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
ba5266f5
Commit
ba5266f5
authored
Jul 18, 2019
by
18손재민
Committed by
18신대성
Jul 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
대기실에서 플레이어들 문안으로 들어가기 수치 조정
parent
1111d934
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ScenesData.js
js/ScenesData.js
+2
-3
No files found.
js/ScenesData.js
View file @
ba5266f5
...
...
@@ -72,7 +72,7 @@ var roomScene = new Phaser.Class(
//console.log('end Count');
setTimeout
(()
=>
{
socket
.
emit
(
'
endCount
'
);
},
(
2000
+
Phaser
.
Math
.
Distance
.
Between
(
0
,
0
,
640
,
800
)
*
2
));
},
(
Phaser
.
Math
.
Distance
.
Between
(
0
,
0
,
640
,
800
)
*
3
));
this
.
isCounting
=
false
;
this
.
isCountEnd
=
true
;
this
.
players
.
forEach
(
function
(
element
){
...
...
@@ -81,12 +81,11 @@ var roomScene = new Phaser.Class(
element
.
sprite
.
x
,
element
.
sprite
.
y
,
640
,
800
]);
console
.
log
(
Phaser
.
Math
.
Distance
.
Between
(
element
.
sprite
.
x
,
element
.
sprite
.
y
,
640
,
800
)
*
2
);
ScenesData
.
roomScene
.
tweens
.
add
({
targets
:
element
.
follower
,
t
:
1
,
ease
:
'
Linear
'
,
duration
:
2000
+
Phaser
.
Math
.
Distance
.
Between
(
element
.
sprite
.
x
,
element
.
sprite
.
y
,
640
,
800
)
*
2
,
duration
:
Phaser
.
Math
.
Distance
.
Between
(
element
.
sprite
.
x
,
element
.
sprite
.
y
,
640
,
800
)
*
3
,
repeat
:
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