Sign in to follow this  
mmertt

[SDL] "Always on Top" Surfaces..

Recommended Posts

mmertt    100
Hi! I can not figure out creating a surface which stays always on top of other surfaces without being affected by their motions or animations. For example, creating a "Skills" or "Stats" window in a rpg game. Even is it possible to create a layer system for all surfaces in order to determine their priority?

Share this post


Link to post
Share on other sites
fastcall22    10838
Yes, it's possible.

Quote:

I can not figure out creating a surface which stays always on top of other surfaces without being affected by their motions or animations.


Can't you change the order in which objects are dawn? I.e., draw the GUI last?

Share this post


Link to post
Share on other sites
mmertt    100
Yes, it instantly worked. My question seemed to be a stupid one. :)

Thanks for help.


Quote:
Original post by _fastcall
Yes, it's possible.

Quote:

I can not figure out creating a surface which stays always on top of other surfaces without being affected by their motions or animations.


Can't you change the order in which objects are dawn? I.e., draw the GUI last?


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this