D
dna48
Guest
Hello,
I have some objects in the screen and i need to have them with a text tag over them (centered). Those objects are moving around and using draw text slowed everything down so I used surfaces, creating a small surface in top of each object and drawing the text on top of them.
The problem i have is that sometimes those objects go behind others but the text (or the surfaces where the text is written is on top of everything.
Example.
I have ball1 with a surface on top with text ball1 moving around the screen.
I have ball2 with a surface on top with text ball2 moving around the screen.
When both cross, then i get both surfaces and ttheir texts garbled and mixed.
Can i have in some way a depth for the surfaces?
Thanks
EDIT: Not sure if i can attach a GMZ here with an example. Here is a link https://ln.sync.com/dl/a9d56bf10#2mm2e9gx-cr5trkrp-hyj6pwb7-iiy2a7t9
I have some objects in the screen and i need to have them with a text tag over them (centered). Those objects are moving around and using draw text slowed everything down so I used surfaces, creating a small surface in top of each object and drawing the text on top of them.
The problem i have is that sometimes those objects go behind others but the text (or the surfaces where the text is written is on top of everything.
Example.
I have ball1 with a surface on top with text ball1 moving around the screen.
I have ball2 with a surface on top with text ball2 moving around the screen.
When both cross, then i get both surfaces and ttheir texts garbled and mixed.
Can i have in some way a depth for the surfaces?
Thanks
EDIT: Not sure if i can attach a GMZ here with an example. Here is a link https://ln.sync.com/dl/a9d56bf10#2mm2e9gx-cr5trkrp-hyj6pwb7-iiy2a7t9
Last edited by a moderator: