It may be. I am also thinking about that possibility.I believe the 'depth' concept is the same between objects and layers. The object is at the layers depth when it is on a layer... so it's all one and the same. I'm not 100% sure though.
thanks for URL. I read this page too, but I am confused. Why object (over 16000) is visible...?
Is this a new specification in GMS2?That has to be gms2 because I never heard of such limit
Hello.
Thank you for reply!Hmm it's not in the depth help content. perhaps @Nocturne can help clarify this...
instances are created at a depth layer now... but you can change the depth of the instance according to this
depth
not sure if that changes the layer the instance is at or if that will make a sub sort on the instance layer the instance was created on
I see. I understand that restrictions also apply to objects created on layers. I will devise it within limits.When you change the depth, the instance is assigned to a "managed layer" which is a layer that GMS2 creates on the fly and will create/destroy as required. This IS mentioned on the page about "depth" in the manual, iirc... So, yes, depth will still have the limit of -16000 to 16000. Note that you can use the GPU zbuffer functions to force drawing regardless of the depth of the layer I think.
You should probably put something similar to thatWhen you change the depth, the instance is assigned to a "managed layer" which is a layer that GMS2 creates on the fly and will create/destroy as required. This IS mentioned on the page about "depth" in the manual, iirc... So, yes, depth will still have the limit of -16000 to 16000. Note that you can use the GPU zbuffer functions to force drawing regardless of the depth of the layer I think.