maxnut / GDMegaOverlay

Free geometry dash mod menu with useful features such as: startpos switcher, show hitboxes, internal recorder, macro bot, clickbot and much more
GNU General Public License v3.0
277 stars 44 forks source link

Inaccurate FPS display #361

Closed edwloef closed 4 months ago

edwloef commented 5 months ago

Comparing the in-game FPS counter with the one included in the menu, the menu one seems to always be slightly off. In this clip my FPS are capped at 240, despite that the menu's counter rests at 239. After looking into Commmon::calculateFramerate() I can't find any issue though.

https://github.com/maxnut/GDMegaOverlay/assets/75493688/cedff890-04b5-471c-9128-50e3d2172872

maxnut commented 5 months ago

first of all calculate framerate is not responsible for the label, you need to look into labels implementation. the fps counter being off is probably because its averaging and rounding incorrectly shouldn't be too hard to fix

maxnut commented 4 months ago

fixed