Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RhythmKata
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
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
13정준영
RhythmKata
Commits
39b775a6
Commit
39b775a6
authored
Nov 24, 2019
by
13정준영
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
채보 조정 및 전방노트 더 잘보이게 조정
parent
f4ec1461
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
206 additions
and
209 deletions
+206
-209
DefaultNote.prefab
RhythmKata/Assets/Prefabs/DefaultNote.prefab
+9
-18
Precision Strike.bms
RhythmKata/Assets/Resources/Level/Precision Strike.bms
+99
-109
___TempBMS.bms
RhythmKata/Assets/Resources/Level/___TempBMS.bms
+69
-74
___TempBMS.bms.meta
RhythmKata/Assets/Resources/Level/___TempBMS.bms.meta
+1
-1
Recorded.meta
...sources/SFX/SFX Project/sfx Project/Samples/Recorded.meta
+8
-0
EdgeNoteObject.cs
RhythmKata/Assets/Scripts/EdgeNoteObject.cs
+2
-0
ForwardNoteObject.cs
RhythmKata/Assets/Scripts/ForwardNoteObject.cs
+12
-6
NoteObject.cs
RhythmKata/Assets/Scripts/NoteObject.cs
+6
-1
No files found.
RhythmKata/Assets/Prefabs/DefaultNote.prefab
View file @
39b775a6
...
...
@@ -184,7 +184,7 @@ SphereCollider:
m_IsTrigger
:
0
m_Enabled
:
1
serializedVersion
:
2
m_Radius
:
1
m_Radius
:
2
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!114
&8354046899824507576
MonoBehaviour
:
...
...
@@ -218,8 +218,8 @@ MonoBehaviour:
inWeight
:
0
outWeight
:
0.269653
-
serializedVersion
:
3
time
:
0
value
:
-0.006500244
time
:
-0.06536031
value
:
0.3794575
inSlope
:
1.3432946
outSlope
:
1.3432946
tangentMode
:
0
...
...
@@ -227,23 +227,14 @@ MonoBehaviour:
inWeight
:
0.079797246
outWeight
:
0.08074485
-
serializedVersion
:
3
time
:
0.33710623
value
:
1.
201772
inSlope
:
4.044134
outSlope
:
4.044134
time
:
1.0000314
value
:
1.
0028753
inSlope
:
-0.3086618
outSlope
:
-0.3086618
tangentMode
:
0
weightedMode
:
0
inWeight
:
0.33333334
outWeight
:
0.10573776
-
serializedVersion
:
3
time
:
1.0062561
value
:
0.99053955
inSlope
:
-2.978137
outSlope
:
-2.978137
tangentMode
:
0
weightedMode
:
0
inWeight
:
0.17391804
outWeight
:
0.24592306
inWeight
:
0.15004615
outWeight
:
0.48310092
-
serializedVersion
:
3
time
:
1.5
value
:
0.17175293
...
...
RhythmKata/Assets/Resources/Level/Precision Strike.bms
View file @
39b775a6
...
...
@@ -36,7 +36,7 @@
#00812:35
#00911:
5
3000073
#00911:
2
3000073
#00912:57570000
#01011:00000033
...
...
@@ -45,11 +45,11 @@
#01111:00000058
#01112:00370000
#01211:000000
5
2
#01211:000000
3
2
#01212:00530000
#01311:52
77
0000
#01312:
58
000073
#01311:52
58
0000
#01312:
73
000073
#01411:00370000
#01412:00000033
...
...
@@ -60,75 +60,71 @@
#01611:00550000
#01612:00000055
#01713:E0
#01714:E2
#01716:E0
#02111:
8
8680000
#02112:
820022
42
#02111:
7
8680000
#02112:
000034
42
#02211:66640000
#02212:00004446
#02311:
8822
#02312:00
820028
#02311:
5353
#02312:00
570057
#02411:00000015
#02412:00000055
#02413:E00000E100000000
#02414:E20000E300000000
#02413:E00000E10000E000
#02414:E20000E30000E200
#02511:
55000055
#02512:00
55
0000
#02511:
00000077
#02512:00
73
0000
#02611:000000
55
#02612:00
55
0000
#02611:000000
48
#02612:00
42
0000
#02711:
5500000000005555
#02712:00
55
5500
#02711:
3400000000006343
#02712:00
66
5500
#02811:00
550055
#02812:00
55
#02811:00
230022
#02812:00
28
#02911:00
555
500
#02912:00
550055
#02911:00
474
500
#02912:00
750077
#03011:000000
55
#03012:00
55
0000
#03011:000000
73
#03012:00
37
0000
#03111:
5500000000000055
#03112:00
555555
#03111:
7200000000000053
#03112:00
747678
#03212:00550000
#03311:00
550000
#03312:00
550055
#03311:00
230077
#03312:00
460000
#03411:00
550000
#03412:00
000055
#03411:00
000048
#03412:00
420000
#03511:
5500000000000055
#03512:00
555555
#03511:
3400000000006343
#03512:00
665500
#03611:00
550055
#03612:00
55
#03611:00
230022
#03612:00
28
#03711:00
5500
00
#03712:00
550055
#03711:00
2545
00
#03712:00
450077
#03811:00
550000
#03812:00
000055
#03811:00
000073
#03812:00
370000
#03911:
00000055000055
00
#03912:00000000
55000055
#03911:
72000044000024
00
#03912:00000000
46000026
#04011:00
55
000000000000
#04012:000000
55005
50000
#04011:00
43
000000000000
#04012:000000
77007
50000
#04113:E1
#04114:E3
#04116:02
...
...
@@ -136,104 +132,98 @@
#04513:E1000000000000E1
#04514:E3000000000000E3
#04613:E1000000000000E
1
#04614:E3000000000000E
3
#04613:E1000000000000E
3
#04614:E3000000000000E
1
#04713:E
1E1
#04714:E
3E3
#04713:E
3E0
#04714:E
1E2
#04811:
1T00001T00001T
00
#04812:000000
1T00000000001T
000000000000
#04811:
88000084000062
00
#04812:000000
86000000000082
000000000000
#04911:00
1T
0000
#04912:0000
1T1T
#04913:E
1
#04914:E
3
#04911:00
64
0000
#04912:0000
6666
#04913:E
2
#04914:E
0
#05011:
1T1T
0000
#05012:0000
1T1T
#05011:
3333
0000
#05012:0000
3737
#05111:
1T1T
0000
#05112:0000
1T1T
#05111:
6363
0000
#05112:0000
6767
#05211:
1T1T
#05212:00
1T001T
#05211:
4444
#05212:00
660066
#05311:00000000000000E00000000000000000
#05312:000000E000000000000000E000000000
#05313:E1
#05314:E3
#05411:0002
#05412:00020002
#05413:E1
#05414:E3
#05413:E3
#05414:E1
#05513:E1
#05514:E3
#05613:E
1E1
#05614:E
3E3
#05613:E
0E2
#05614:E
2E0
#05711:
0202
0000
#05712:0000
0202
#05711:
1113
0000
#05712:0000
1719
#05811:0002001T
#05812:001T0000
#05812:00000035
#05813:E1
#05814:E3
#05816:00E10000
#05911:000
20200
#05912:00
1T0002
#05911:000
00064
#05912:00
830000
#06011:0000
02000000001T
#06012:00
1T1T00
#06011:0000
340000000023
#06012:00
56
#06111:000000
1T00001T
00
#06112:00
1T00000002
0000
#06111:000000
24000035
00
#06112:00
5300000054
0000
#06211:001T
#06212:0000021T
#06213:00E10000
#06214:00E30000
#06211:00450000
#06212:00000067
#06311:00
02001T
#06312:000
20200
#06311:00
450000
#06312:000
00047
#06411:000000
1T00001T
00
#06412:00000000
1T00001T
#06411:000000
23000035
00
#06412:00000000
43000056
#06511:000000
1T001T
0000
#06512:00
1T
000000000000
#06511:000000
770087
0000
#06512:00
66
000000000000
#06611:0002001T
#06612:001T0000
#06612:00000035
#06613:E1
#06614:E3
#06616:00020000
#06711:000
20200
#06712:00
1T0002
#06711:000
00064
#06712:00
830000
#06811:0000
02000000001T
#06812:00
1T1T00
#06811:0000
340000000023
#06812:00
56
#06911:000000
1T00001T
00
#06912:00
1T00000002
0000
#06911:000000
24000035
00
#06912:00
5300000054
0000
#07011:
021T
#07012:000
2001T
#07011:
11120000
#07012:000
02122
#07111:
020
20000
#07112:0000
0202
#07111:
535
20000
#07112:0000
6564
#07211:
0202021T
#07212:00
0200020002001T
#07211:
71727374
#07212:00
81008200830084
#07311:
0202021T
#07312:00
0200020002001T
#07311:
52535455
#07312:00
72007300740075
#0741
1:02
#0741
3:00E10000
#0741
4:00E3
0000
#0741
3:E1
#0741
4:E3
#0741
6:0058
0000
RhythmKata/Assets/Resources/Level/___TempBMS.bms
View file @
39b775a6
...
...
@@ -36,7 +36,7 @@
#00812:35
#00911:
5
3000073
#00911:
2
3000073
#00912:57570000
#01011:00000033
...
...
@@ -45,11 +45,11 @@
#01111:00000058
#01112:00370000
#01211:000000
5
2
#01211:000000
3
2
#01212:00530000
#01311:52
77
0000
#01312:
58
000073
#01311:52
58
0000
#01312:
73
000073
#01411:00370000
#01412:00000033
...
...
@@ -60,75 +60,71 @@
#01611:00550000
#01612:00000055
#01713:E0
#01714:E2
#01716:E0
#02111:
8
8680000
#02112:
820022
42
#02111:
7
8680000
#02112:
000034
42
#02211:66640000
#02212:00004446
#02311:
8822
#02312:00
820028
#02311:
5353
#02312:00
570057
#02411:00000055
#02412:00000055
#02413:E00000E100000000
#02414:E20000E300000000
#02413:E00000E10000E000
#02414:E20000E30000E200
#02511:
55000055
#02512:00
55
0000
#02511:
00000077
#02512:00
73
0000
#02611:000000
55
#02612:00
55
0000
#02611:000000
48
#02612:00
42
0000
#02711:
5500000000005555
#02712:00
55
5500
#02711:
3400000000006343
#02712:00
66
5500
#02811:00
550055
#02812:00
55
#02811:00
230022
#02812:00
28
#02911:00
555
500
#02912:00
550055
#02911:00
474
500
#02912:00
750077
#03011:000000
55
#03012:00
55
0000
#03011:000000
73
#03012:00
37
0000
#03111:
5500000000000055
#03112:00
555555
#03111:
7200000000000053
#03112:00
747678
#03212:00550000
#03311:00
550000
#03312:00
550055
#03311:00
230077
#03312:00
460000
#03411:00
550000
#03412:00
000055
#03411:00
000048
#03412:00
420000
#03511:
5500000000000055
#03512:00
555555
#03511:
3400000000006343
#03512:00
665500
#03611:00
550055
#03612:00
55
#03611:00
230022
#03612:00
28
#03711:00
5500
00
#03712:00
550055
#03711:00
2545
00
#03712:00
450077
#03811:00
550000
#03812:00
000055
#03811:00
000073
#03812:00
370000
#03911:
00000055000055
00
#03912:00000000
55000055
#03911:
72000044000024
00
#03912:00000000
46000026
#04011:00
55
000000000000
#04012:000000
55005
50000
#04011:00
43
000000000000
#04012:000000
77007
50000
#04113:E1
#04114:E3
#04116:02
...
...
@@ -136,52 +132,51 @@
#04513:E1000000000000E1
#04514:E3000000000000E3
#04613:E1000000000000E
1
#04614:E3000000000000E
3
#04613:E1000000000000E
3
#04614:E3000000000000E
1
#04713:E
1E1
#04714:E
3E3
#04713:E
3E0
#04714:E
1E2
#04811:
1T00001T00001T
00
#04812:000000
1T00000000001T
000000000000
#04811:
88000084000062
00
#04812:000000
86000000000082
000000000000
#04911:00
1T
0000
#04912:0000
1T1T
#04913:E
1
#04914:E
3
#04911:00
64
0000
#04912:0000
6666
#04913:E
2
#04914:E
0
#05011:
1T1T
0000
#05012:0000
1T1T
#05011:
3333
0000
#05012:0000
3737
#05111:
1T1T
0000
#05112:0000
1T1T
#05111:
6363
0000
#05112:0000
6767
#05211:
1T1T
#05212:00
1T001T
#05211:
4444
#05212:00
660066
#05311:00000000000000
E0
0000000000000000
#05312:000000
E000000000000000E0
00000000
#05311:00000000000000
54
0000000000000000
#05312:000000
560000000000000056
00000000
#05313:E1
#05314:E3
#05411:00
02
#05412:00
020002
#05413:E
1
#05414:E
3
#05411:00
66
#05412:00
640064
#05413:E
3
#05414:E
1
#05513:E1
#05514:E3
#05613:E
1E1
#05614:E
3E3
#05613:E
0E2
#05614:E
2E0
#05711:
0202
0000
#05712:0000
0202
#05711:
1113
0000
#05712:0000
1719
#05811:0002001T
#05812:001T0000
#05813:E1
#05814:E3
#05816:E1
#05911:00020200
#05912:001T0002
...
...
RhythmKata/Assets/Resources/Level/___TempBMS.bms.meta
View file @
39b775a6
...
...
@@ -7,4 +7,4 @@ ScriptedImporter:
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid:
ee6f618bc43a08e44b3b2906bfdcf282
, type: 3}
script: {fileID: 11500000, guid:
0c4f1437c5bc6ba40b27bb82b1967307
, type: 3}
RhythmKata/Assets/Resources/SFX/SFX Project/sfx Project/Samples/Recorded.meta
0 → 100644
View file @
39b775a6
fileFormatVersion: 2
guid: d9a533cec04e2124e9c31541b4f63e72
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
RhythmKata/Assets/Scripts/EdgeNoteObject.cs
View file @
39b775a6
...
...
@@ -26,6 +26,8 @@ public class EdgeNoteObject : NoteObject
public
override
void
NoteHit
(
JudgeResult
type
)
{
PlayJudgeSfx
(
type
);
PlayEngine
.
inst
.
HandleNoteJudge
(
type
.
type
);
BlinkLight
light
=
Instantiate
(
PlayEngine
.
inst
.
edgeHitEffectPrefab
,
-
5
*
direction
,
Quaternion
.
identity
);
light
.
transform
.
LookAt
(
Vector3
.
zero
);
...
...
RhythmKata/Assets/Scripts/ForwardNoteObject.cs
View file @
39b775a6
...
...
@@ -7,6 +7,7 @@ public class ForwardNoteObject : NoteObject
public
RectTransform
ring
;
public
AnimationCurve
curve
;
private
Material
mat
;
private
Vector3
targetScale
;
// 각 노트별 개별 함수이기 때문에 상속 관계 유지 불필요.
public
void
Init
(
float
x
,
float
y
,
HandType
handType
)
...
...
@@ -49,7 +50,7 @@ public class ForwardNoteObject : NoteObject
}
private
void
Start
()
{
targetScale
=
transform
.
localScale
;
}
private
void
OnDisable
()
...
...
@@ -78,17 +79,22 @@ public class ForwardNoteObject : NoteObject
public
override
void
SetPosition
(
float
remainedTime
)
{
//base.SetPosition(remainedTime);
float
z
=
250
*
remainedTime
;
//base.SetPosition(remainedTime);
float
z
=
300
*
Mathf
.
Pow
(
Mathf
.
Abs
(
remainedTime
),
2f
)
*
Mathf
.
Sign
(
remainedTime
);
//float t = Mathf.Pow(1 - z / 250, 3);
float
t
=
1
-
remainedTime
;
transform
.
position
=
new
Vector3
(
curve
.
Evaluate
(
t
)
*
endPoint
.
x
,
curve
.
Evaluate
(
t
)
*
endPoint
.
y
,
endPoint
.
z
+
z
);
//transform.position = new Vector3(t * endPoint.x, t * endPoint.y, endPoint.z + z);
//transform.position = new Vector3(t * endPoint.x, t * endPoint.y, endPoint.z + z);
float
s
=
Mathf
.
Pow
(
Mathf
.
Abs
(
t
),
2f
)
*
Mathf
.
Sign
(
t
);
transform
.
localScale
=
targetScale
*
Mathf
.
Clamp
(
t
,
0.2f
,
1
);
var
showRing
=
remainedTime
<
0.3f
;
var
showRing
=
remainedTime
<
0.3f
;
ring
.
localScale
=
Mathf
.
Max
((
1
+
20
*
remainedTime
),
0
)
*
new
Vector3
(
1
,
1
,
1
);
// change ring alpha
var
img
=
ring
.
gameObject
.
GetComponent
<
UnityEngine
.
UI
.
Image
>();
...
...
RhythmKata/Assets/Scripts/NoteObject.cs
View file @
39b775a6
...
...
@@ -28,7 +28,7 @@ public abstract class NoteObject : MonoBehaviour
remainedTime
=
maxRemainedTime
;
}
public
v
irtual
void
NoteHit
(
JudgeResult
judge
)
public
v
oid
PlayJudgeSfx
(
JudgeResult
judge
)
{
AudioClip
hitClip
=
null
;
// play hit sound
...
...
@@ -41,6 +41,11 @@ public abstract class NoteObject : MonoBehaviour
{
AudioSource
.
PlayClipAtPoint
(
hitClip
,
Vector3
.
zero
);
}
}
public
virtual
void
NoteHit
(
JudgeResult
judge
)
{
PlayJudgeSfx
(
judge
);
GameObject
hitEffect
=
null
;
// hit effect
...
...
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