Fixes, removed diffs for stress (not done)

This commit is contained in:
Entarno54 2025-05-29 23:42:27 +07:00
parent 4a6d7db733
commit d9b589feea
3 changed files with 11 additions and 10 deletions

View File

@ -29,6 +29,7 @@ function love.update(dt)
curState.update(dt)
else
stateLoaded = true -- skipping this update frame
curState.finish()
end
elseif not curState then
if love.keyboard.isDown("return") then

View File

@ -121,7 +121,7 @@ return function(songName, songDifficulty)
end
end
local section = chart.notes[math.floor(step / 16) + 1]
local section = chart.notes[math.floor(step / 16) + 1]
if section.mustHitSection then
myTypes.cameraTarget = myTypes.Vector2(-stage.camera_boyfriend[1], -stage.camera_boyfriend[2]):Add(characters.bf.stageCamera:Negate()):Add(myTypes.Vector2(0, -200))
@ -264,18 +264,20 @@ return function(songName, songDifficulty)
receptors[i + 1] = receptor
end
inst:play()
voices:play()
elapsed = 0
playing = true
state.loaded = true
myTypes.cameraTarget = myTypes.Vector2()
end
function state.finish()
inst:play()
voices:play()
elapsed = 0
playing = true
end
return state
end

View File

@ -6,8 +6,6 @@
"erect"
],
"stress": [
"easy",
"normal",
"hard"
]
}