TheZoroForce240 / FNF-Modcharting-Tools

Apache License 2.0
51 stars 23 forks source link

Modchart Editor Lags after place a event after 200 Beats #36

Open EdwhakKB opened 1 year ago

EdwhakKB commented 1 year ago

So i was working on the editor and noticed that it dies after 200 beats (FPS goes lower than 10) so it make long song modcharts unstable How can i fix this?

https://github.com/TheZoroForce240/FNF-Modcharting-Tools/assets/128205303/13a92300-b1ef-40ec-944b-3b912b777767

Vortex2Oblivion commented 1 year ago

ok how do you even use the editor tho? it just confused me so much lol

EdwhakKB commented 1 year ago

make the modifier make the events and add them lmao but it lags after place a event after 200 beats why idk but it happends

TheZoroForce240 commented 1 year ago

i already knew about frame drops in longer songs but ive not seen it this bad, its probably because it needs to recalculate the note positions by looping each event every time you add/change an event or scroll through the song, it shouldn't really lag when just playing it though, i could try optimizing some parts but its kinda hard to work around that issue