flame icon indicating copy to clipboard operation
flame copied to clipboard

Render priority doesn't seems to be respected

Open rezendegc opened this issue 6 years ago • 3 comments

I have tried to set the priority to first render the HUD and then the world components, but it seems that no matter what the world is always rendered after the HUD. Here's the link for the project: repository.

I don't think that there's a small piece of code to share but i've tried putting the priority as 0 on the world (box2dcomponent), and 100 on the score (lib->components->score), but still the winzone (lib->components->winzone) gets in front of the score...

rezendegc avatar May 01 '20 02:05 rezendegc

I can't spot anything wrong with your code, I wonder if the new Box2DGame could be affecting this, any thoughts on this @spydon ?

erickzanardo avatar May 03 '20 16:05 erickzanardo

I think it is, I'll put up a fix tomorrow.

spydon avatar May 03 '20 21:05 spydon

Fixed on 0.20.1

erickzanardo avatar May 07 '20 13:05 erickzanardo