07th-mod / higurashi-assembly

9 stars 8 forks source link

Fix sliders on first boot, carret not clearing, choice button fade out, etc. #99

Closed drojf closed 1 year ago

drojf commented 1 year ago

I noticed a bug (in rei, but probably also in all chapters) where the first time you start the game, the sliders will have the wrong values (they will look like they're at 100% when they're actually at 50% or 75% for voice).

If you visited the config menu the first time you boot the game, this might make you want to reset them all to 50%. since they look too high.

This appears to be because on first boot, the various volumes/opacity etc. are not synced with their flags. I just changed the sliders to take the values directly from the flags, rather than the variables.

Haven't done much testing on this, am worried this might break the sliders.

Note that I simulated "first boot" by deleting the global.dat file, unsure if there is some default global.dat file that comes with the game, or if it is generated the first time you boot the game.

See https://github.com/07th-mod/higurashi-rei/issues/13#issuecomment-1327192162