Build level list when VVVVVV starts?

Started by FIQ, November 18, 2012, 05:21:45 PM

Previous topic - Next topic

FIQ

Hi.
How about, for a final version 2.1 if it is released, build the custom level list when VVVVVV start up and then cache it? Currently it's created each time you press "play level" (or whatever the menu text is) and lags much if you have very many levels. Additionally it doesn't seem as it's cached, as it's always that slow.

I suggest building and storing the level list with name, if level has a save, and the file name in RAM on start-up, and then edit it each time you save a custom level (not rebuild it completely). I don't know how this is done currently, or how the VVVVVV code looks like but I think this would be a pretty simple task for much gain (way more smooth custom level menu).

allison



N


avengah

As long as it is able to tell when a new file is put in there, then yeah. Another problem is if a level is updated - how would the game know, and update the description?

I think checksums will have to be checked. This'll still be quicker than the current method, though.

blue626

You can, until then, remove the levels you don't want anymore form the VVVVVV folder. I don't know if this will affect the saves and stars or not, though.