Skip to content

fix(timing feedback by Albert): general fixes and improvements#87

Open
AlberttFrgk wants to merge 13 commits into
tosuapp:masterfrom
AlberttFrgk:master
Open

fix(timing feedback by Albert): general fixes and improvements#87
AlberttFrgk wants to merge 13 commits into
tosuapp:masterfrom
AlberttFrgk:master

Conversation

@AlberttFrgk
Copy link
Copy Markdown
Contributor

better accuracy and new preview demo
demo

@GabuTheDev GabuTheDev added overlay: update state: ready This PR is ready to be merged. labels May 9, 2026
@GabuTheDev GabuTheDev changed the title refactor: improve accuracy and fix rate for lazer refactor(timing feedback by Albert): improve accuracy and fix rate for lazer May 9, 2026
@AlberttFrgk
Copy link
Copy Markdown
Contributor Author

AlberttFrgk commented May 9, 2026

never mind i have 1 more to commit

}

if (data.hitErrors.length > processedHits) {
for (let i = processedHits; i < data.hitErrors.length; i++) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this causing issue, i revert back and better approach on newer code

@AlberttFrgk AlberttFrgk changed the title refactor(timing feedback by Albert): improve accuracy and fix rate for lazer refactor(timing feedback by Albert): improve accuracy, fix rate for lazer, fix all overlay desyncs, font jitter, and startup glitches, fix cpu usage, fix ghost frame because custom image (see comment) May 9, 2026
@AlberttFrgk
Copy link
Copy Markdown
Contributor Author

AlberttFrgk commented May 9, 2026

image

fixed this issue after brainstroming

@AlberttFrgk
Copy link
Copy Markdown
Contributor Author

image after fix

@GabuTheDev GabuTheDev changed the title refactor(timing feedback by Albert): improve accuracy, fix rate for lazer, fix all overlay desyncs, font jitter, and startup glitches, fix cpu usage, fix ghost frame because custom image (see comment) fix(timing feedback by Albert): general fixes and improvements May 9, 2026

applyFontSettings();

// THE FIX: Preload both images immediately so they never have to decode mid-game
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you really don't have to add comments like this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mb for this

uiText.classList.add("hide-visual");
uiImage.classList.remove("hide-visual");
uiImage.src = isEarly ? settings.imageEarly : settings.imageLate;
// INSTANT TOGGLE: We just flip the visibility. The images are already loaded in the DOM.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these look like AI comments

Copy link
Copy Markdown
Contributor Author

@AlberttFrgk AlberttFrgk May 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep i tired to fix it yesterday i use ai this time i can remove it if u want

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

atleast

@AlberttFrgk
Copy link
Copy Markdown
Contributor Author

no update until peppy did something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

overlay: update state: ready This PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants