Not logged inOpenClonk Forum
Up Topic Layers (Planes?)

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther

>>You put them into different layers. Duh.
> Not possible if you follow your list. Only layer 27 is for "the dragon".


There's layer 26 for stuff behind dragons. Stuff includes dragons :-)

>> But I don't buy that we need that fine-grained control. Most objects work fine both before and after similar objects.
> But that fine-grained control for some very special corner cases is exactly the reason behind the request to scrap categories lnked to drawing order.


Well, I'm separating the z-position from miscellaneous stuff like does-grow that shouldn't have been tied with it. The drawing position is just a result from the ingame position. For fine-grained control of special cases there'll be plenty of room between the z-positions used by the standard objects. Apparently that means more room for dragons. That's fine, I like dragons. ;-) The engine will probably only impose two hardcoded z positions: The landscape at 0 and global particles at a yet-to-be determined number between 6 and 2147483646. As I wrote above: We will have to strike a balance between reserving enough layers for unforeseen uses and small, easy-to-remember numbers. Suggestions welcome.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill