Raiper34 Posted July 28, 2015 Share Posted July 28, 2015 Hi, Can anybody tell me, how to show some sprites always on top? I need it for my ingame menu and fadeEffect. Yes I can use groupd (I have not looked at this yet) but it is a bit complicate to me, I need rewrite lot of code I think... so I tried to simple bringToTop in update function. Yes it seems to work, but i see some sort of blick (flash) effect, because when I show new sprite, it is some miliseconds on top and it is visible for player. Can anybody suggest me best solution for this? Can anybody affect bringToTop? Thanks. Link to comment Share on other sites More sharing options...
Skeptron Posted July 28, 2015 Share Posted July 28, 2015 You can use groups and put everything into a group, precising the z-index. But I think that by default everything is put into the world group, so you could just fix the z-index of the particular sprite you want to put on top of everything. Link to comment Share on other sites More sharing options...
Recommended Posts