From b623e69976258a7433b220ff98e4c7fd6cb7e907 Mon Sep 17 00:00:00 2001 From: Louis Dalibard Date: Sun, 22 Dec 2024 19:22:10 +0100 Subject: [PATCH] trans --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7cf720e..fb954d3 100644 --- a/main.go +++ b/main.go @@ -137,7 +137,7 @@ func main() { screenW, screenH := ebiten.Monitor().Size() ebiten.SetWindowPosition(screenW/2-int(config.Config.WindowWidth)/2, screenH/2-int(config.Config.WindowHeight)/2) ebiten.SetVsyncEnabled(true) - if err := ebiten.RunGame(&Game{}); err != nil { + if err := ebiten.RunGameWithOptions(&Game{}, &ebiten.RunGameOptions{ScreenTransparent: true}); err != nil { log.Fatal(err) } }