FPS hit 100+! HOW!

1 sentence description of the problem (I was doing _________, and then __________ happened): I was coding my diep.io tanks project when the fps suddenly reached 100+!

Steps that the Hopscotch team can take to reproduce my problem every time:

  1. Play this project diep.io tanks v.6 (More tanks coming soon) by HappyCoder😃🇺🇦
  2. Switch until you get flank guard, then shoot bullets

I expected this to happen: the fps to stay under 60

But instead this happened: 100+ FPS!

Here’s a sweet screenshot/video:


Your username: HappyCoder​:smiley::ukraine:

What kind of device are you using?: (Also include iOS version, and Hopscotch version) 5th generation apple ipad, ios 15.7, player 2.12 hopscotch version 3.54.2

4 Likes

it’s more “tap the play button, then you have a small little change having doubled fps”. it’s a pretty known bug, simply exit and reenter and youre good

btw, that flank guard is so cute :D

5 Likes

Thanks, just added Octo tank and Quad Tank, Tri-Angle will be hard though

4 Likes

Is their a 60 fps cap on HS? If their isn’t then wouldn’t this be a good thing?

4 Likes

my favorite tank hehe

its really a cap for most devices, not hopscotch- idk if there is one that can go over that, but if there is, then yeah i guess it is a good thing. but the fps probably isn’t actually 107- just a visual thing, id assume.

7 Likes

I think that’s a duplicate of this topic:

@Octo-Pi Let me know if this is a consistent way to reproduce because your method to reproduce doesn’t work. (Reproduction steps have to happen every time – having it happen once doesn’t mean those steps can be taken every time to make the bug happen again)

(no need to press play button at first, just do step 2, which is to tap edit button while HS shows a white screen with loading animation)

4 Likes

Same, I play with it on diep.io!

4 Likes

Very common glitch. Some of us have made code to compensate for the extra speed. After the glitch occurs, the FPS could reach up to 120, which is obviously not normal nor stable.

3 Likes

Yea, all u have to do is make everything go at a speed relative to the fps be that the average 60 or 120

1 Like

More specifically, tap the play/edit button rapidly until you get a more distinct white flash.