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

Lags and increase in respawn delay since 1.0.6 #26

Open
Mr5quid opened this issue Jan 9, 2019 · 13 comments
Open

Lags and increase in respawn delay since 1.0.6 #26

Mr5quid opened this issue Jan 9, 2019 · 13 comments

Comments

@Mr5quid
Copy link

Mr5quid commented Jan 9, 2019

Hi,

I'm running TowerJump 1.0.6 from F-Droid on a Wileyfox Swift (1st gen) and since this version I am experiencing lags continuously and the time it takes to respawn has increased drastically to the point where the game isn't enjoyable anymore. I measured 17 seconds to respawn whereas it used to take maybe 2 seconds.

I tried downgrading from F-Droid but it throws back an "unknown error". I don't really want to reinstall as I'm afraid I'd lose my progress (I'm at level 712, please don't judge me).

My phone's running LineageOS 15.1 but I have the same issue on a Wiko U Feel Prime with stock ROM.

I hope I'll be able to play again soon, I find it to be one of the best games available on F-Droid 😃

@Dariasteam
Copy link
Owner

Currently you are facing 262 platforms, so it has some sense to load slower but no so much! I'm going to restrict the maximum length of the levels to 100 and try improve the loading process.

The lags have any pattern? Like appearing only when breaking a platform or something.

@Dariasteam
Copy link
Owner

Also did you know that pressing the top left button you can disable dynamic shadows?

@Mr5quid
Copy link
Author

Mr5quid commented Jan 10, 2019

Hi, thanks for your reply.

I realized after posting that the levels were much longer than they used to be and that it could indeed explain the issue. I'm guessing the length now increases with the level.

About the lags : It especially happens when getting to a new platform. So moving sideways on a given platform is fine but then I'll experience a tiny lag when I jump to the next one, after impact . Then if I jump several platforms in a row and break stuff it does lag more yes.

Also yes I knew about the dynamic shadows button. My phone's not really a beast so I find the framerate to be higher with shadows turned off.

@Ertain
Copy link

Ertain commented Jan 10, 2019

Thank you for that information about the platforms, @Dariasteam.

@Dariasteam
Copy link
Owner

@Ertain
Copy link

Ertain commented Jan 10, 2019

Hooray for that new denominator. :P

@Bubu
Copy link

Bubu commented Jan 11, 2019

I've instead experienced a crash on respawning at level ~340 on a Nexus 6P.

First start works fine, after first death the game freezes for 2-3 s and then disappears.

@Ertain
Copy link

Ertain commented Jan 11, 2019

So you've been using the latest stable version, @Bubu, and your gave crashes after the ball tries to respawn? Hmmm, could be when the level tries to load, some process takes too long. Or maybe it has something to do with the code which generates the platforms?

@Bubu
Copy link

Bubu commented Jan 11, 2019

Yes, using the version 1.0.6 from f-droid. Resetting the app to start from level 1 again "fixed" the issue for now.

@Dariasteam
Copy link
Owner

Now levels have a maximum length of 100 platforms, I think that should do the trick. Merge request is already open in fdroid

@Dariasteam
Copy link
Owner

Also I think I can improve the instantiation process and make it a bit faster.

@Dariasteam
Copy link
Owner

Dariasteam commented Jan 14, 2019

But first #29

@Mr5quid
Copy link
Author

Mr5quid commented Jan 14, 2019

Excellent ! Can't wait to try it out. I love the new colours by the way.
Too bad for #29 though, I was planning on playing TowerJump instead of preparing my finals 😄

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

4 participants