ID:2907420
Jan 9, 10:05 am
|
|||||||
Redundant
| |||||||
Float Layer is currently -1, it should be something like -1000 so you can freely add to it to arrange overlays
|
ah well I guess i'm asking then because its not really intuitive that float layer is -1
|
As explained by Ter13 in the BYONDiscord, you can do:
#undef FLOAT_LAYER To achieve this. |
Admittedly, I think there is some value in this being considered as a change in stddefs.dm.
It would break a ton of existing codebases for a hot second until they redefine FLOAT_LAYER as -1 again. Projects that do micro-float-layering to get around these limitations would be a little upset, but if you ask me, the micro-float layering solution was always just a shitty compromise for the default value of FLOAT_LAYER being -1 in the first place. In terms of ease of use, redefining FLOAT_LAYER to -1000 is just better for new developers just starting with the engine (whatever those are). By the time you get deep enough into DM to know that you can just change this shit all willy nilly, most developers will have already made a huge ass mess with FLOAT_LAYER as -1. --It would also prevent people from unfloating their overlays as regularly and just assuming BYOND is trash straight out of the bag. |
You can arrange overlay drawing order by continuing to lower, or raise, the layer so long as the number is within the negatives, as only in the negatives will the "floating" behavior occur (from my understanding).
The reference on overlays has the following example: