Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Sprites priority

Author
Message
Neomex
14
Years of Service
User Offline
Joined: 30th May 2010
Location:
Posted: 30th May 2010 19:52 Edited at: 30th May 2010 19:58
Hello,
I'm trying to set one of my sprites to be always on top, and it is, althrought if I hide sprites from one scene and show from next one, it shows behind other sprites.

there's effect, which I want to make:


Setting priority:


And I use it, first time when scene loades, and second when I'm exiting scene.

JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 31st May 2010 01:05
Try



That will always paste the sprite in front of everything else... Do it near the bottom of your while(LoopGDK()) block to ensure it's the last thing drawn...

JTK
Neomex
14
Years of Service
User Offline
Joined: 30th May 2010
Location:
Posted: 31st May 2010 17:36
Still doesn't work.
That's how I've change it:

Login to post a reply

Server time is: 2024-07-04 11:00:10
Your offset time is: 2024-07-04 11:00:10