Move with the arrow keys. Try walking near the wall and the other cat. See how the sprites automatically change layers to maintain an illusion of 3D
Proof of concept. I'm glad to have finally figured this out though