GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

Add a condition (and expression) to check if an external layout is being previewed (and which one)

Open 4ian opened this issue 2 years ago • 4 comments

4ian avatar Sep 20 '23 07:09 4ian

It's strange to have preview-related feature in the events and it's won't solve the issue for beginners that don't understand what happens.

What is the point of the external layout feature in the first place? Make it easier to switch between levels to preview? Given how strange it will look for beginner (It looks like a bug), I think we should rather remove the feature (or at least disable it when these new condition or expression are not used).

I guess creators can just disable the event that load the right level and add an event to load the level they are working on. With the selector it's only 2 clicks to choose the level.

D8H avatar Sep 20 '23 08:09 D8H

I guess creators can just disable the event that load the right level and add an event to load the level they are working on.

That's what I don't like. It forces you to edit the events to switch things, it looks like we could do better.

I open a external layout, it looks like a scene and it's often use to build levels: I want to preview this level as soon as I can.

4ian avatar Sep 20 '23 08:09 4ian

What is the point of the external layout feature in the first place?

If you are asking why people use external layouts in their games, for me it helps avoid manually recreating my UI in every scene, and a lot of people also use it to prebuild room layouts for procedural generation of levels.

Silver-Streak avatar Sep 20 '23 11:09 Silver-Streak

What is the point of the external layout feature in the first place?

If you are asking why people use external layouts in their games, for me it helps avoid manually recreating my UI in every scene, and a lot of people also use it to prebuild room layouts for procedural generation of levels.

I phrased it wrongly, I meant "external layout preview feature".

D8H avatar Sep 20 '23 12:09 D8H