Initial commit

This commit is contained in:
Thastertyn committed 2024-06-07 00:47:07 +02:00
commit 262601edb8
2025 files changed
+218754

No files matched your search

+80
View File
@@ -0,0 +1,80 @@
#game {
flex-direction: row;
height: 100%;
width: 100%;
}
#GameButtons {
width: 100%;
flex-grow: 1
}
#GameCenterWrapper {
width: 55%;
}
#LeftVisualizer {
width: 22.5%;
}
#RightVisualizer {
width: 22.5%;
}
.GameButtonClicked {
background-color: red;
scale: 1.1;
}
.GameButton {
transition: scale;
transition-duration: 0.05s;
width: 20%;
height: 20%;
margin: auto;
font-size: 32px;
border-radius: 45px;
border-width: 0px;
}
.Bar {
width: 100%;
height: 0.7%;
background-color: white;
}
.LeftBar {
margin: auto;
margin-left: 0;
}
.RightBar {
margin: auto;
margin-right: 0;
}
#GameBackgroundImageWrapper {
position: absolute;
width: 100%;
height: 100%;
flex-direction: row;
}
#TimeLeft,
#Score {
font-size: 35px;
-unity-font-style: bold;
-unity-text-align: middle-center;
color: white;
}
#GameBackgroundImageLeft {
background-image: url('project://database/Assets/Images/left.png');
margin-right: 35%;
}
#GameBackgroundImageRight {
background-image: url('project://database/Assets/Images/right.png');
margin-left: 35%;
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 22dc97724a71e96659b7360977e2edb2
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+28
View File
@@ -0,0 +1,28 @@
#body {
background-color: #282828;
width: 100%;
height: 100%;
}
.UIContentWrapper {
width: 80%;
height: 90%;
margin: auto;
}
.TitleWord1 {
-unity-text-align: lower-left;
}
.TitleWord2 {
-unity-text-align: lower-center;
}
.TitleWord3 {
-unity-text-align: lower-right;
}
.TitleWrapper {
flex-direction: row;
justify-content: space-between;
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5408c5e304a4f5f6a957844369aba433
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+75
View File
@@ -0,0 +1,75 @@
#level {
width: 100%;
height: 100%;
translate: 100% 100%;
}
#scroll {
border-radius: 0 15px 15px 15px;
background-color: rgb(255, 255, 255);
}
.title-text {
font-size: 60px;
color: white;
-unity-font-style: bold;
}
.songEntry {
transition-property: translate, scale;
transition-duration: 0.2s;
width: 90%;
border-radius: 50px 0;
background-color: #777;
margin: 15px auto 15px auto;
border-color: none;
border-width: 0px;
}
.songEntry:active {
scale: 0.95;
}
.songEntry:hover {
translate: 2% 0;
}
.SongEntryContentWrapper {
margin: 15px;
flex-direction: row;
height: 100%;
}
.SongEntryCoverImage {
height: 200px;
max-width: 200px;
margin-right: 20px;
padding: 20px;
border-radius: 25px 0;
}
.SongEntryLabelWrapper {
justify-content: space-around;
}
.SongEntryLabel {
font-size: 28px;
-unity-text-align: middle-left;
height: 25%;
}
#unity-dragger {
border-radius: 10px;
}
/*
#unity-tracker {
padding: 10px;
} */
#unity-low-button {
border-radius: 15px 15px 0 0;
}
#unity-high-button {
border-radius: 0 0 15px 15px;
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d5179339de5a78f8da0ea7c2ae48ab5f
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+66
View File
@@ -0,0 +1,66 @@
.menu-button {
transition-property: scale, rotate;
transition-duration: 0.2s;
border-radius: 8px;
margin: 5px;
padding: 0 80px;
height: 33.3%;
color: white;
}
#menu {
background-color: rgb(40, 40, 40);
width: 100%;
height: 100%;
}
.menu-button:hover {
scale: 1.1;
}
#Play:hover {
rotate: 0.3deg;
}
#Quit:hover {
rotate: 0.3deg;
}
#Soon:hover {
rotate: -0.3deg;
}
.menu-button:active {
scale: 0.9;
}
.ButtonWrapper {
width: 40%;
height: 40%;
margin: auto;
font-size: 40px;
}
#BackButtonWrapper {
flex-direction: row;
justify-content: space-between;
}
.BottomButton {
transition: scale;
transition-duration: 0.2;
margin: 0;
border-width: 0;
font-size: 35px;
-unity-font-style: bold;
color: white;
}
#Reload {
transition: color, scale;
transition-duration: 0.2;
}
.BottomButton:hover {
scale: 1.1;
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d36a2fb1addd20122a1f34045ff84bb7
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
+54
View File
@@ -0,0 +1,54 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI/Menu.uss?fileID=7433441132597879392&amp;guid=d36a2fb1addd20122a1f34045ff84bb7&amp;type=3#Menu" />
<Style src="project://database/Assets/UI/GlobalMenu.uss?fileID=7433441132597879392&amp;guid=5408c5e304a4f5f6a957844369aba433&amp;type=3#GlobalMenu" />
<Style src="project://database/Assets/UI/Level.uss?fileID=7433441132597879392&amp;guid=d5179339de5a78f8da0ea7c2ae48ab5f&amp;type=3#Level" />
<Style src="project://database/Assets/UI/Game.uss?fileID=7433441132597879392&amp;guid=22dc97724a71e96659b7360977e2edb2&amp;type=3#Game" />
<ui:VisualElement name="body" style="flex-grow: 1;">
<ui:VisualElement name="menu" style="flex-grow: 1; display: none;">
<ui:VisualElement name="button-wrapper" class="ButtonWrapper">
<ui:Button text="PLAY" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Play" class="menu-button" />
<ui:Button text="SOON™" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Soon" class="menu-button" />
<ui:Button text="QUIT" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Quit" class="menu-button" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="levels" style="flex-grow: 1; display: none;">
<ui:VisualElement name="scroll-wrapper" class="UIContentWrapper">
<ui:VisualElement name="text-wrapper" class="TitleWrapper" style="flex-grow: 1;">
<ui:Label tabindex="-1" text="PLAY" parse-escape-sequences="true" display-tooltip-when-elided="true" name="play" class="title-text" style="-unity-text-align: upper-left;" />
<ui:Label tabindex="-1" text="SOME" parse-escape-sequences="true" display-tooltip-when-elided="true" name="some" class="title-text" style="-unity-text-align: upper-center;" />
<ui:Label tabindex="-1" text="BANGER" parse-escape-sequences="true" display-tooltip-when-elided="true" name="banger" class="title-text" style="-unity-text-align: upper-right;" />
</ui:VisualElement>
<ui:ScrollView name="scroll" mouse-wheel-scroll-size="1000" style="height: 100%; background-color: rgba(255, 255, 255, 0);" />
<ui:VisualElement name="BackButtonWrapper" style="flex-grow: 1;">
<ui:Button text="← BACK" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Back" class="BottomButton" />
<ui:Button text="ADD A BANGER" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Open" class="BottomButton" />
<ui:Button text="RELOAD ⟳" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Reload" class="BottomButton" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<UITypes.GameElement name="game" style="display: flex;">
<ui:VisualElement name="GameBackgroundImageWrapper" style="flex-grow: 1;">
<ui:VisualElement name="GameBackgroundImageLeft" style="flex-grow: 1;" />
<ui:VisualElement name="GameBackgroundImageRight" style="flex-grow: 1;" />
</ui:VisualElement>
<UITypes.Visualizer name="LeftVisualizer" />
<ui:VisualElement name="GameCenterWrapper" style="flex-grow: 1;">
<ui:Label tabindex="-1" text="SCORE:" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Score" />
<ui:VisualElement name="GameButtons" style="flex-direction: row; flex-grow: 1;">
<ui:Button text="←" parse-escape-sequences="true" display-tooltip-when-elided="true" name="GameLeftButton" class="GameButton" />
<ui:Button text="↑" parse-escape-sequences="true" display-tooltip-when-elided="true" name="GameUpButton" class="GameButton" />
<ui:Button text="↓" parse-escape-sequences="true" display-tooltip-when-elided="true" name="GameDownButton" class="GameButton" />
<ui:Button text="→" parse-escape-sequences="true" display-tooltip-when-elided="true" name="GameRightButton" class="GameButton" />
<ui:VisualElement name="UpcomingColumnWrapper" style="flex-grow: 1; position: absolute; width: 100%; height: 60%; flex-direction: row;">
<ui:VisualElement name="LeftArrowUpcomingColumn" style="flex-grow: 1; position: relative; height: 100%; width: 25%;" />
<ui:VisualElement name="UpArrowUpcomingColumn" style="flex-grow: 1; position: relative; height: 100%; width: 25%;" />
<ui:VisualElement name="DownArrowUpcomingColumn" style="flex-grow: 1; position: relative; height: 100%; width: 25%;" />
<ui:VisualElement name="RightArrowUpcomingColumn" style="flex-grow: 1; position: relative; height: 100%; width: 25%;" />
</ui:VisualElement>
</ui:VisualElement>
<ui:Label tabindex="-1" text="TIME LEFT" parse-escape-sequences="true" display-tooltip-when-elided="true" name="TimeLeft" />
</ui:VisualElement>
<UITypes.Visualizer name="RightVisualizer" />
</UITypes.GameElement>
</ui:VisualElement>
</ui:UXML>
+10
View File
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: ea7db04dace1fc530a1382a7732d44a1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}