GDAPI icon indicating copy to clipboard operation
GDAPI copied to clipboard

Considerations on changing special object names

Open Rekkonnect opened this issue 4 years ago • 0 comments

Certain objects are identified by their color instead of their functionality. This was an initial consideration because of multiple jump orbs existing (yellow, magenta, red), which could cause confusion, or even incompatibility with newer versions. However, portals have a distinct functionality.

Aside from gamemode portals, whose colors has gotten out of hand already and distinguishing them as identifiers would be troublesome, other portals have been named after their color, and not their gameplay effect. For example, YellowGravityPortal, BlueTeleportationPortal, etc.

The suggested new names are:

Old New
BlueDual ExitDual
YellowDual EnterDual
BlueGravity NormalGravity
YellowGravity InvertedGravity
BlueMirror ExitMirror
YellowMirror EnterMirror
BlueTeleportation EnterTeleportation
YellowTeleportation ExitTeleportation
GreenSize NormalSize
MagentaSize SmallSize

Additionally, speed portals are also weirdly named. To avoid specifying the number of arrows in the object's texture, a relative naming convention was applied, using the words slow, normal, fast, faster and fastest to represent the -1, 1, 2, 3 and 4 arrow portals (-1 means left). For now, there has not been proposed any good solution.

It's likely that pads and orbs will not undergo any naming adjustments, due to the above reason.

Any adjustments to namings will be solution-wide, including enum members. In the best case scenario, enum members will become deprecated and redirect the user to the new ones that will be created according to the new naming convention.

Rekkonnect avatar Oct 12 '21 09:10 Rekkonnect