ID:273369
 
on the variable, "Layer"?

I'm trying out how to best figure out how to handle mobs overlaying correctly on top of each other. Would it just be to calculate a layer which is a value based upon a y location and a y pixel location

ie

layer = y*32 + pixel_y (pixel y = current pixel y location)
Mr.Tophat wrote:
on the variable, "Layer"?

Because of the addition of EFFECTS_LAYER and TOPDOWN_LAYER, and the possible upcoming addition of a layer for backgrounds in isometric mode, you do have some effective limits.

I suggest keeping layers within a 0-1000 limit, but 0-200 is even safer.

You can also use fractional layers like 2.5.

Lummox JR
In response to Lummox JR
Oh really? Fractional layers, awesome thanks!