full black screen at depth 99

Spring

Member
While I was trying to implement a way of showing object in order of their y-position, I realized that nothing with a depth greater than 99 was showing.

It was as if some object had a depth of exactly 99 and was drawing a big black rectangle over the whole room.

I used debug message to make every instance print their object_index and their depths, but none of them had depth of 99.

What's happening here?

(Also, a global text search of "depth" and "99" both found no abnormal results)
 

obscene

Member
Possibly you have a layer in the room editor with a depth of 100 that is drawing something that's covering it all up, or some instance at depth 100 drawing something like a surface effect or using something like draw_clear().
 
Top