Skip to content

[BUGFIX] Fix Character Select transition breaking when spamming Android back button - #8036

Open
Heng-Leangseng wants to merge 1 commit into
FunkinCrew:preview/public-playtestfrom
Heng-Leangseng:JO67
Open

[BUGFIX] Fix Character Select transition breaking when spamming Android back button#8036
Heng-Leangseng wants to merge 1 commit into
FunkinCrew:preview/public-playtestfrom
Heng-Leangseng:JO67

Conversation

@Heng-Leangseng

@Heng-Leangseng Heng-Leangseng commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Linked Issues

#8022

Description

I added a #if android to super.create and super.destroy where the create i use the #if android as false which disables the native Flixel Android features while we're selecting a playable character like Pico for example and when it is picked, the #in android with true value will obviously re-enable native Flixel Android features back to it original self which prevents the Character Select transition from breaking

Screenshots/Videos

gotta use medal cuz the video busted : https://medal.tv/games/imported-clips/clips/npAwOKYi24UTs2XmM?invite=cr-MSxjZmwsNDM2NzU1ODA4

@github-actions github-actions Bot added size: small A small pull request with 10 or fewer changes. status: pending triage Awaiting review. pr: haxe PR modifies game code. labels Aug 28, 2026
@Heng-Leangseng

Heng-Leangseng commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

the old one so busted which i gave up and make a new one

@Hundrec Hundrec added type: minor bug Involves a minor bug or issue. platform: android Specific to Android and other Android-based Mobile platforms. labels Aug 29, 2026
@Hundrec Hundrec changed the title [BUGFIX]: Character Select transition breaks when spamming Android back button [BUGFIX] Fix Character Select transition breaking when spamming Android back button- #8034 Aug 29, 2026
@Hundrec Hundrec changed the title [BUGFIX] Fix Character Select transition breaking when spamming Android back button- #8034 [BUGFIX] Fix Character Select transition breaking when spamming Android back button Aug 29, 2026
@realvirtu

Copy link
Copy Markdown
Contributor

I assume the android back button simulates the escape button being pressed, right? Could this be a problem with how the back button is checked, instead of disabling android?

@Heng-Leangseng

Heng-Leangseng commented Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

Could this be a problem with how the back button is checked, instead of disabling android?

Yeah, that could be it. Disabling Android is mostly just a quick way to stop it from forcing default mobile behavior. I use FlxG.android.enabled to block or toggle Android-specific features like the back button and also #if android to not affect with the desktop build 💔

@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

platform: android Specific to Android and other Android-based Mobile platforms. pr: haxe PR modifies game code. size: small A small pull request with 10 or fewer changes. status: pending triage Awaiting review. type: minor bug Involves a minor bug or issue.

Development

Successfully merging this pull request may close these issues.

Bug Report: Character Select transition breaks when spamming Android back button

3 participants