Skip to content

[OPTIMIZATION] Avoid immediately destroying graphics on no use - #7189

Open
Raltyro wants to merge 1 commit into
FunkinCrew:developfrom
Raltyro:defaultDestroyOnNoUse
Open

[OPTIMIZATION] Avoid immediately destroying graphics on no use#7189
Raltyro wants to merge 1 commit into
FunkinCrew:developfrom
Raltyro:defaultDestroyOnNoUse

Conversation

@Raltyro

@Raltyro Raltyro commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Linked Issues

None Issues, but from what i gathered, the game constantly destroys and creates freeplayCapsule graphic in freeplay menu.
This fixes that.

Description

Avoids immediately destroying graphics that may be re-used later for most of the time.

Require this pull request at flixel to work:

Screenshots/Videos

None

@github-actions github-actions Bot added status: pending triage Awaiting review. size: tiny A tiny pull request with 4 or fewer changes. pr: haxe PR modifies game code. labels Mar 20, 2026
@Raltyro Raltyro changed the title Avoid immediately destroying graphics on no use [CHORE] Avoid immediately destroying graphics on no use Mar 20, 2026
@Hundrec Hundrec added the type: optimization Involves a performance issue or a bug which causes lag. label Mar 20, 2026
@Raltyro Raltyro changed the title [CHORE] Avoid immediately destroying graphics on no use [OPTIMIZATION] Avoid immediately destroying graphics on no use Mar 26, 2026
@Hundrec
Hundrec requested a review from moondroidcoder March 26, 2026 22:15
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: tiny A tiny pull request with 4 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.

2 participants