Editing Base Layer name

As I understand layers in GD are handled internally using ID numbers, right? If so, could you add possibility to edit Base Layer name?

Base Layer internal name is an empty string ( “” ) so its name cannot be changed.

Hm, I have the workaround that wouldn’t need to change game engine code. GDG is XML file, right? So maybe add additional tag baselayer with one parameter name? Then internally it still will be empty string, but visually it would look like you can change this. Structure will be somewhat similar to:

  <baselayer name="blah blah blah" />
1 Like

Hello, since I can’t create another post because this one already exists, I would like this suggestion to be revised again.

It has been 11 years since 2012. So, today, is there no possible way for GDevelop allow to change the name of the Base layer without changing its internal name?

One question to understand the context and/or circumstances of your demand: why do you want to change the name of the Base Layer?

“Base layer” is not a thing; its definition implies that it is a layer that serves the purpose of containing generic objects, which is not a concept in any project. There are no objects that can be classified as generic. Each object belongs to a set that fulfills a certain function among the others.

Take a background as an example, logically you will not place it in Base layer, you will make a specific layer for it underneath everything, as then you will be sure that it will remain behind everything. What about the HUD? You will put it on the interface layer, so you will be sure it will be in front of whatever is on the screen.

About the Base layer, what would you put on it? “Generic things that should be on the same layer”? I would rather to name it with my nomenclature, such as “Game Area,” “Play Area,” or “App.”

This is why I am here now to suggest adding this feature to the IDE. I want to customize my projects and make them more organized.

1 Like

The “base” of something generally refers to it’s foundation. Everything else sits on top of it. So if you make your base layer your background or just your lowest layer in general, it fits it’s definition perfectly. Boom. Problem solved. :slight_smile: