Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
man-in-the-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Boards
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
MIM
man-in-the-mirror
Commits
bee32991
Commit
bee32991
authored
Aug 09, 2019
by
19조민근
Committed by
18신대성
Aug 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
플레이어관련 승리조건 오류수정 및 6-3맵 수정
parent
5b2b3e89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
stage6_3.json
Assets/Resources/stages/stage6_3.json
+1
-1
ClearCondition.cs
Assets/Scripts/Map/ClearCondition.cs
+2
-2
No files found.
Assets/Resources/stages/stage6_3.json
View file @
bee32991
{
"objects"
:[{
"tag"
:
0
,
"xPos"
:
5.0
,
"yPos"
:
0.0
},{
"tag"
:
2
,
"xPos"
:
0.0
,
"yPos"
:
0.5
},{
"tag"
:
2
,
"xPos"
:
-0.5
,
"yPos"
:
0.0
},{
"tag"
:
2
,
"xPos"
:
0.0
,
"yPos"
:
-0.5
},{
"tag"
:
2
,
"xPos"
:
0.5
,
"yPos"
:
0.0
},{
"tag"
:
1
,
"xPos"
:
0.0
,
"yPos"
:
0.0
},{
"tag"
:
4
,
"xPos"
:
0.0
,
"yPos"
:
0.0
}],
"clears"
:[{
"type"
:
3
,
"goal"
:
5
}],
"cases"
:[],
"bullets"
:[
2
,
1
,
2
,
1
,
2
,
1
,
2
,
1
,
2
,
1
,
2
,
1
],
"comments"
:
null
}
\ No newline at end of file
{
"objects"
:[{
"tag"
:
0
,
"xPos"
:
15.0
,
"yPos"
:
0.0
},{
"tag"
:
2
,
"xPos"
:
-0.5
,
"yPos"
:
0.0
},{
"tag"
:
2
,
"xPos"
:
-1.5
,
"yPos"
:
0.0
},{
"tag"
:
2
,
"xPos"
:
-1.0
,
"yPos"
:
-0.5
},{
"tag"
:
3
,
"xPos"
:
-1.0
,
"yPos"
:
0.5
},{
"tag"
:
1
,
"xPos"
:
-1.0
,
"yPos"
:
0.0
},{
"tag"
:
1
,
"xPos"
:
1.0
,
"yPos"
:
0.0
},{
"tag"
:
9
,
"xPos"
:
1.0
,
"yPos"
:
0.0
},{
"tag"
:
4
,
"xPos"
:
-1.0
,
"yPos"
:
0.0
}],
"clears"
:[{
"type"
:
0
,
"goal"
:
3
},{
"type"
:
3
,
"goal"
:
5
}],
"cases"
:[],
"bullets"
:[
2
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
2
,
1
],
"comments"
:
null
}
\ No newline at end of file
Assets/Scripts/Map/ClearCondition.cs
View file @
bee32991
...
...
@@ -24,7 +24,7 @@ public class ClearCondition
{
count
+=
_count
;
goal
+=
_goal
;
if
(((
type
==
ClearType
.
White
||
type
==
ClearType
.
Black
)
?
goal
==
count
:
goal
<=
count
)
&&
!
isDone
)
if
(((
type
==
ClearType
.
White
||
type
==
ClearType
.
Black
||
type
==
ClearType
.
NPlayer
)
?
goal
==
count
:
goal
<=
count
)
&&
!
isDone
)
{
GameManager
.
inst
.
clearCounter
--;
isDone
=
true
;
...
...
@@ -32,7 +32,7 @@ public class ClearCondition
if
(
GameManager
.
inst
.
clearCounter
==
0
)
GameManager
.
inst
.
StartCoroutine
(
GameManager
.
inst
.
ClearStage
());
}
else
if
(((
type
==
ClearType
.
White
||
type
==
ClearType
.
Black
)
?
goal
!=
count
:
goal
>
count
)
&&
isDone
)
else
if
(((
type
==
ClearType
.
White
||
type
==
ClearType
.
Black
||
type
==
ClearType
.
NPlayer
)
?
goal
!=
count
:
goal
>
count
)
&&
isDone
)
{
GameManager
.
inst
.
clearCounter
++;
isDone
=
false
;
...
...
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