diff --git a/Game.js b/Game.js
index 9184f40..fbbc678 100644
--- a/Game.js
+++ b/Game.js
@@ -93,10 +93,10 @@ class Game {
this.notesToSpawn.shift();
// broken hax
- // setTimeout(() => {
- // this.onKeyPress(noteToSpawn[0] - 1);
- // setTimeout(() => this.onKeyRelease(noteToSpawn[0] - 1), 50);
- // }, this.getMsToKey());
+ setTimeout(() => {
+ this.onKeyPress(noteToSpawn[0] - 1);
+ setTimeout(() => this.onKeyRelease(noteToSpawn[0] - 1), 50);
+ }, this.getMsToKey() - 20);
}
}
@@ -160,8 +160,7 @@ class Game {
lane.elements.notes.appendChild(noteElement);
lane.notesSpawned++;
lane.notes.push({ top, height: noteElement.offsetHeight, element: noteElement, id: lane.notesSpawned, slider: sliderHeight ? true : false });
- if (sliderHeight) noteElement.innerHTML = "
no slider implementation :P
"
- // TODO: slider height is in beats, gota calcualte somehow
+ if (sliderHeight) noteElement.innerHTML = "no slider implementation :P
" // TODO
noteElement.style.height = sliderHeight ? `${noteElement.offsetHeight + (this.beatToMs(sliderHeight) * this.noteMoveAmount)}px` : "auto";
}
diff --git a/index.html b/index.html
index 46e74e6..41fd31f 100644
--- a/index.html
+++ b/index.html
@@ -22,9 +22,8 @@
const skin = await getSkinData("skins/default");
loadDefaultSkin(skin);
- // const mapName = "Kobaryo - Endless Adventure - 208693";
- // const mapPath = `maps\\Quaver - ${mapName}`;
- const mapPath = `maps\\Quaver - Ludicin - Everlasting Eternity - 162225`;
+ const mapPath = `maps\\Quaver - Kobaryo - Cartoon Candy - 211237`;
+ // const mapPath = `maps\\Quaver - Kobaryo - Endless Adventure - 208693`;
const levelIndex = 0;
const map = await getMapData(mapPath);
@@ -33,7 +32,7 @@
const user = {
settings: {
scrollSpeed: 20,
- masterVolume: 0.5,
+ masterVolume: 5,
musicVolume: 100,
// musicVolume: 10,
sfxVolume: 100,