Z
zendraw
Guest
how do you set a background`s depth? i have a room 16k in height and i set a solid objects depth to room height and it disapears and i suspect it goes behind the background layer.
Through code: layer_depth(layer_id, depth)theres no other way?
Is it exactly +- 16000, or 16384 since internally GM is probably using a signed 16-bit variable for those limits.Game Maker 2's Z-buffer spazzes out at around +-16K, either force the legacy system or put limits in your min/max depth
The manual says don't exceed -16000 or +16000, so I would guess it's exactly.Is it exactly +- 16000, or 16384 since internally GM is probably using a signed 16-bit variable for those limits.
So if his level is 16000 high, there might be room enough for 384 depths behind it
Is it exactly +- 16000, or 16384 since internally GM is probably using a signed 16-bit variable for those limits.
So if his level is 16000 high, there might be room enough for 384 depths behind it
IMPORTANT! There is a minimum and maximum layer depth of -16000 to 16000. Anything placed on a layer outside that range will not be drawn although all events will still run as normal.