arunkumarmunusamy / bitfighter

Automatically exported from code.google.com/p/bitfighter
Other
0 stars 0 forks source link

Search for level names in level editor menu #481

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I am requesting the ability to search for a level name in the level editor 
menu as opposed to searching for a file name. Currently when "Level Editor" is 
clicked on in the main menu, you are prompted to type in the file name of a 
level. Usually this is pretty straightforward because usually the file names 
match the level names. So if you wanted to edit "Geo-war" you might search for 
"geo-war" and find it there.

But many levels often do not match the file name. "Kompressor's Gambit" for 
instance is titled "ctf1" in the file name. To find that level you'd have to 
already know its file name was "ctf1" because typing in "kompressor's gambit" 
in the level editor menu won't yield any results.

Therefore my feature request is to have a "search by level name" in addition to 
the current "search by file name" system. In this search field, typing 
"Kompressor" would bring up "Kompressor's Gambit" whereas "ctf1" would not. I 
think this would make finding levels to edit a lot easier.

Original issue reported on code.google.com by Jomskylark on 15 Nov 2014 at 1:13

GoogleCodeExporter commented 9 years ago
This is a good idea.

I see one problem - to search for level names means we'd have to load the 
levels (or a portion of the levels) when starting the editor.  This would be 
equivalent to when starting HOST GAME and you have to wait for the server to 
scan all the levels.  This would significantly slow down starting up the editor.

Is this an acceptable trade-off?  Or maybe there's another way around it, like 
loading everything when bitfighter itself starts up?  

Original comment by buckyballreaction on 15 Nov 2014 at 7:10

GoogleCodeExporter commented 9 years ago
I think it'd be worth determining just how many levels the average player keeps 
in their level folder. Loading 2900 levels takes a while so the tradeoff 
wouldn't be good for me, but I'm probably an outlier. If most people only have 
a hundred or so levels in their level folder then the loading time would 
probably be much more reasonable.

I would keep the loading isolated to the level editor, so that other parts of 
the game can still be accessed without having to wait for one area of the game 
to load.

Original comment by Jomskylark on 16 Nov 2014 at 11:38