Skip to content

[OPTIMIZATION] Set active to false on SustainTrails - #8049

Open
ADA-Funni wants to merge 2 commits into
FunkinCrew:preview/public-playtestfrom
ADA-Funni:adafunni/sustaintrail-active
Open

[OPTIMIZATION] Set active to false on SustainTrails#8049
ADA-Funni wants to merge 2 commits into
FunkinCrew:preview/public-playtestfrom
ADA-Funni:adafunni/sustaintrail-active

Conversation

@ADA-Funni

Copy link
Copy Markdown
Contributor

This is the same optimisation used by NoteSprite when the graphic isn't animated to prevent FPS drops.
SustainTrails are obviously not animated, so this fix seems like a no-brainer to me.

@github-actions github-actions Bot added status: pending triage Awaiting review. pr: haxe PR modifies game code. size: tiny A tiny pull request with 4 or fewer changes. labels Aug 29, 2026
@Hundrec
Hundrec force-pushed the preview/public-playtest branch from ae0e3ff to b190bf7 Compare August 30, 2026 11:12
@Hundrec Hundrec added the type: optimization Involves a performance issue or a bug which causes lag. label Aug 30, 2026
@Hundrec Hundrec changed the title Set active to false on SustainTrails. [OPTIMIZATION] Set active to false on SustainTrails Aug 30, 2026

@nykwono nykwono left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You should make Strumline.scrollSpeed a setter function that updates the holds so the hold notes their update size because with SustainTrail.active being false will make them be off until you hit them.

@ADA-Funni

Copy link
Copy Markdown
Contributor Author

You should make Strumline.scrollSpeed a setter function that updates the holds so the hold notes their update size because with SustainTrail.active being false will make them be off until you hit them.

That should be a separate pull request

@ADA-Funni
ADA-Funni force-pushed the adafunni/sustaintrail-active branch from 1d75789 to bd38bae Compare August 31, 2026 00:23
@github-actions github-actions Bot added size: medium A medium pull request with 100 or fewer changes. and removed size: tiny A tiny pull request with 4 or fewer changes. labels Aug 31, 2026
@Hundrec
Hundrec force-pushed the preview/public-playtest branch from 3f2fe37 to a1fa227 Compare September 1, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. status: pending triage Awaiting review. type: optimization Involves a performance issue or a bug which causes lag.

Development

Successfully merging this pull request may close these issues.

3 participants