1 decade ago by GP
Hi, i have a little problem. I have a HUD entity and when I drop items I want to put an image at the right place. BUT the image always display behind the HUD.
I put 1000 to the zIndex of the HUD because I want that other entities to be behing the HUD ( ennemies, etc ... ). So i tried to put the zIndex of the entity that draw my image, but it doesn't affect image, it's still behind.
PS : It's an image that i want to display in front of an HUD entity
If you have some ideas to help me, it'll be great and helpful =)
I put 1000 to the zIndex of the HUD because I want that other entities to be behing the HUD ( ennemies, etc ... ). So i tried to put the zIndex of the entity that draw my image, but it doesn't affect image, it's still behind.
PS : It's an image that i want to display in front of an HUD entity
this.image = new ig.Image(@drawPath) this.image.draw(x,y)
If you have some ideas to help me, it'll be great and helpful =)