Skip to content

Remove unused sprites in Freeplay - #7729

Open
ACrazyTown wants to merge 1 commit into
FunkinCrew:developfrom
ACrazyTown:freeplay-21fps
Open

Remove unused sprites in Freeplay#7729
ACrazyTown wants to merge 1 commit into
FunkinCrew:developfrom
ACrazyTown:freeplay-21fps

Conversation

@ACrazyTown

@ACrazyTown ACrazyTown commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Linked Issues

N/A

Description

These sprites were added in b9230b6, meant to be used for a swipe gesture to exit Freeplay, but were made useless in d79f994. Despite this, they are still part of the Freeplay state, and the game renders them... before drawing over them with the actual sprites.

By removing them we can get rid of 2 useless draw calls. Yay!

Screenshots/Videos

A showcase of the draw calls made by the game in RenderDoc. You can see the top border and the arrow get drawn before being drawn over by the background again and the "FREEPLAY" text.

2026-06-23.19-44-33.mp4

@github-actions github-actions Bot added status: pending triage Awaiting review. size: medium A medium pull request with 100 or fewer changes. pr: haxe PR modifies game code. labels Jun 23, 2026
@NotHyper-474 NotHyper-474 added type: optimization Involves a performance issue or a bug which causes lag. topic: freeplay Related to the operation of the Freeplay menu. labels Jun 23, 2026
@KT-Gameplay

Copy link
Copy Markdown

I'm gonna use RenderDoc

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. topic: freeplay Related to the operation of the Freeplay menu. type: optimization Involves a performance issue or a bug which causes lag.

Development

Successfully merging this pull request may close these issues.

4 participants