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
0b135960
Commit
0b135960
authored
Nov 24, 2019
by
15박보승
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Music Selection에서 곡명, 곡 이미지 표기 구현
parent
7561f915
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
341 additions
and
1818 deletions
+341
-1818
Precision Strike.asset
RhythmKata/Assets/Resources/Level/Precision Strike.asset
+2
-0
precision strike.jpg
RhythmKata/Assets/Resources/Level/precision strike.jpg
+0
-0
precision strike.jpg.meta
RhythmKata/Assets/Resources/Level/precision strike.jpg.meta
+103
-0
test.asset
RhythmKata/Assets/Resources/Level/test.asset
+2
-0
mergescene.unity
RhythmKata/Assets/Scenes/mergescene.unity
+218
-1810
LevelScriptableObject.cs
RhythmKata/Assets/Scripts/Core/LevelScriptableObject.cs
+2
-0
IngameUIManager.cs
RhythmKata/Assets/Scripts/IngameUIManager.cs
+14
-8
No files found.
RhythmKata/Assets/Resources/Level/Precision Strike.asset
View file @
0b135960
...
...
@@ -12,6 +12,8 @@ MonoBehaviour:
m_Script
:
{
fileID
:
11500000
,
guid
:
9da68daca0d18d643a5342861db4e4df
,
type
:
3
}
m_Name
:
Precision Strike
m_EditorClassIdentifier
:
Assembly-CSharp:Core:LevelScriptableObject
title
:
Precision Strike
image
:
{
fileID
:
21300000
,
guid
:
59df497dae69b0b42ac354c2c9ea8898
,
type
:
3
}
bms
:
{
fileID
:
-8350457297130525221
,
guid
:
bbd833f16d7e27749bf4697b9530280f
,
type
:
3
}
audioFile
:
{
fileID
:
8300000
,
guid
:
51adb37087ebecf4d96fb77577c2312c
,
type
:
3
}
offsetBarTime
:
0
RhythmKata/Assets/Resources/Level/precision strike.jpg
0 → 100644
View file @
0b135960
396 KB
RhythmKata/Assets/Resources/Level/precision strike.jpg.meta
0 → 100644
View file @
0b135960
fileFormatVersion: 2
guid: 59df497dae69b0b42ac354c2c9ea8898
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
RhythmKata/Assets/Resources/Level/test.asset
View file @
0b135960
...
...
@@ -12,6 +12,8 @@ MonoBehaviour:
m_Script
:
{
fileID
:
11500000
,
guid
:
9da68daca0d18d643a5342861db4e4df
,
type
:
3
}
m_Name
:
test
m_EditorClassIdentifier
:
Assembly-CSharp:Core:LevelScriptableObject
title
:
test
image
:
{
fileID
:
0
}
bms
:
{
fileID
:
-3578495943587161340
,
guid
:
902bbdf1e37cea640b6168c6f0772ddb
,
type
:
3
}
audioFile
:
{
fileID
:
8300000
,
guid
:
f9e42d55c607b48418a7128b95607984
,
type
:
3
}
offsetBarTime
:
0
RhythmKata/Assets/Scenes/mergescene.unity
View file @
0b135960
This diff is collapsed.
Click to expand it.
RhythmKata/Assets/Scripts/Core/LevelScriptableObject.cs
View file @
0b135960
...
...
@@ -3,6 +3,8 @@
[
CreateAssetMenu
(
fileName
=
"New Level"
,
menuName
=
"Level"
,
order
=
1
)]
public
class
LevelScriptableObject
:
ScriptableObject
{
public
string
title
;
public
Sprite
image
;
public
TextAsset
bms
;
public
AudioClip
audioFile
;
public
double
offsetBarTime
=
0
;
...
...
RhythmKata/Assets/Scripts/IngameUIManager.cs
View file @
0b135960
...
...
@@ -20,6 +20,7 @@ public class IngameUIManager : SingletonBehaviour<IngameUIManager>
private
int
musicIdx
=
0
;
public
Image
prevMusicImage
,
nextMusicImage
,
curMusicImage
;
public
Text
musicNameText
;
public
List
<
GameObject
>
UISetList
=
new
List
<
GameObject
>();
...
...
@@ -29,6 +30,7 @@ public class IngameUIManager : SingletonBehaviour<IngameUIManager>
{
NoteObject
.
OnNoteHit
+=
OnNoteHit
;
ChangeUISet
(
UISetType
.
SELECTION
);
OnChangeMusicButtonClicked
(
0
);
}
public
void
OnNoteHit
(
JudgeResult
type
)
{
...
...
@@ -65,21 +67,25 @@ public class IngameUIManager : SingletonBehaviour<IngameUIManager>
public
void
OnChangeMusicButtonClicked
(
int
delta
)
{
int
musicCount
=
PlayEngine
.
inst
.
levelList
.
Length
;
musicIdx
+=
delta
;
//Need MAX_MUSIC_COUNT constant in PlayEngine or etc...
/*
if
(
musicIdx
<
0
)
{
musicIdx =
MAX_MUSIC_COUNT
- 1;
musicIdx
=
musicCount
-
1
;
}
else if (musicIdx >
MAX_MUSIC_COUNT
- 1)
else
if
(
musicIdx
>
musicCount
-
1
)
{
musicIdx
=
0
;
}
prevMusicImage.sprite = ImageList[musicIdx - 1 >= 0 ?musicIdx - 1: MAX_MUSIC_COUNT - 1 ];
nextMusicImage.sprite = ImageList[musicIdx + 1 < MAX_MUSIC_COUNT ? musicIdx + 1 : 0 ];
curMusicImage.sprite = ImageList[musicIdx];
*/
LevelScriptableObject
cur
=
PlayEngine
.
inst
.
levelList
[
musicIdx
];
LevelScriptableObject
prev
=
PlayEngine
.
inst
.
levelList
[
musicIdx
-
1
>=
0
?
musicIdx
-
1
:
musicCount
-
1
];
LevelScriptableObject
next
=
PlayEngine
.
inst
.
levelList
[
musicIdx
+
1
<
musicCount
?
musicIdx
+
1
:
0
];
prevMusicImage
.
sprite
=
prev
.
image
;
curMusicImage
.
sprite
=
cur
.
image
;
nextMusicImage
.
sprite
=
next
.
image
;
musicNameText
.
text
=
"♪ "
+
cur
.
title
;
}
public
void
OnStartButtonClicked
()
{
...
...
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