HJfod / BetterEdit

Makes the Geometry Dash Editor Better
GNU Lesser General Public License v3.0
133 stars 31 forks source link

[Group Abstraction] (A.K.A Group Naming and Calling) #179

Open RueOfficial opened 4 months ago

RueOfficial commented 4 months ago

GitHub Octicons: Beaker Group Abstraction

Name your groups and call them later by name instead of ID


Feature Description

How should it work?

This feature will allow you to create a name for a group, all 9999 groups will start being unnamed and will work as normal, however, by pressing the pencil icon, you can create or change the name of any given group, after its named, you will be able to enter that same name anywhere else to call or modify that group instead of entering its ID number (you can still enter the ID number regardless, creating a name for any group that is already being used wont affect it unless you are using that name elsewhere)

Two groups cannot use the same name, you also cannot name a group a number between 0-9999 unless it has at least a character to prevent conflicting with unnamed groups

What does it look/sound/act like?

Difference between what we currently have vs how it would look like on all triggers that support groups

Difference

Alternative version of the above

Alternative

Here is an example of the above on a move trigger

Example

Here is how the Triggers would look with their group names In Editor:

In Editor

Here is the new "Edit Group" Screen with this new change

Main

Note: Pressing on the Field next to the ID number will allow you to input any Group that is named, entering either a Invalid or unused name will instead default to ID 0

The moment a valid name that is already assigned to group is entered, the ID to the left (or on top) will change to reflect that, the same thing will happen the other way around, when entering a Group ID that is already named on the ID field, the name of this ID will auto-populate.

What is its purpose?

To simplify and make the usage of triggers more accesible, it also makes it easier to manage groups since you no longer have to remember what ID does what, its also very useful for platformer mode and mini-game creation

This feature is optional and while it comes toggled on by default, it can be disabled in the editor settings, turning it off will return the editor back to normal, however naming will stay saved, so if it gets toggled back on, no changes will be lost