Goombert
|
|
Posted on: September 08, 2014, 06:27:20 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Well this was just something I wanted to experiment with today, saw it in the new Studio and really liked the feature so I spent all day coding it and perfecting it to make sure there were no glitches. Functions pretty well and just about the same as Studio and is easily expandable for more capabilities such as regular expressions and case sensitivity. I optimized the searching/filtering as best I could as well so you should expect it to work pretty efficiently. There are a couple of differences to note however. In the ENIGMA version if you have focus on the search filter and hit enter the selected resource is automatically opened in its editor, Studio does absolutely nothing so I just thought this was a nice little addition. I would appreciate it if everyone could test this new feature and give me some feedback or let me know of any errors encountered and whether or not you like the feature. If everyone likes it and it works out well I will send the changes upstream. Edit: Changes stable and sent upstream. This was the commit. https://github.com/IsmAvatar/LateralGM/commit/d7abae97c3aa06be7c6a5fbfa2e3e80e22e5e91dThe LateralGM version has been incremented to 1.8.6 and also includes egofree's room editor improvements. The new LGM can be obtained via the extra packages page or through the python script. http://enigma-dev.org/docs/Wiki/Install:Extra_Packages#LateralGMA new Portable is also available for download. http://enigma-dev.org/docs/Wiki/Install:Windows
|
|
« Last Edit: September 09, 2014, 01:18:24 am by Robert B Colton »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Darkstar2
|
|
Reply #2 Posted on: September 08, 2014, 08:33:01 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
That was quick Thanks, will try it later. But we do have a find resource under resource menu, (ctrl-alt-f) in ENIGMA, doesn't it do much the same ?
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #3 Posted on: September 08, 2014, 11:33:43 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
This one gives much quicker results though and you can visually see them as well as filter the resources as you go so it's more like a file explorer. I personally like this feature much better because the other feature just stops at the first resource it is kind of archaic but I see no reason to remove that feature for the time being.
Also I forgot to mention that in Studio if you filter the tree and try to duplicate one of the resources that Studio will error lol but LGM does not you can duplicate filtered resources but the filter may not immediately update and show the duplicated resource even if it don't match the expression.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #5 Posted on: September 09, 2014, 12:07:03 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Oh no sorlok that is not what I meant. Duplicate ID checking is another issue we need to resolve, but I am talking about right clicking the resources when the filter is active and duplicating one of them in which case they are automatically assigned a new name and they may still be visible even if that name does not apply to the filter unless you change the filter or toggle it on and off real fast. I am wondering if maybe I should make renaming of a node automatically trigger an update to the filter.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #7 Posted on: September 09, 2014, 01:18:49 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
All changes are now upstream! I fixed the last remaining bug and everything is good.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #9 Posted on: September 09, 2014, 10:03:42 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
I'll see what I can do Harri but do not expect it right away.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
|
Goombert
|
|
Reply #12 Posted on: September 09, 2014, 02:19:31 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Well we can look at adding a setting to disable it, but I still think it should be enabled by default Unity3D has one of these and it's very useful I would venture most people would find it useful. But that's merely a matter of preference. So first I would like you to take a look at my new post with the redesign of the settings interfaces first before I go adding new settings. http://enigma-dev.org/forums/index.php?topic=2220.0Second, I also think we could add a "Search in Resource" capability to this search filter. Let me explain, in Windows Explorer if you search for something Windows will search in the actual files and not just the name of the file. This would even save you the time of going to a separate search in scripts interface, though one would still be added for more refined searches. But I am proposing this mainly to Harri.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #14 Posted on: September 09, 2014, 06:54:37 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Ok but let me finish up the current thing I am working on with merging ENIGMA settings. Also egofree I've added a setting for you to disable the filter in the preferences window, when my newest changes go upstream you can update.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|