juzzlin / DustRacing2D

Dust Racing 2D is a traditional top-down car racing game including a level editor.
http://juzzlin.github.io/DustRacing2D/index.html
GNU General Public License v3.0
301 stars 67 forks source link

Menu transition is slow when selecting difficulty and laps #64

Closed Wuzzy2 closed 5 years ago

Wuzzy2 commented 5 years ago

If I select the difficulty and the laps, the time it takes for the new menu to appear is noticable long. It's a few seconds sometimes, but it should be instant. This does not take the animation into account.

Version: 2.0.3

Maybe this is related to #2.

juzzlin commented 5 years ago

This happens only sometimes? Sounds weird. I haven't ever seen slow performance in the menu.

Wuzzy2 commented 5 years ago

When I delete my Game.conf, it is fast again. My current Game.conf currently has ca. 400 lines (I have played this game quite a bit recently, a lot of unlocked tracks in various lap counts, saved records, etc. …). Maybe the reading of this file is just slow. Maybe?

juzzlin commented 5 years ago

It shouldn't be that slow, but it could be evaluated many times. I didn't find that kind of a bug in those menus, however. Fixed a possible problem in track selection menu.