MichaelSinsbeck / platformer

A ninja platformer written in LÖVE
7 stars 0 forks source link

Windmill drawing order #186

Open michalove opened 10 years ago

michalove commented 10 years ago

The player is drawn AFTER all the other objects. That means he is in front of them. The windmill should be before the player, or it should be behind the wall layer. At the moment it looks wrong. windmill

Which would you prefer: Behind the wall layer or in front of the player?

Germanunkol commented 10 years ago

Hum. Hard to say. Since it's nothing one can interact with, I'd say background, propably. But then we'll need to render it in blue, like we do with the background... Then we'll need to render the objects in two groups. I think it might be worth introducing a layer which is rendered before the walls. We might find use for it later on (example: someone asked for things popping out of the ground, or we could use it for butterflies, fishes etc).

michalove commented 10 years ago

For now, I put the windmill on top of everything.

But just as you mention it, I remember some playtesters who thought, the windmill was interactive.

Still, I will leave it like that for now and we can introduce the new layer, if we come up with use for it.

Germanunkol commented 10 years ago

Same issue here:

screenshot from 2014-08-07 16 04 07

Maybe you could also move this object to the front?

michalove commented 10 years ago

Yes, we should. I am on it.

While we are at drawing order anyway: The "aiming-line" of the player should always be on top. I will do this, too.