Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Most levels lag when being played on Android devices #20

Open
Alzter opened this issue Sep 4, 2023 · 0 comments
Open

BUG: Most levels lag when being played on Android devices #20

Alzter opened this issue Sep 4, 2023 · 0 comments

Comments

@Alzter
Copy link
Owner

Alzter commented Sep 4, 2023

SuperTux Classic version: v0.4.1
System information: Android Devices Only

Describe the bug
Ever since the level editor was added into the Android release of SuperTux Classic in version v0.4.0, the game now lags when playing most levels.

To Reproduce
Steps to reproduce the behavior:

  1. Play practically any level in SuperTux Classic on Android (v0.4.0 or above)
  2. The game will lag. The lag ranges from very little to very noticeable depending on the level. The lag tends to vary randomly and come in "spikes" as you play through levels. Sometimes levels are smooth and other times the game noticeably stutters.

Expected behavior
The game shouldn't lag when you play through levels in STC for Android.

Fix strategy
Whatever changes were made in v0.4.0 have clearly made the Android version of the game lag more. v0.4.0 dramatically restructured the game's file structure and scene referencing to support the newly added level editor, so it's possible that whatever changes were made to introduce the level editor have inadvertently made the game more processor intensive and therefore more slow on mobile devices.

The source of the lag will need to be identified and relevant optimisations will need to be made to remove the lag on Android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant