• Advertisement
Sign in to follow this  

[SDL] "Always on Top" Surfaces..

This topic is 2832 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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
Sign in to follow this  

  • Advertisement