UNLIMITED Z-Indexes

FEEL THE POWER! As of yesterday we uncapped the z-index limit on all your guis. This took some awesome work on the part of the rendering team to allow this to happen, so kudos to them! Technically this is not unlimited, but you can now set ZIndex from 1 to MAX_INT, although hopefully no one needs that many :slight_smile:

101 Likes

Is there any performance hit to using higher number ZIndexes, like it was mentioned somewhere else with the “old system”?

6 Likes

When will we get decimal point Z-Indexes lol.

1,
3,
4,
5,
5.5,
5.55,
5.55478415574,

Not impressed so far.

9 Likes

i want a 0 zindex

8 Likes

This is gonna be so useful for overlays on my menu screen, thanks for the hard work!

7 Likes

That’s perfect! I can’t think of many things to do with more than a few hundred Z-Indexes.

Does this also apply to ParticleEmitters?

6 Likes

Wait, was the ParticleEmitter.ZIndex ever capped? I remember it being able to be negative, which GUI ZIndicies couldn’t be… right?

2 Likes

Strange, I can’t remember. Well, who cares now! :tada::confetti_ball:

3 Likes

We need Z-Indexes extended into the complex plane.

7 Likes

putting the i in index

15 Likes

This is a great update, thanks! Should make complex GUI design much easier.

afaik, no. Generally I would still aim to keep the number of unique z-indexes down, but impact should be minimal. @zeuxcg may know more.

2 Likes

tyvm rendering team <3 <3 <3

Now my fantasies of MMO-clutter styled UI can come true! Thanks for the update.

6 Likes

Thanks! :smile:

I can only sum up my joy in a terribly edited meme

Jeb.png

19 Likes

Not anymore.

6 Likes

I don’t know what this means, can someone ELI5?

guis used to have a limit to how they get stacked on top of each other.

now there is no limit.

Don’t even get me started on bad memes!

200_s.png

6 Likes