Window Overlay

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
zerovisual
Prole
Posts: 1
Joined: Mon Oct 13, 2014 5:08 pm

Window Overlay

Post by zerovisual »

I am looking to build a LUA interface that is semi transparent and runs ontop of a currently running game. Can I do this using LOVE? Is it possible to attach to a currently open window and then just print "Hello World" onto it?

Any info would be greatly appreciated.

Vince
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: Window Overlay

Post by Positive07 »

Your best choice would be to edit the game (if it is a .love file then it is easy)

Transparent windows are really hard to code so dont expect them soon in LÖVE

Also if you are trying to do this with a LOVE file then it may be possible to do this when I release Cube
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
khamarr3524
Prole
Posts: 41
Joined: Thu Sep 05, 2013 8:48 pm

Re: Window Overlay

Post by khamarr3524 »

I believe he was asking about attaching Love to a different executable? If this is the case, then I'd suggest you write your own. Injecting data into files is very tricky and sometimes muddy in the "legality" department so I doubt anyone here will help you. Sorry. If you're referring to something else then maybe I just misinterpreted you, and I apologize.
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: Window Overlay

Post by Positive07 »

He just want an overlay, a window on top of a window that shows the window below, so the window needs to be transparent... something imposible for love, but if the window that you need to be on top of is a .love file itself then you can modify the love.draw callback to draw something on top of what was previously drawn.

Cube lets you modify how love behaves so this should be possible (I should stop self advertising)
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 205 guests