–2 votes

If I use ALT + Tab or Minimize the window can I make it immediately pop-up again?
I basically want the window to always be on top and always be full-screen, until a quit request is entered.

asked Jun 12, 2016 in Engine by SupToasty (239 points)

is that OS authority?
it looks like virus to me, if possible.
I made a game runs with fullscreen, and can't be changed another window or minimize it.
what if it can not be quit for some reason, like I forget to handle quitting or game has bug with quitting?

@volzhs it is for my method of anti-piracy, which I ironically stole from the creators of game dev tycoon. I have a sound file of vuvuzelas on loop and an anoying animation on loop as well. The plan is to make fake versions of my own game and distribute them on sharing sites all through the week of its release. Everything is pirated eventually, working on a drm or authentification system would be pointless, so I figured I should have some fun messing with people who intend to steel my work, before people actually put my game on sharing sites.

1 Answer

0 votes

func ready():
windowalwaysontop (true)

script called listentofocus_changes

extends SceneTree
func notification(what):
match what:

answered May 24 by Damyan (18 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.