Is there a way to keep the love game window on top of other windows regardless of it's focus?
Thanks!
Keep love window on top?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Keep love window on top?
I'm not 100% sure on this but maybe try having a function that checks if the window is visible and if it isn't make it visible.rougan wrote:Is there a way to keep the love game window on top of other windows regardless of it's focus?
Thanks!
Sometime like
Code: Select all
function love.load()
visible = love.window.isVisible()
end
function love.update(dt)
setVisible()
end
function setVisible()
if not visible then
visible = true
end
end
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Keep love window on top?
It won't work; visibility means whether it's minimized to the tray or not.
Also, SDL doesn't give you that functionality either. See this thread.
Also, SDL doesn't give you that functionality either. See this thread.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Keep love window on top?
Ah right, sorry should've done a more thorough search before I posted!
Thanks zorg (and Vimm)
Thanks zorg (and Vimm)
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 2 guests